aboutsummaryrefslogtreecommitdiff
path: root/client/map/tiles/book.gd
diff options
context:
space:
mode:
authornokoe <nokoe@mailbox.org>2024-07-08 15:54:02 +0200
committernokoe <nokoe@mailbox.org>2024-07-08 15:54:37 +0200
commitf4a5f9bf0b61a8884fe24aa3b7c3a00da815b78d (patch)
tree29af6755be60e9f4e8934347437dfd1a1c982b52 /client/map/tiles/book.gd
parenta1921104e13c9cf39439ee424d54f7cece67fc5b (diff)
downloadhurrycurry-f4a5f9bf0b61a8884fe24aa3b7c3a00da815b78d.tar
hurrycurry-f4a5f9bf0b61a8884fe24aa3b7c3a00da815b78d.tar.bz2
hurrycurry-f4a5f9bf0b61a8884fe24aa3b7c3a00da815b78d.tar.zst
book
Diffstat (limited to 'client/map/tiles/book.gd')
-rw-r--r--client/map/tiles/book.gd25
1 files changed, 25 insertions, 0 deletions
diff --git a/client/map/tiles/book.gd b/client/map/tiles/book.gd
new file mode 100644
index 00000000..11bd6592
--- /dev/null
+++ b/client/map/tiles/book.gd
@@ -0,0 +1,25 @@
+# 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 Book
+extends CounterBase
+
+func _init(rename: String, neighbors: Array):
+ super(rename, neighbors)
+ base.add_child(load("res://map/tiles/book.tscn").instantiate())
+
+func interact():
+ # the book is supposed to be opened here
+ pass