From aba816f923b8bcd33d53eabd93b01c6e85f4dc75 Mon Sep 17 00:00:00 2001 From: tpart Date: Mon, 22 Sep 2025 22:48:52 +0200 Subject: Add raw noodles (#393) --- client/map/items/cooked_noodles.res | Bin 28962 -> 28921 bytes client/map/items/noodles.gd | 21 +++++++++++++++++++++ client/map/items/noodles.gd.uid | 1 + client/map/items/noodles.res | Bin 0 -> 28873 bytes client/map/items/noodles.tscn | 10 ++++++++++ 5 files changed, 32 insertions(+) create mode 100644 client/map/items/noodles.gd create mode 100644 client/map/items/noodles.gd.uid create mode 100644 client/map/items/noodles.res create mode 100644 client/map/items/noodles.tscn (limited to 'client/map/items') diff --git a/client/map/items/cooked_noodles.res b/client/map/items/cooked_noodles.res index 7fc3be3f..f98b4976 100644 Binary files a/client/map/items/cooked_noodles.res and b/client/map/items/cooked_noodles.res differ 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 . +# +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 new file mode 100644 index 00000000..9f8d6347 Binary files /dev/null and b/client/map/items/noodles.res differ 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("") -- cgit v1.2.3-70-g09d2