diff options
| author | metamuffin <metamuffin@disroot.org> | 2024-07-08 18:54:22 +0200 |
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2024-07-08 18:54:22 +0200 |
| commit | b0d43c7e78e8cf706b257e3931c3fca126ef3814 (patch) | |
| tree | 573517f5d185e56371af992fd78260c3db67cc21 /client/map/tiles/book.gd | |
| parent | 5e50f6e05b4503be23fd17819ed612db1c45cf04 (diff) | |
| parent | fbf9286b3b4c7791a49d8546204ea5bf28e1b4db (diff) | |
| download | hurrycurry-b0d43c7e78e8cf706b257e3931c3fca126ef3814.tar hurrycurry-b0d43c7e78e8cf706b257e3931c3fca126ef3814.tar.bz2 hurrycurry-b0d43c7e78e8cf706b257e3931c3fca126ef3814.tar.zst | |
Merge branch 'master' of https://codeberg.org/metamuffin/hurrycurry
Diffstat (limited to 'client/map/tiles/book.gd')
| -rw-r--r-- | client/map/tiles/book.gd | 25 |
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 |