aboutsummaryrefslogtreecommitdiff
path: root/client/map
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2024-08-19 20:03:23 +0200
committertpart <tpart120@proton.me>2024-08-19 20:03:23 +0200
commit84bed3d870c6c3348c85e4cef9f6c3316888865a (patch)
treef213ed683472004f9e61e54af7d96cc87b50c109 /client/map
parent5db3cd101fb1108815b58c0609959b2f45447aae (diff)
downloadhurrycurry-84bed3d870c6c3348c85e4cef9f6c3316888865a.tar
hurrycurry-84bed3d870c6c3348c85e4cef9f6c3316888865a.tar.bz2
hurrycurry-84bed3d870c6c3348c85e4cef9f6c3316888865a.tar.zst
Implement curry plate item
Diffstat (limited to 'client/map')
-rw-r--r--client/map/item_factory.gd2
-rw-r--r--client/map/items/plate_items.gd5
2 files changed, 7 insertions, 0 deletions
diff --git a/client/map/item_factory.gd b/client/map/item_factory.gd
index c56ab407..4ac20de8 100644
--- a/client/map/item_factory.gd
+++ b/client/map/item_factory.gd
@@ -82,6 +82,8 @@ static func produce(name: String, owned_by: Node3D) -> Item:
"bread-slice-sliced-tomato-plate": return PlateItems.BreadSliceSlicedTomatoP.new(owned_by)
"bread-slice-sliced-tomato-steak-plate": return PlateItems.BreadSliceSlicedTomatoSteakP.new(owned_by)
"bread-slice-steak-plate": return PlateItems.BreadSliceSteakP.new(owned_by)
+ "curry-plate": return PlateItems.CurryP.new(owned_by)
+
"dirty-plate": return PlateItems.DirtyP.new(owned_by)
"nigiri-plate": return PlateItems.NigiriP.new(owned_by)
"steak-plate": return PlateItems.SteakP.new(owned_by)
diff --git a/client/map/items/plate_items.gd b/client/map/items/plate_items.gd
index c1f4df37..33b128ba 100644
--- a/client/map/items/plate_items.gd
+++ b/client/map/items/plate_items.gd
@@ -42,6 +42,11 @@ class BreadSliceSteakP extends BreadSliceP:
steak.position.y = .05
base.add_child(steak)
+class CurryP extends PlateFill:
+ func _init(owned_by_: Node3D):
+ super(owned_by_)
+ set_color(Color(.75, .45, .1))
+
class DirtyP extends Plate:
func _init(owned_by_: Node3D):
super(owned_by_)