diff options
Diffstat (limited to 'client/map/items')
| -rw-r--r-- | client/map/items/plate.gd | 7 | 
1 files changed, 6 insertions, 1 deletions
| diff --git a/client/map/items/plate.gd b/client/map/items/plate.gd index b3f9ff58..32843011 100644 --- a/client/map/items/plate.gd +++ b/client/map/items/plate.gd @@ -32,6 +32,11 @@ func _init(owned_by_: Node3D, contents: Array):  		contents.erase("seared-steak")  		contents.append("seared-steak-small") +	# Buns should be small if combined with other items +	if contents.has("bun") and contents.size() > 1: +		contents.erase("bun") +		contents.append("bun-small") +	  	# Stack content items on top of each other  	var height_sum := 0.  	for c in contents: @@ -40,7 +45,7 @@ func _init(owned_by_: Node3D, contents: Array):  			"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))) -			"bun": +			"bun-small":  				var bun = ItemFactory.produce(c, base)  				base.add_child(bun)  				bun.scale *= 0.5 | 
