diff options
author | tpart <tpart120@proton.me> | 2025-09-22 22:48:52 +0200 |
---|---|---|
committer | tpart <tpart120@proton.me> | 2025-09-22 22:48:52 +0200 |
commit | aba816f923b8bcd33d53eabd93b01c6e85f4dc75 (patch) | |
tree | fdf59f273bd1b6b9ea35122938dcc6f90a655461 /client/map | |
parent | 299ceb44a8955ba34379097d9d06ec2437f34651 (diff) | |
download | hurrycurry-aba816f923b8bcd33d53eabd93b01c6e85f4dc75.tar hurrycurry-aba816f923b8bcd33d53eabd93b01c6e85f4dc75.tar.bz2 hurrycurry-aba816f923b8bcd33d53eabd93b01c6e85f4dc75.tar.zst |
Add raw noodles (#393)
Diffstat (limited to 'client/map')
-rw-r--r-- | client/map/item_factory.gd | 1 | ||||
-rw-r--r-- | client/map/items/cooked_noodles.res | bin | 28962 -> 28921 bytes | |||
-rw-r--r-- | client/map/items/noodles.gd | 21 | ||||
-rw-r--r-- | client/map/items/noodles.gd.uid | 1 | ||||
-rw-r--r-- | client/map/items/noodles.res | bin | 0 -> 28873 bytes | |||
-rw-r--r-- | client/map/items/noodles.tscn | 10 |
6 files changed, 33 insertions, 0 deletions
diff --git a/client/map/item_factory.gd b/client/map/item_factory.gd index 717b47c4..28b6f1b2 100644 --- a/client/map/item_factory.gd +++ b/client/map/item_factory.gd @@ -43,6 +43,7 @@ static func produce(full_name: String, owned_by: Node3D) -> Item: "fish": return Fish.new(owned_by) "flour": return Flour.new(owned_by) "leek": return Leek.new(owned_by) + "noodles": return Noodles.new(owned_by) "rolled-dough": return RolledDough.new(owned_by) "strawberry-mochi": return Mochi.new(owned_by, Color(.98, .70, .75)) "nigiri": return Nigiri.new(owned_by) diff --git a/client/map/items/cooked_noodles.res b/client/map/items/cooked_noodles.res Binary files differindex 7fc3be3f..f98b4976 100644 --- a/client/map/items/cooked_noodles.res +++ b/client/map/items/cooked_noodles.res diff --git a/client/map/items/noodles.gd b/client/map/items/noodles.gd new file mode 100644 index 00000000..857e1e8d --- /dev/null +++ b/client/map/items/noodles.gd @@ -0,0 +1,21 @@ +# 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 Noodles +extends Item + +func _init(owned_by_: Node3D): + super(owned_by_) + base.add_child(load("res://map/items/noodles.tscn").instantiate()) diff --git a/client/map/items/noodles.gd.uid b/client/map/items/noodles.gd.uid new file mode 100644 index 00000000..6b19cffe --- /dev/null +++ b/client/map/items/noodles.gd.uid @@ -0,0 +1 @@ +uid://ddd46k3c0v63m diff --git a/client/map/items/noodles.res b/client/map/items/noodles.res Binary files differnew file mode 100644 index 00000000..9f8d6347 --- /dev/null +++ b/client/map/items/noodles.res diff --git a/client/map/items/noodles.tscn b/client/map/items/noodles.tscn new file mode 100644 index 00000000..cad0b17b --- /dev/null +++ b/client/map/items/noodles.tscn @@ -0,0 +1,10 @@ +[gd_scene load_steps=2 format=3 uid="uid://cfc4wyxsgtnuy"] + +[ext_resource type="ArrayMesh" uid="uid://c7nmboj44jn7a" path="res://map/items/noodles.res" id="1_7j6yk"] + +[node name="Noodles" type="Node3D"] + +[node name="Mesh" type="MeshInstance3D" parent="."] +transform = Transform3D(0.378, 0, 0, 0, 0.378, 0, 0, 0, 0.378, -0.027, 0, 0.095) +mesh = ExtResource("1_7j6yk") +skeleton = NodePath("") |