aboutsummaryrefslogtreecommitdiff
path: root/client/map/items
diff options
context:
space:
mode:
Diffstat (limited to 'client/map/items')
-rw-r--r--client/map/items/coconut.gd21
-rw-r--r--client/map/items/coconut.resbin0 -> 4211 bytes
-rw-r--r--client/map/items/coconut.tscn10
-rw-r--r--client/map/items/coconut_food_processor.gd22
-rw-r--r--client/map/items/ice_cream.resbin0 -> 4027 bytes
-rw-r--r--client/map/items/ice_cream.tscn11
-rw-r--r--client/map/items/nigiri.gd21
-rw-r--r--client/map/items/nigiri.resbin0 -> 23842 bytes
-rw-r--r--client/map/items/nigiri.tscn10
-rw-r--r--client/map/items/nigiri_plate.gd21
10 files changed, 116 insertions, 0 deletions
diff --git a/client/map/items/coconut.gd b/client/map/items/coconut.gd
new file mode 100644
index 00000000..ccc6dccc
--- /dev/null
+++ b/client/map/items/coconut.gd
@@ -0,0 +1,21 @@
+# Hurry Curry! - a game about cooking
+# 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 Coconut
+extends Item
+
+func _init(owned_by_: Node3D):
+ super(owned_by_)
+ base.add_child(load("res://map/items/coconut.tscn").instantiate())
diff --git a/client/map/items/coconut.res b/client/map/items/coconut.res
new file mode 100644
index 00000000..63778607
--- /dev/null
+++ b/client/map/items/coconut.res
Binary files differ
diff --git a/client/map/items/coconut.tscn b/client/map/items/coconut.tscn
new file mode 100644
index 00000000..679bf9b5
--- /dev/null
+++ b/client/map/items/coconut.tscn
@@ -0,0 +1,10 @@
+[gd_scene load_steps=2 format=3 uid="uid://cmsirxgv7iqnk"]
+
+[ext_resource type="ArrayMesh" uid="uid://djenv8k2nnqyt" path="res://map/items/coconut.res" id="1_c4upd"]
+
+[node name="Coconut" type="Node3D"]
+
+[node name="Mesh" type="MeshInstance3D" parent="."]
+transform = Transform3D(0.2, 0, 0, 0, 0.2, 0, 0, 0, 0.2, 0, 0.2, 0)
+mesh = ExtResource("1_c4upd")
+skeleton = NodePath("")
diff --git a/client/map/items/coconut_food_processor.gd b/client/map/items/coconut_food_processor.gd
new file mode 100644
index 00000000..c21ebabf
--- /dev/null
+++ b/client/map/items/coconut_food_processor.gd
@@ -0,0 +1,22 @@
+# Hurry Curry! - a game about cooking
+# 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 CoconutFoodProcessor
+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())
diff --git a/client/map/items/ice_cream.res b/client/map/items/ice_cream.res
new file mode 100644
index 00000000..1ca0ac23
--- /dev/null
+++ b/client/map/items/ice_cream.res
Binary files differ
diff --git a/client/map/items/ice_cream.tscn b/client/map/items/ice_cream.tscn
new file mode 100644
index 00000000..914c9dc3
--- /dev/null
+++ b/client/map/items/ice_cream.tscn
@@ -0,0 +1,11 @@
+[gd_scene load_steps=3 format=3 uid="uid://c7peyvvr7rgko"]
+
+[ext_resource type="ArrayMesh" uid="uid://cw642aajyk8vt" path="res://map/items/ice_cream.res" id="1_pw8bb"]
+
+[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_u4hdr"]
+resource_local_to_scene = true
+
+[node name="IceCream" type="MeshInstance3D"]
+mesh = ExtResource("1_pw8bb")
+skeleton = NodePath("")
+surface_material_override/0 = SubResource("StandardMaterial3D_u4hdr")
diff --git a/client/map/items/nigiri.gd b/client/map/items/nigiri.gd
new file mode 100644
index 00000000..b31a9603
--- /dev/null
+++ b/client/map/items/nigiri.gd
@@ -0,0 +1,21 @@
+# Hurry Curry! - a game about cooking
+# 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 Nigiri
+extends Item
+
+func _init(owned_by_: Node3D):
+ super(owned_by_)
+ base.add_child(load("res://map/items/nigiri.tscn").instantiate())
diff --git a/client/map/items/nigiri.res b/client/map/items/nigiri.res
new file mode 100644
index 00000000..ffe47e3e
--- /dev/null
+++ b/client/map/items/nigiri.res
Binary files differ
diff --git a/client/map/items/nigiri.tscn b/client/map/items/nigiri.tscn
new file mode 100644
index 00000000..0a616eed
--- /dev/null
+++ b/client/map/items/nigiri.tscn
@@ -0,0 +1,10 @@
+[gd_scene load_steps=2 format=3 uid="uid://d34n41tk304ey"]
+
+[ext_resource type="ArrayMesh" uid="uid://g2ko273otndc" path="res://map/items/nigiri.res" id="1_my3m1"]
+
+[node name="Nigiri" type="Node3D"]
+
+[node name="Mesh" type="MeshInstance3D" parent="."]
+transform = Transform3D(0.144, 0, 0, 0, -2.27299e-09, -0.073, 0, 0.052, -3.19093e-09, 0, 0.1, 0)
+mesh = ExtResource("1_my3m1")
+skeleton = NodePath("")
diff --git a/client/map/items/nigiri_plate.gd b/client/map/items/nigiri_plate.gd
new file mode 100644
index 00000000..210803d3
--- /dev/null
+++ b/client/map/items/nigiri_plate.gd
@@ -0,0 +1,21 @@
+# Hurry Curry! - a game about cooking
+# 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 NigiriPlate
+extends Plate
+
+func _init(owned_by_: Node3D):
+ super(owned_by_)
+ base.add_child(load("res://map/items/nigiri.tscn").instantiate())