diff options
| author | metamuffin <metamuffin@disroot.org> | 2024-06-27 17:21:52 +0200 |
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2024-06-27 17:21:52 +0200 |
| commit | 82408a6d478ed9f7009482c69f1f4d69025c833d (patch) | |
| tree | 2d27c799917c2d44417882fd04cfff37e25cd18b /client/map/items/bread_slice.gd | |
| parent | 4fa692dae19789e5e766c50ac31874653d02971a (diff) | |
| parent | 86eaa98918760ed829f23a70f15604bf751549be (diff) | |
| download | hurrycurry-82408a6d478ed9f7009482c69f1f4d69025c833d.tar hurrycurry-82408a6d478ed9f7009482c69f1f4d69025c833d.tar.bz2 hurrycurry-82408a6d478ed9f7009482c69f1f4d69025c833d.tar.zst | |
Merge branch 'master' of https://codeberg.org/metamuffin/undercooked
Diffstat (limited to 'client/map/items/bread_slice.gd')
| -rw-r--r-- | client/map/items/bread_slice.gd | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/client/map/items/bread_slice.gd b/client/map/items/bread_slice.gd new file mode 100644 index 00000000..0449689a --- /dev/null +++ b/client/map/items/bread_slice.gd @@ -0,0 +1,21 @@ +# Undercooked - a game about cooking +# Copyright 2024 nokoe +# +# 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 BreadSlice +extends Item + +func _init(owned_by_: Node3D): + super(owned_by_) + base.add_child(load("res://map/items/bread_slice.tscn").instantiate()) |