From af815558d1e984dbec8dff12faa815cd924bdb0d Mon Sep 17 00:00:00 2001 From: tpart Date: Fri, 13 Sep 2024 21:57:42 +0200 Subject: Add lettuce crate model; Implement tile --- client/map/items/lettuce_crate.gd | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 client/map/items/lettuce_crate.gd (limited to 'client/map/items') diff --git a/client/map/items/lettuce_crate.gd b/client/map/items/lettuce_crate.gd new file mode 100644 index 00000000..a3aead17 --- /dev/null +++ b/client/map/items/lettuce_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 . +# +class_name LettuceCrate +extends Crate + +func _init(rename: String, neighbors: Array): + super(rename, neighbors) + base.add_child(load("res://map/tiles/lettuce_crate.tscn").instantiate()) -- cgit v1.2.3-70-g09d2