aboutsummaryrefslogtreecommitdiff
path: root/client/map/items
diff options
context:
space:
mode:
Diffstat (limited to 'client/map/items')
-rw-r--r--client/map/items/cooked-rice-curry-fill.tscn21
-rw-r--r--client/map/items/plate_items.gd6
2 files changed, 27 insertions, 0 deletions
diff --git a/client/map/items/cooked-rice-curry-fill.tscn b/client/map/items/cooked-rice-curry-fill.tscn
new file mode 100644
index 00000000..2f21ad42
--- /dev/null
+++ b/client/map/items/cooked-rice-curry-fill.tscn
@@ -0,0 +1,21 @@
+[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/plate_items.gd b/client/map/items/plate_items.gd
index c8e6901f..adbe7aa9 100644
--- a/client/map/items/plate_items.gd
+++ b/client/map/items/plate_items.gd
@@ -47,6 +47,12 @@ class CurryP extends PlateFill:
super(owned_by_)
set_color(Color(.75, .45, .1))
+class CookedRiceCurryP extends Plate:
+ func _init(owned_by_: Node3D):
+ super(owned_by_)
+ var fill = load("res://map/items/cooked-rice-curry-fill.tscn").instantiate()
+ add_child(fill)
+
class DirtyP extends Plate:
func _init(owned_by_: Node3D):
super(owned_by_)