aboutsummaryrefslogtreecommitdiff
path: root/client/map/items/fish.gd
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-08-12 16:29:07 +0200
committermetamuffin <metamuffin@disroot.org>2024-08-12 16:29:07 +0200
commit9cd864b9ac6dc634d785b3f83e5c1b8df9a86150 (patch)
tree78c6a80f7f876a991d2f106cd2d4cacd804b829e /client/map/items/fish.gd
parent7c0d4d45c60fc02a70123a3b543ab9d617a20b3e (diff)
parent5568d2c43a9f598f3af1bfa2bf3699f503e19e3e (diff)
downloadhurrycurry-9cd864b9ac6dc634d785b3f83e5c1b8df9a86150.tar
hurrycurry-9cd864b9ac6dc634d785b3f83e5c1b8df9a86150.tar.bz2
hurrycurry-9cd864b9ac6dc634d785b3f83e5c1b8df9a86150.tar.zst
Merge branch 'master' of codeberg.org:hurrycurry/hurrycurry
Diffstat (limited to 'client/map/items/fish.gd')
-rw-r--r--client/map/items/fish.gd21
1 files changed, 21 insertions, 0 deletions
diff --git a/client/map/items/fish.gd b/client/map/items/fish.gd
new file mode 100644
index 00000000..7aaf3153
--- /dev/null
+++ b/client/map/items/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 Fish
+extends Item
+
+func _init(owned_by_: Node3D):
+ super(owned_by_)
+ base.add_child(load("res://map/items/fish.tscn").instantiate())