diff options
author | tpart <tpart120@proton.me> | 2024-09-16 12:49:03 +0200 |
---|---|---|
committer | tpart <tpart120@proton.me> | 2024-09-16 12:49:09 +0200 |
commit | 851b283d4ac2a4218f2863838c3aeb137e8fa179 (patch) | |
tree | a19226e50661f91e6242133fee2186c3a0152b69 | |
parent | 2524401702989e7cde65ee3c04a117949d9628b7 (diff) | |
download | hurrycurry-851b283d4ac2a4218f2863838c3aeb137e8fa179.tar hurrycurry-851b283d4ac2a4218f2863838c3aeb137e8fa179.tar.bz2 hurrycurry-851b283d4ac2a4218f2863838c3aeb137e8fa179.tar.zst |
Remove legacy items
-rw-r--r-- | client/map/item_factory.gd | 2 | ||||
-rw-r--r-- | client/map/items/bread.gd | 34 | ||||
-rw-r--r-- | client/map/items/bread.res | bin | 7285 -> 0 bytes | |||
-rw-r--r-- | client/map/items/bread.tscn | 10 | ||||
-rw-r--r-- | client/map/items/bread_slice.gd | 21 | ||||
-rw-r--r-- | client/map/items/bread_slice.res | bin | 5169 -> 0 bytes | |||
-rw-r--r-- | client/map/items/bread_slice.tscn | 9 |
7 files changed, 0 insertions, 76 deletions
diff --git a/client/map/item_factory.gd b/client/map/item_factory.gd index 2c77eb43..0d09fd95 100644 --- a/client/map/item_factory.gd +++ b/client/map/item_factory.gd @@ -24,12 +24,10 @@ static func produce(full_name: String, owned_by: Node3D) -> Item: var contents = c[1].split(",") if c.size() > 1 else [] match name: - # "bread-slice": return BreadSlice.new(owned_by) "bun": return Bun.new(owned_by) "sliced-bun": return SlicedBun.new(owned_by) "sliced-bun-top": return SlicedBunTop.new(owned_by) "sliced-bun-bottom": return SlicedBunBottom.new(owned_by) - "bread": return Bread.new(owned_by) "burned": return Burned.new(owned_by) "coconut": return Coconut.new(owned_by) "dough": return Dough.new(owned_by) diff --git a/client/map/items/bread.gd b/client/map/items/bread.gd deleted file mode 100644 index a3c109e1..00000000 --- a/client/map/items/bread.gd +++ /dev/null @@ -1,34 +0,0 @@ -# Hurry Curry! - 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 Bread -extends Item - -var steam: CPUParticles3D = preload("res://map/items/steam.tscn").instantiate() - -func _init(owned_by_: Node3D): - super(owned_by_) - base.add_child(load("res://map/items/bread.tscn").instantiate()) - steam.position.y += .1 - steam.color = Color(.6, .6, .6, .4) - base.add_child(steam) - -func progress(position_: float, speed: float, warn: bool): - super(position_, speed, warn) - steam.emitting = warn - -func finish(): - super() - steam.emitting = false diff --git a/client/map/items/bread.res b/client/map/items/bread.res Binary files differdeleted file mode 100644 index 4fe2dd65..00000000 --- a/client/map/items/bread.res +++ /dev/null diff --git a/client/map/items/bread.tscn b/client/map/items/bread.tscn deleted file mode 100644 index a787bb44..00000000 --- a/client/map/items/bread.tscn +++ /dev/null @@ -1,10 +0,0 @@ -[gd_scene load_steps=2 format=3 uid="uid://dsrhcbmij58ck"] - -[ext_resource type="ArrayMesh" uid="uid://cuym17dskutc8" path="res://map/items/bread.res" id="1_0eevh"] - -[node name="Bread" type="Node3D"] - -[node name="Mesh" type="MeshInstance3D" parent="."] -transform = Transform3D(0.75, 0, 0, 0, 0.75, 0, 0, 0, 0.75, 0, 0, 0) -mesh = ExtResource("1_0eevh") -skeleton = NodePath("") diff --git a/client/map/items/bread_slice.gd b/client/map/items/bread_slice.gd deleted file mode 100644 index f74b0058..00000000 --- a/client/map/items/bread_slice.gd +++ /dev/null @@ -1,21 +0,0 @@ -# Hurry Curry! - 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()) diff --git a/client/map/items/bread_slice.res b/client/map/items/bread_slice.res Binary files differdeleted file mode 100644 index f78b75ae..00000000 --- a/client/map/items/bread_slice.res +++ /dev/null diff --git a/client/map/items/bread_slice.tscn b/client/map/items/bread_slice.tscn deleted file mode 100644 index 3a435e17..00000000 --- a/client/map/items/bread_slice.tscn +++ /dev/null @@ -1,9 +0,0 @@ -[gd_scene load_steps=2 format=3 uid="uid://ccajf36datccs"] - -[ext_resource type="ArrayMesh" uid="uid://cwftutpb2lxca" path="res://map/items/bread_slice.res" id="1_yv77k"] - -[node name="BreadSlice" type="Node3D"] - -[node name="Mesh" type="MeshInstance3D" parent="."] -mesh = ExtResource("1_yv77k") -skeleton = NodePath("") |