diff options
author | nokoe <nokoe@mailbox.org> | 2025-10-06 22:38:42 +0200 |
---|---|---|
committer | nokoe <nokoe@mailbox.org> | 2025-10-06 22:38:42 +0200 |
commit | 094417b7d289ff477670ffed6023dfdb55d73d00 (patch) | |
tree | 648c1232f1fc36148966e570c5317bfcd7dc9d82 /client/map/items/sliced_leek | |
parent | fc4de182fa5c9afca17069f09f362109c0a957a2 (diff) | |
download | hurrycurry-094417b7d289ff477670ffed6023dfdb55d73d00.tar hurrycurry-094417b7d289ff477670ffed6023dfdb55d73d00.tar.bz2 hurrycurry-094417b7d289ff477670ffed6023dfdb55d73d00.tar.zst |
add height property to item, replace static function
Diffstat (limited to 'client/map/items/sliced_leek')
-rw-r--r-- | client/map/items/sliced_leek/sliced_leek.gd | 24 | ||||
-rw-r--r-- | client/map/items/sliced_leek/sliced_leek.gd.uid | 1 |
2 files changed, 0 insertions, 25 deletions
diff --git a/client/map/items/sliced_leek/sliced_leek.gd b/client/map/items/sliced_leek/sliced_leek.gd deleted file mode 100644 index a53ed6ff..00000000 --- a/client/map/items/sliced_leek/sliced_leek.gd +++ /dev/null @@ -1,24 +0,0 @@ -# Hurry Curry! - a game about cooking -# Copyright (C) 2025 Hurry Curry! contributors -# -# 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 SlicedLeek -extends Item - -func _init(owned_by_: Node3D): - super(owned_by_) - base.add_child(load("res://map/items/sliced_leek/sliced_leek.tscn").instantiate()) - -static func height() -> float: - return .05 diff --git a/client/map/items/sliced_leek/sliced_leek.gd.uid b/client/map/items/sliced_leek/sliced_leek.gd.uid deleted file mode 100644 index 3e2a5eb2..00000000 --- a/client/map/items/sliced_leek/sliced_leek.gd.uid +++ /dev/null @@ -1 +0,0 @@ -uid://d7siimt0uu8h |