aboutsummaryrefslogtreecommitdiff
path: root/client/map/items/sliced_fish.gd
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2024-08-13 00:22:23 +0200
committertpart <tpart120@proton.me>2024-08-13 00:22:25 +0200
commit5d35ff1e5a2b9181beaff4ebe918d7889f807de9 (patch)
tree52da8cf74ebcab631612e0192a41fb22edb6cdd2 /client/map/items/sliced_fish.gd
parenta1548f0c543ff30f2088f0fa8702ac568b138399 (diff)
downloadhurrycurry-5d35ff1e5a2b9181beaff4ebe918d7889f807de9.tar
hurrycurry-5d35ff1e5a2b9181beaff4ebe918d7889f807de9.tar.bz2
hurrycurry-5d35ff1e5a2b9181beaff4ebe918d7889f807de9.tar.zst
Add sliced fish model
Diffstat (limited to 'client/map/items/sliced_fish.gd')
-rw-r--r--client/map/items/sliced_fish.gd21
1 files changed, 21 insertions, 0 deletions
diff --git a/client/map/items/sliced_fish.gd b/client/map/items/sliced_fish.gd
new file mode 100644
index 00000000..41f6d5a4
--- /dev/null
+++ b/client/map/items/sliced_fish.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 SlicedFish
+extends Item
+
+func _init(owned_by_: Node3D):
+ super(owned_by_)
+ base.add_child(load("res://map/items/sliced_fish.tscn").instantiate())