From 5e9a01bafc07dffa89fb5b02d24e27d883f02b3f Mon Sep 17 00:00:00 2001 From: tpart Date: Mon, 13 Oct 2025 22:30:03 +0200 Subject: Rename to noodles crate --- client/map/tile_factory.gd | 2 +- client/map/tiles/noodle_crate.gd | 21 --------------------- client/map/tiles/noodle_crate.gd.uid | 1 - client/map/tiles/noodle_crate.tscn | 31 ------------------------------- client/map/tiles/noodles_crate.gd | 21 +++++++++++++++++++++ client/map/tiles/noodles_crate.gd.uid | 1 + client/map/tiles/noodles_crate.tscn | 31 +++++++++++++++++++++++++++++++ 7 files changed, 54 insertions(+), 54 deletions(-) delete mode 100644 client/map/tiles/noodle_crate.gd delete mode 100644 client/map/tiles/noodle_crate.gd.uid delete mode 100644 client/map/tiles/noodle_crate.tscn create mode 100644 client/map/tiles/noodles_crate.gd create mode 100644 client/map/tiles/noodles_crate.gd.uid create mode 100644 client/map/tiles/noodles_crate.tscn (limited to 'client/map') diff --git a/client/map/tile_factory.gd b/client/map/tile_factory.gd index 2a981944..08d71333 100644 --- a/client/map/tile_factory.gd +++ b/client/map/tile_factory.gd @@ -94,7 +94,7 @@ func produce(raw_name: String, position: Vector2i, neighbors: Array) -> Tile: "leek-crate": return LeekCrate.new(ctx) "lettuce-crate": return LettuceCrate.new(ctx) "mushroom-crate": return MushroomCrate.new(ctx) - "noodle-crate": return NoodleCrate.new(ctx) + "noodles-crate": return NoodlesCrate.new(ctx) "steak-crate": return SteakCrate.new(ctx) "rice-crate": return RiceCrate.new(ctx) "strawberry-crate": return StrawberryCrate.new(ctx) diff --git a/client/map/tiles/noodle_crate.gd b/client/map/tiles/noodle_crate.gd deleted file mode 100644 index 8e1fab7b..00000000 --- a/client/map/tiles/noodle_crate.gd +++ /dev/null @@ -1,21 +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 . -# -class_name NoodleCrate -extends Crate - -func _init(ctx: TileFactory.TileCC): - super(ctx) - base.add_child(load("res://map/tiles/noodle_crate.tscn").instantiate()) diff --git a/client/map/tiles/noodle_crate.gd.uid b/client/map/tiles/noodle_crate.gd.uid deleted file mode 100644 index 8c4c0454..00000000 --- a/client/map/tiles/noodle_crate.gd.uid +++ /dev/null @@ -1 +0,0 @@ -uid://c11foa16l6hj6 diff --git a/client/map/tiles/noodle_crate.tscn b/client/map/tiles/noodle_crate.tscn deleted file mode 100644 index f4765018..00000000 --- a/client/map/tiles/noodle_crate.tscn +++ /dev/null @@ -1,31 +0,0 @@ -[gd_scene load_steps=3 format=3 uid="uid://b0jyx2gu6fcx7"] - -[ext_resource type="ArrayMesh" uid="uid://btn7oh1v2k40p" path="res://map/tiles/crate.res" id="1_fb56n"] -[ext_resource type="ArrayMesh" uid="uid://c7nmboj44jn7a" path="res://map/items/noodles.res" id="2_pkjkx"] - -[node name="Crate" type="Node3D"] - -[node name="Mesh" type="MeshInstance3D" parent="."] -transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0) -mesh = ExtResource("1_fb56n") -skeleton = NodePath("") - -[node name="Noodles" type="MeshInstance3D" parent="."] -transform = Transform3D(0.49983656, 0.012705037, 0.0014109544, -0.012783143, 0.4967825, 0.05517004, 0, -0.05518808, 0.49694493, -0.02444148, 0.3581394, 0.099653274) -mesh = ExtResource("2_pkjkx") - -[node name="Noodles2" type="MeshInstance3D" parent="."] -transform = Transform3D(0.36541817, 0, 0.16269466, 0, 0.4, 0, -0.16269466, 0, 0.36541817, -0.151, 0.239, 0.265) -mesh = ExtResource("2_pkjkx") - -[node name="Noodles3" type="MeshInstance3D" parent="."] -transform = Transform3D(-0.19513778, 0, 0.3491722, 0, 0.39999998, 0, -0.3491722, 0, -0.19513778, 0.23498613, 0.24920535, 0.14507401) -mesh = ExtResource("2_pkjkx") - -[node name="Noodles4" type="MeshInstance3D" parent="."] -transform = Transform3D(-0.3997121, 0, -0.015173763, 0, 0.39999998, 0, 0.015173763, 0, -0.3997121, 0.16035348, 0.24920535, -0.2861838) -mesh = ExtResource("2_pkjkx") - -[node name="Noodles5" type="MeshInstance3D" parent="."] -transform = Transform3D(0.111918226, 0, -0.38402385, 0, 0.39999995, 0, 0.38402385, 0, 0.111918226, -0.2625249, 0.24920535, -0.16159214) -mesh = ExtResource("2_pkjkx") diff --git a/client/map/tiles/noodles_crate.gd b/client/map/tiles/noodles_crate.gd new file mode 100644 index 00000000..972b8ae7 --- /dev/null +++ b/client/map/tiles/noodles_crate.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 NoodlesCrate +extends Crate + +func _init(ctx: TileFactory.TileCC): + super(ctx) + base.add_child(load("res://map/tiles/noodle_crate.tscn").instantiate()) diff --git a/client/map/tiles/noodles_crate.gd.uid b/client/map/tiles/noodles_crate.gd.uid new file mode 100644 index 00000000..8c4c0454 --- /dev/null +++ b/client/map/tiles/noodles_crate.gd.uid @@ -0,0 +1 @@ +uid://c11foa16l6hj6 diff --git a/client/map/tiles/noodles_crate.tscn b/client/map/tiles/noodles_crate.tscn new file mode 100644 index 00000000..72a9191b --- /dev/null +++ b/client/map/tiles/noodles_crate.tscn @@ -0,0 +1,31 @@ +[gd_scene load_steps=3 format=3 uid="uid://b0jyx2gu6fcx7"] + +[ext_resource type="ArrayMesh" uid="uid://btn7oh1v2k40p" path="res://map/tiles/crate.res" id="1_vcnsh"] +[ext_resource type="ArrayMesh" uid="uid://c7nmboj44jn7a" path="res://map/items/noodles.res" id="2_3k214"] + +[node name="Crate" type="Node3D"] + +[node name="Mesh" type="MeshInstance3D" parent="."] +transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0) +mesh = ExtResource("1_vcnsh") +skeleton = NodePath("") + +[node name="Noodles" type="MeshInstance3D" parent="."] +transform = Transform3D(0.49983656, 0.012705037, 0.0014109544, -0.012783143, 0.4967825, 0.05517004, 0, -0.05518808, 0.49694493, -0.02444148, 0.3581394, 0.099653274) +mesh = ExtResource("2_3k214") + +[node name="Noodles2" type="MeshInstance3D" parent="."] +transform = Transform3D(0.36541817, 0, 0.16269466, 0, 0.4, 0, -0.16269466, 0, 0.36541817, -0.151, 0.239, 0.265) +mesh = ExtResource("2_3k214") + +[node name="Noodles3" type="MeshInstance3D" parent="."] +transform = Transform3D(-0.19513778, 0, 0.3491722, 0, 0.39999998, 0, -0.3491722, 0, -0.19513778, 0.23498613, 0.24920535, 0.14507401) +mesh = ExtResource("2_3k214") + +[node name="Noodles4" type="MeshInstance3D" parent="."] +transform = Transform3D(-0.3997121, 0, -0.015173763, 0, 0.39999998, 0, 0.015173763, 0, -0.3997121, 0.16035348, 0.24920535, -0.2861838) +mesh = ExtResource("2_3k214") + +[node name="Noodles5" type="MeshInstance3D" parent="."] +transform = Transform3D(0.111918226, 0, -0.38402385, 0, 0.39999995, 0, 0.38402385, 0, 0.111918226, -0.2625249, 0.24920535, -0.16159214) +mesh = ExtResource("2_3k214") -- cgit v1.3