diff options
author | tpart <tpart120@proton.me> | 2024-09-16 14:15:04 +0200 |
---|---|---|
committer | tpart <tpart120@proton.me> | 2024-09-16 14:15:05 +0200 |
commit | e469d27b2351fd6e8bac1989d15aeb523efb3bfe (patch) | |
tree | 17d5c41120ad6e757f6ff29715e907b00963b9d1 /client/map/items | |
parent | 2700a246df66e17c745f03b4a7b809dbb97ac083 (diff) | |
download | hurrycurry-e469d27b2351fd6e8bac1989d15aeb523efb3bfe.tar hurrycurry-e469d27b2351fd6e8bac1989d15aeb523efb3bfe.tar.bz2 hurrycurry-e469d27b2351fd6e8bac1989d15aeb523efb3bfe.tar.zst |
Implement dirt item
Diffstat (limited to 'client/map/items')
-rw-r--r-- | client/map/items/dirt.gd | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/client/map/items/dirt.gd b/client/map/items/dirt.gd new file mode 100644 index 00000000..ddf05b54 --- /dev/null +++ b/client/map/items/dirt.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 Dirt +extends Item + +func _init(owned_by_: Node3D): + super(owned_by_) + base.add_child(load("res://map/items/dirt.tscn").instantiate()) |