summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/map/items/cooked-rice-curry-fill.tscn21
-rw-r--r--client/map/items/cooked_rice_fill.tscn13
-rw-r--r--client/map/items/plate.gd1
3 files changed, 14 insertions, 21 deletions
diff --git a/client/map/items/cooked-rice-curry-fill.tscn b/client/map/items/cooked-rice-curry-fill.tscn
deleted file mode 100644
index 2f21ad42..00000000
--- a/client/map/items/cooked-rice-curry-fill.tscn
+++ /dev/null
@@ -1,21 +0,0 @@
-[gd_scene load_steps=5 format=3 uid="uid://c17tdqcs3a33i"]
-
-[ext_resource type="ArrayMesh" uid="uid://c8l6gbfjikyv3" path="res://map/items/plate_fill.res" id="1_ufii1"]
-[ext_resource type="PackedScene" uid="uid://do4qxd1d1x7cc" path="res://map/items/rice_content.tscn" id="3_xnnn3"]
-
-[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_u1jxx"]
-resource_local_to_scene = true
-albedo_color = Color(0.75, 0.45, 0.1, 1)
-
-[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_vr3i3"]
-resource_local_to_scene = true
-
-[node name="CookedRiceCurryFill" type="MeshInstance3D"]
-transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0)
-mesh = ExtResource("1_ufii1")
-skeleton = NodePath("")
-surface_material_override/0 = SubResource("StandardMaterial3D_u1jxx")
-
-[node name="RiceContent" parent="." instance=ExtResource("3_xnnn3")]
-transform = Transform3D(0.3, 0, 0, 0, 0.15, 0, 0, 0, 0.562, 0.194, 0.07, 0)
-surface_material_override/0 = SubResource("StandardMaterial3D_vr3i3")
diff --git a/client/map/items/cooked_rice_fill.tscn b/client/map/items/cooked_rice_fill.tscn
new file mode 100644
index 00000000..1232aed9
--- /dev/null
+++ b/client/map/items/cooked_rice_fill.tscn
@@ -0,0 +1,13 @@
+[gd_scene load_steps=3 format=3 uid="uid://c17tdqcs3a33i"]
+
+[ext_resource type="PackedScene" uid="uid://do4qxd1d1x7cc" path="res://map/items/rice_content.tscn" id="1_mteor"]
+
+[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_vr3i3"]
+resource_local_to_scene = true
+
+[node name="CookedRiceFIll" type="Node3D"]
+transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0)
+
+[node name="RiceContent" parent="." instance=ExtResource("1_mteor")]
+transform = Transform3D(0.3, 0, 0, 0, 0.15, 0, 0, 0, 0.562, 0.194, 0.07, 0)
+surface_material_override/0 = SubResource("StandardMaterial3D_vr3i3")
diff --git a/client/map/items/plate.gd b/client/map/items/plate.gd
index 6e154072..d081450e 100644
--- a/client/map/items/plate.gd
+++ b/client/map/items/plate.gd
@@ -33,6 +33,7 @@ func _init(owned_by_: Node3D, contents: Array):
var item: Item
match c:
"curry": add_child(PlateFill.new(self, Color(.75, .45, .1)))
+ "cooked-rice": add_child(load("res://map/items/cooked_rice_fill.tscn").instantiate())
"tomato-soup": add_child(PlateFill.new(self, Color(1., .3, .2)))
_: item = ItemFactory.produce(c, base)
if item != null: