diff options
author | tpart <tpart120@proton.me> | 2024-09-13 19:28:59 +0200 |
---|---|---|
committer | tpart <tpart120@proton.me> | 2024-09-13 19:29:04 +0200 |
commit | 1fcef10fe48679f9002d8b96b089b5e74a289152 (patch) | |
tree | 117d0cb78b5c17a8a9a841cd34d33254585d537d /client/map/items/patty.gd | |
parent | 1a3603848aede0e0633ad36a200d886db99a0a4e (diff) | |
download | hurrycurry-1fcef10fe48679f9002d8b96b089b5e74a289152.tar hurrycurry-1fcef10fe48679f9002d8b96b089b5e74a289152.tar.bz2 hurrycurry-1fcef10fe48679f9002d8b96b089b5e74a289152.tar.zst |
Add patty and seared patty models; Implement items
Diffstat (limited to 'client/map/items/patty.gd')
-rw-r--r-- | client/map/items/patty.gd | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/client/map/items/patty.gd b/client/map/items/patty.gd new file mode 100644 index 00000000..23d9879f --- /dev/null +++ b/client/map/items/patty.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 <https://www.gnu.org/licenses/>. +# +class_name Patty +extends Item + +func _init(owned_by_: Node3D): + super(owned_by_) + base.add_child(load("res://map/items/patty.tscn").instantiate()) |