summaryrefslogtreecommitdiff
path: root/client/map/tiles/fish_crate.gd
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2024-08-12 23:27:51 +0200
committertpart <tpart120@proton.me>2024-08-12 23:27:51 +0200
commita6a20bf99f0ecca1505dc977455ff784a7f85c5b (patch)
tree31d10c6b2f1525d87157681abd137b2b8c5f7692 /client/map/tiles/fish_crate.gd
parent3483902113a08f4147b3ae38e56df90ba4aecf94 (diff)
downloadhurrycurry-a6a20bf99f0ecca1505dc977455ff784a7f85c5b.tar
hurrycurry-a6a20bf99f0ecca1505dc977455ff784a7f85c5b.tar.bz2
hurrycurry-a6a20bf99f0ecca1505dc977455ff784a7f85c5b.tar.zst
Add fish crate model
Diffstat (limited to 'client/map/tiles/fish_crate.gd')
-rw-r--r--client/map/tiles/fish_crate.gd21
1 files changed, 21 insertions, 0 deletions
diff --git a/client/map/tiles/fish_crate.gd b/client/map/tiles/fish_crate.gd
new file mode 100644
index 00000000..289bcce3
--- /dev/null
+++ b/client/map/tiles/fish_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 FishCrate
+extends Crate
+
+func _init(rename: String, neighbors: Array):
+ super(rename, neighbors)
+ base.add_child(load("res://map/tiles/fish_crate.tscn").instantiate())