1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
# Hurry Curry! - a game about cooking
# Copyright 2024 metamuffin
# Copyright 2024 nokoe
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, version 3 of the License only.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
class_name FoodProcessorItems
class MilkF extends FoodProcessorContent:
func _init(owned_by_: Node3D):
super(owned_by_)
set_color(Color8(250, 250, 250))
class RiceFlourF extends FoodProcessorContent:
func _init(owned_by_: Node3D):
super(owned_by_)
set_color(Color(1.,1.,.8))
class RiceF extends FoodProcessor:
func _init(owned_by_: Node3D):
super(owned_by_)
processing.color = Color(1.,1.,.8)
base.add_child(load("res://map/items/rice.tscn").instantiate())
class FlourF extends FoodProcessor:
func _init(owned_by_: Node3D):
super(owned_by_)
processing.color = Color(.9, .9, .9)
base.add_child(load("res://map/items/flour.tscn").instantiate())
class DoughF extends FoodProcessorContent:
func _init(owned_by_: Node3D):
super(owned_by_)
set_color(Color8(200, 180, 160))
class CoconutF extends FoodProcessor:
func _init(owned_by_: Node3D):
super(owned_by_)
processing.color = Color(.8, .5, .4)
base.add_child(load("res://map/items/coconut.tscn").instantiate())
class StrawberryF extends FoodProcessor:
func _init(owned_by_: Node3D):
super(owned_by_)
processing.color = Color(.9, .0, .0)
base.add_child(load("res://map/items/strawberry.tscn").instantiate())
class StrawberryPureeF extends FoodProcessorContent:
func _init(owned_by_: Node3D):
super(owned_by_)
set_color(Color8(200, 80, 80))
class TomatoF extends FoodProcessor:
func _init(owned_by_: Node3D):
super(owned_by_)
processing.color = Color(1.,0.,0.)
base.add_child(load("res://map/items/tomato.tscn").instantiate())
class TomatoJuiceF extends FoodProcessorContent:
func _init(owned_by_: Node3D):
super(owned_by_)
set_color(Color(1.,0.,0.))
|