aboutsummaryrefslogtreecommitdiff
path: root/client/map/items
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2025-10-11 13:36:47 +0200
committertpart <tpart120@proton.me>2025-10-11 13:36:47 +0200
commit491c48131b3afe0a1a0a8aa041e2ebe6c758bce5 (patch)
tree1b7ffbd7ce106cd4d5f596991914826b250dac9f /client/map/items
parente68a9eb5e9e15372313f9017be4a2d58fb690bfc (diff)
downloadhurrycurry-491c48131b3afe0a1a0a8aa041e2ebe6c758bce5.tar
hurrycurry-491c48131b3afe0a1a0a8aa041e2ebe6c758bce5.tar.bz2
hurrycurry-491c48131b3afe0a1a0a8aa041e2ebe6c758bce5.tar.zst
Add donut (#393)
Diffstat (limited to 'client/map/items')
-rw-r--r--client/map/items/basket.gd2
-rw-r--r--client/map/items/donut/donut-dough.resbin0 -> 16165 bytes
-rw-r--r--client/map/items/donut/donut-glaze.resbin0 -> 27882 bytes
-rw-r--r--client/map/items/donut/donut.tscn10
-rw-r--r--client/map/items/donut/glazed-donut.tscn16
5 files changed, 28 insertions, 0 deletions
diff --git a/client/map/items/basket.gd b/client/map/items/basket.gd
index df37b5dd..9137c7bd 100644
--- a/client/map/items/basket.gd
+++ b/client/map/items/basket.gd
@@ -31,6 +31,8 @@ func add_contents(contents: Array[String]):
match i:
"french-fries":
base.add_child(load("res://map/items/french_fries_basket.tscn").instantiate())
+ "dough":
+ base.add_child(load("res://map/items/donut/donut.tscn").instantiate())
_:
super([i])
diff --git a/client/map/items/donut/donut-dough.res b/client/map/items/donut/donut-dough.res
new file mode 100644
index 00000000..329e6c1c
--- /dev/null
+++ b/client/map/items/donut/donut-dough.res
Binary files differ
diff --git a/client/map/items/donut/donut-glaze.res b/client/map/items/donut/donut-glaze.res
new file mode 100644
index 00000000..a8dafc76
--- /dev/null
+++ b/client/map/items/donut/donut-glaze.res
Binary files differ
diff --git a/client/map/items/donut/donut.tscn b/client/map/items/donut/donut.tscn
new file mode 100644
index 00000000..505f13b3
--- /dev/null
+++ b/client/map/items/donut/donut.tscn
@@ -0,0 +1,10 @@
+[gd_scene load_steps=2 format=3 uid="uid://cvnkxd1tslqvf"]
+
+[ext_resource type="ArrayMesh" uid="uid://cy1ifpobr21c0" path="res://map/items/donut/donut-dough.res" id="1_65l5f"]
+
+[node name="Donut" type="Node3D"]
+
+[node name="Dough" type="MeshInstance3D" parent="."]
+transform = Transform3D(0.35, 0, 0, 0, 0.35, 0, 0, 0, 0.35, 0, 0, 0)
+mesh = ExtResource("1_65l5f")
+skeleton = NodePath("")
diff --git a/client/map/items/donut/glazed-donut.tscn b/client/map/items/donut/glazed-donut.tscn
new file mode 100644
index 00000000..7e71d946
--- /dev/null
+++ b/client/map/items/donut/glazed-donut.tscn
@@ -0,0 +1,16 @@
+[gd_scene load_steps=3 format=3 uid="uid://dglrxvp3126g4"]
+
+[ext_resource type="ArrayMesh" uid="uid://cy1ifpobr21c0" path="res://map/items/donut/donut-dough.res" id="1_1ef7l"]
+[ext_resource type="ArrayMesh" uid="uid://dauwp2akjkafa" path="res://map/items/donut/donut-glaze.res" id="2_1jama"]
+
+[node name="Donut" type="Node3D"]
+
+[node name="Dough" type="MeshInstance3D" parent="."]
+transform = Transform3D(0.35, 0, 0, 0, 0.35, 0, 0, 0, 0.35, 0, 0, 0)
+mesh = ExtResource("1_1ef7l")
+skeleton = NodePath("")
+
+[node name="Glaze" type="MeshInstance3D" parent="."]
+transform = Transform3D(0.35, 0, 0, 0, 0.35, 0, 0, 0, 0.35, 0, 0, 0)
+mesh = ExtResource("2_1jama")
+skeleton = NodePath("")