diff options
author | tpart <tpart120@proton.me> | 2024-09-13 21:37:44 +0200 |
---|---|---|
committer | tpart <tpart120@proton.me> | 2024-09-13 21:37:44 +0200 |
commit | 389ab241b8e83bd591419eccc608ee3fb545e4a0 (patch) | |
tree | 34a1ff8fef0201b22448bf28e55200741bd5251b /client/map/items/lettuce.gd | |
parent | 12b181dadf5b0f58fbcf3c4c13b739259c5e6317 (diff) | |
download | hurrycurry-389ab241b8e83bd591419eccc608ee3fb545e4a0.tar hurrycurry-389ab241b8e83bd591419eccc608ee3fb545e4a0.tar.bz2 hurrycurry-389ab241b8e83bd591419eccc608ee3fb545e4a0.tar.zst |
Add lettuce and sliced lettuce models; Implement items
Diffstat (limited to 'client/map/items/lettuce.gd')
-rw-r--r-- | client/map/items/lettuce.gd | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/client/map/items/lettuce.gd b/client/map/items/lettuce.gd new file mode 100644 index 00000000..fef657dc --- /dev/null +++ b/client/map/items/lettuce.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 Lettuce +extends Item + +func _init(owned_by_: Node3D): + super(owned_by_) + base.add_child(load("res://map/items/lettuce.tscn").instantiate()) |