aboutsummaryrefslogtreecommitdiff
path: root/client/map/items/lettuce_crate.gd
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2024-09-13 21:57:42 +0200
committertpart <tpart120@proton.me>2024-09-13 21:57:42 +0200
commitaf815558d1e984dbec8dff12faa815cd924bdb0d (patch)
tree55a6d2262d718c8da31f5c02e72283557e1f1f9d /client/map/items/lettuce_crate.gd
parentee1f0e2caa14c2e90f01b2d564208c5cd6b93457 (diff)
downloadhurrycurry-af815558d1e984dbec8dff12faa815cd924bdb0d.tar
hurrycurry-af815558d1e984dbec8dff12faa815cd924bdb0d.tar.bz2
hurrycurry-af815558d1e984dbec8dff12faa815cd924bdb0d.tar.zst
Add lettuce crate model; Implement tile
Diffstat (limited to 'client/map/items/lettuce_crate.gd')
-rw-r--r--client/map/items/lettuce_crate.gd21
1 files changed, 21 insertions, 0 deletions
diff --git a/client/map/items/lettuce_crate.gd b/client/map/items/lettuce_crate.gd
new file mode 100644
index 00000000..a3aead17
--- /dev/null
+++ b/client/map/items/lettuce_crate.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 LettuceCrate
+extends Crate
+
+func _init(rename: String, neighbors: Array):
+ super(rename, neighbors)
+ base.add_child(load("res://map/tiles/lettuce_crate.tscn").instantiate())