aboutsummaryrefslogtreecommitdiff
path: root/client/map
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2025-09-25 15:24:18 +0200
committertpart <tpart120@proton.me>2025-09-25 15:24:22 +0200
commit6f5565c49d355b6587102c89b8e5e8547c9956b7 (patch)
tree183a34035d82b95d5089a6616e169ec0a66e6854 /client/map
parented52a0750e168c26f69b72378d92a72b7e04031e (diff)
downloadhurrycurry-6f5565c49d355b6587102c89b8e5e8547c9956b7.tar
hurrycurry-6f5565c49d355b6587102c89b8e5e8547c9956b7.tar.bz2
hurrycurry-6f5565c49d355b6587102c89b8e5e8547c9956b7.tar.zst
Add sliced leek (#393)
Diffstat (limited to 'client/map')
-rw-r--r--client/map/item_factory.gd1
-rw-r--r--client/map/items/sliced_leek/sliced_leek.gd24
-rw-r--r--client/map/items/sliced_leek/sliced_leek.gd.uid1
-rw-r--r--client/map/items/sliced_leek/sliced_leek.tscn37
-rw-r--r--client/map/items/sliced_leek/sliced_leek_1.resbin0 -> 3739 bytes
-rw-r--r--client/map/items/sliced_leek/sliced_leek_2.resbin0 -> 3513 bytes
-rw-r--r--client/map/items/sliced_leek/sliced_leek_3.resbin0 -> 4136 bytes
-rw-r--r--client/map/items/sliced_leek/sliced_leek_4.resbin0 -> 3397 bytes
-rw-r--r--client/map/items/sliced_leek/sliced_leek_5.resbin0 -> 3411 bytes
-rw-r--r--client/map/items/sliced_leek/sliced_leek_6.resbin0 -> 3479 bytes
10 files changed, 63 insertions, 0 deletions
diff --git a/client/map/item_factory.gd b/client/map/item_factory.gd
index 28b6f1b2..fa2ae05d 100644
--- a/client/map/item_factory.gd
+++ b/client/map/item_factory.gd
@@ -43,6 +43,7 @@ static func produce(full_name: String, owned_by: Node3D) -> Item:
"fish": return Fish.new(owned_by)
"flour": return Flour.new(owned_by)
"leek": return Leek.new(owned_by)
+ "sliced-leek": return SlicedLeek.new(owned_by)
"noodles": return Noodles.new(owned_by)
"rolled-dough": return RolledDough.new(owned_by)
"strawberry-mochi": return Mochi.new(owned_by, Color(.98, .70, .75))
diff --git a/client/map/items/sliced_leek/sliced_leek.gd b/client/map/items/sliced_leek/sliced_leek.gd
new file mode 100644
index 00000000..a53ed6ff
--- /dev/null
+++ b/client/map/items/sliced_leek/sliced_leek.gd
@@ -0,0 +1,24 @@
+# Hurry Curry! - a game about cooking
+# Copyright (C) 2025 Hurry Curry! contributors
+#
+# 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 SlicedLeek
+extends Item
+
+func _init(owned_by_: Node3D):
+ super(owned_by_)
+ base.add_child(load("res://map/items/sliced_leek/sliced_leek.tscn").instantiate())
+
+static func height() -> float:
+ return .05
diff --git a/client/map/items/sliced_leek/sliced_leek.gd.uid b/client/map/items/sliced_leek/sliced_leek.gd.uid
new file mode 100644
index 00000000..3e2a5eb2
--- /dev/null
+++ b/client/map/items/sliced_leek/sliced_leek.gd.uid
@@ -0,0 +1 @@
+uid://d7siimt0uu8h
diff --git a/client/map/items/sliced_leek/sliced_leek.tscn b/client/map/items/sliced_leek/sliced_leek.tscn
new file mode 100644
index 00000000..701f4844
--- /dev/null
+++ b/client/map/items/sliced_leek/sliced_leek.tscn
@@ -0,0 +1,37 @@
+[gd_scene load_steps=6 format=3 uid="uid://dght3ftij5nx6"]
+
+[ext_resource type="ArrayMesh" uid="uid://bjb2vxii3mkny" path="res://map/items/sliced_leek/sliced_leek_1.res" id="1_ub7pe"]
+[ext_resource type="ArrayMesh" uid="uid://bthgt3jvyaet5" path="res://map/items/sliced_leek/sliced_leek_2.res" id="2_krib3"]
+[ext_resource type="ArrayMesh" uid="uid://dt2wy6k2rhly4" path="res://map/items/sliced_leek/sliced_leek_3.res" id="3_eq1cv"]
+[ext_resource type="ArrayMesh" uid="uid://deqd1uok1ahtn" path="res://map/items/sliced_leek/sliced_leek_4.res" id="4_eia2k"]
+[ext_resource type="ArrayMesh" uid="uid://cl36j3pufjfil" path="res://map/items/sliced_leek/sliced_leek_5.res" id="5_26kjl"]
+
+[node name="SlicedLeek" type="Node3D"]
+
+[node name="Node3D" type="Node3D" parent="."]
+transform = Transform3D(-7.649493e-08, 0, 1.75, 0, 1.75, 0, -1.75, 0, -7.649493e-08, 0, 0, 0)
+
+[node name="leek_001" type="MeshInstance3D" parent="Node3D"]
+transform = Transform3D(1, 0, 0, 0, 0.591008, 0.61566144, 0, -0.4617461, 0.7880107, 0, 0.03454741, 0.09892485)
+mesh = ExtResource("1_ub7pe")
+skeleton = NodePath("")
+
+[node name="leek_002" type="MeshInstance3D" parent="Node3D"]
+transform = Transform3D(1, 0, 0, 0, 0.591008, 0.61566144, 0, -0.4617461, 0.7880107, -2.0835932e-06, 0.03454531, 0.04651942)
+mesh = ExtResource("2_krib3")
+skeleton = NodePath("")
+
+[node name="leek_003" type="MeshInstance3D" parent="Node3D"]
+transform = Transform3D(1, 0, 0, 0, 0.591008, 0.61566144, 0, -0.4617461, 0.7880107, -2.0874368e-06, 0.034545287, -0.004093088)
+mesh = ExtResource("3_eq1cv")
+skeleton = NodePath("")
+
+[node name="leek_004" type="MeshInstance3D" parent="Node3D"]
+transform = Transform3D(1, 0, 0, 0, 0.591008, 0.61566144, 0, -0.4617461, 0.7880107, -2.085316e-06, 0.03454527, -0.05421468)
+mesh = ExtResource("4_eia2k")
+skeleton = NodePath("")
+
+[node name="leek_005" type="MeshInstance3D" parent="Node3D"]
+transform = Transform3D(1, 0, 0, 0, 0.591008, 0.61566144, 0, -0.4617461, 0.7880107, -2.0847467e-06, 0.034545254, -0.10421119)
+mesh = ExtResource("5_26kjl")
+skeleton = NodePath("")
diff --git a/client/map/items/sliced_leek/sliced_leek_1.res b/client/map/items/sliced_leek/sliced_leek_1.res
new file mode 100644
index 00000000..9a786370
--- /dev/null
+++ b/client/map/items/sliced_leek/sliced_leek_1.res
Binary files differ
diff --git a/client/map/items/sliced_leek/sliced_leek_2.res b/client/map/items/sliced_leek/sliced_leek_2.res
new file mode 100644
index 00000000..3234cd54
--- /dev/null
+++ b/client/map/items/sliced_leek/sliced_leek_2.res
Binary files differ
diff --git a/client/map/items/sliced_leek/sliced_leek_3.res b/client/map/items/sliced_leek/sliced_leek_3.res
new file mode 100644
index 00000000..2165204a
--- /dev/null
+++ b/client/map/items/sliced_leek/sliced_leek_3.res
Binary files differ
diff --git a/client/map/items/sliced_leek/sliced_leek_4.res b/client/map/items/sliced_leek/sliced_leek_4.res
new file mode 100644
index 00000000..05d54114
--- /dev/null
+++ b/client/map/items/sliced_leek/sliced_leek_4.res
Binary files differ
diff --git a/client/map/items/sliced_leek/sliced_leek_5.res b/client/map/items/sliced_leek/sliced_leek_5.res
new file mode 100644
index 00000000..90f4d4b2
--- /dev/null
+++ b/client/map/items/sliced_leek/sliced_leek_5.res
Binary files differ
diff --git a/client/map/items/sliced_leek/sliced_leek_6.res b/client/map/items/sliced_leek/sliced_leek_6.res
new file mode 100644
index 00000000..db0baeda
--- /dev/null
+++ b/client/map/items/sliced_leek/sliced_leek_6.res
Binary files differ