aboutsummaryrefslogtreecommitdiff
path: root/client/map/tiles
diff options
context:
space:
mode:
Diffstat (limited to 'client/map/tiles')
-rw-r--r--client/map/tiles/steak_crate.gd21
-rw-r--r--client/map/tiles/steak_crate.resbin0 -> 50290 bytes
-rw-r--r--client/map/tiles/steak_crate.tscn10
3 files changed, 31 insertions, 0 deletions
diff --git a/client/map/tiles/steak_crate.gd b/client/map/tiles/steak_crate.gd
new file mode 100644
index 00000000..71062b39
--- /dev/null
+++ b/client/map/tiles/steak_crate.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 SteakCrate
+extends Crate
+
+func _init(rename: String, neighbors: Array):
+ super(rename, neighbors)
+ base.add_child(load("res://map/tiles/raw_steak_crate.tscn").instantiate())
diff --git a/client/map/tiles/steak_crate.res b/client/map/tiles/steak_crate.res
new file mode 100644
index 00000000..afb91ff5
--- /dev/null
+++ b/client/map/tiles/steak_crate.res
Binary files differ
diff --git a/client/map/tiles/steak_crate.tscn b/client/map/tiles/steak_crate.tscn
new file mode 100644
index 00000000..e37d2773
--- /dev/null
+++ b/client/map/tiles/steak_crate.tscn
@@ -0,0 +1,10 @@
+[gd_scene load_steps=2 format=3 uid="uid://cyi73ubyehy37"]
+
+[ext_resource type="ArrayMesh" uid="uid://bdsqnesyjl3kv" path="res://map/tiles/steak_crate.res" id="1_ujg4h"]
+
+[node name="SteakCrate" 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_ujg4h")
+skeleton = NodePath("")