aboutsummaryrefslogtreecommitdiff
path: root/client/map/items
diff options
context:
space:
mode:
Diffstat (limited to 'client/map/items')
-rw-r--r--client/map/items/cheese.gd21
-rw-r--r--client/map/items/cheese.resbin0 -> 10028 bytes
-rw-r--r--client/map/items/cheese.tscn10
-rw-r--r--client/map/items/sliced_cheese.gd21
-rw-r--r--client/map/items/sliced_cheese.resbin0 -> 3862 bytes
-rw-r--r--client/map/items/sliced_cheese.tscn10
6 files changed, 62 insertions, 0 deletions
diff --git a/client/map/items/cheese.gd b/client/map/items/cheese.gd
new file mode 100644
index 00000000..b3d1bc89
--- /dev/null
+++ b/client/map/items/cheese.gd
@@ -0,0 +1,21 @@
+# Hurry Curry! - a game about cooking
+# Copyright 2024 tpart
+#
+# 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 Cheese
+extends Item
+
+func _init(owned_by_: Node3D):
+ super(owned_by_)
+ base.add_child(load("res://map/items/cheese.tscn").instantiate())
diff --git a/client/map/items/cheese.res b/client/map/items/cheese.res
new file mode 100644
index 00000000..6f868980
--- /dev/null
+++ b/client/map/items/cheese.res
Binary files differ
diff --git a/client/map/items/cheese.tscn b/client/map/items/cheese.tscn
new file mode 100644
index 00000000..515262c8
--- /dev/null
+++ b/client/map/items/cheese.tscn
@@ -0,0 +1,10 @@
+[gd_scene load_steps=2 format=3 uid="uid://0lbjf2sie4rk"]
+
+[ext_resource type="ArrayMesh" uid="uid://cshqtme8isvmw" path="res://map/items/cheese.res" id="1_p24nf"]
+
+[node name="Cheese" type="Node3D"]
+
+[node name="Mesh" type="MeshInstance3D" parent="."]
+transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0)
+mesh = ExtResource("1_p24nf")
+skeleton = NodePath("")
diff --git a/client/map/items/sliced_cheese.gd b/client/map/items/sliced_cheese.gd
new file mode 100644
index 00000000..26673bad
--- /dev/null
+++ b/client/map/items/sliced_cheese.gd
@@ -0,0 +1,21 @@
+# Hurry Curry! - a game about cooking
+# Copyright 2024 tpart
+#
+# 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 SlicedCheese
+extends Item
+
+func _init(owned_by_: Node3D):
+ super(owned_by_)
+ base.add_child(load("res://map/items/sliced_cheese.tscn").instantiate())
diff --git a/client/map/items/sliced_cheese.res b/client/map/items/sliced_cheese.res
new file mode 100644
index 00000000..ece9c0e0
--- /dev/null
+++ b/client/map/items/sliced_cheese.res
Binary files differ
diff --git a/client/map/items/sliced_cheese.tscn b/client/map/items/sliced_cheese.tscn
new file mode 100644
index 00000000..4e9ba406
--- /dev/null
+++ b/client/map/items/sliced_cheese.tscn
@@ -0,0 +1,10 @@
+[gd_scene load_steps=2 format=3 uid="uid://cfdfhxgo4ot7m"]
+
+[ext_resource type="ArrayMesh" uid="uid://2qsg2dadmf1y" path="res://map/items/sliced_cheese.res" id="1_bbycg"]
+
+[node name="SlicedCheese" type="Node3D"]
+
+[node name="Mesh" type="MeshInstance3D" parent="."]
+transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0.04, 0)
+mesh = ExtResource("1_bbycg")
+skeleton = NodePath("")