diff options
| author | metamuffin <metamuffin@disroot.org> | 2024-08-19 17:55:10 +0200 | 
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2024-08-19 17:55:10 +0200 | 
| commit | 5a38748d55eed46ecc6e2927246b7c45565af9a0 (patch) | |
| tree | faf7fb54b4d8ad41295e140ffe4dbd7bce263bfd /client/map | |
| parent | 2916d8af9b6458dd97fe313c7775f4780ee6c82d (diff) | |
| download | hurrycurry-5a38748d55eed46ecc6e2927246b7c45565af9a0.tar hurrycurry-5a38748d55eed46ecc6e2927246b7c45565af9a0.tar.bz2 hurrycurry-5a38748d55eed46ecc6e2927246b7c45565af9a0.tar.zst | |
strawberry shake glass
Diffstat (limited to 'client/map')
| -rw-r--r-- | client/map/item_factory.gd | 1 | ||||
| -rw-r--r-- | client/map/items/glass_items.gd | 21 | 
2 files changed, 22 insertions, 0 deletions
| diff --git a/client/map/item_factory.gd b/client/map/item_factory.gd index 876ffb29..c56ab407 100644 --- a/client/map/item_factory.gd +++ b/client/map/item_factory.gd @@ -75,6 +75,7 @@ static func produce(name: String, owned_by: Node3D) -> Item:  		"glass": return Glass.new(owned_by)  		"water-glass": return GlassItems.WaterG.new(owned_by) +		"strawberry-shake-glass": return GlassItems.StrawberryShakeG.new(owned_by)  		"plate": return Plate.new(owned_by)  		"bread-slice-plate": return PlateItems.BreadSliceP.new(owned_by) diff --git a/client/map/items/glass_items.gd b/client/map/items/glass_items.gd index 29d87c7a..d154579a 100644 --- a/client/map/items/glass_items.gd +++ b/client/map/items/glass_items.gd @@ -1,6 +1,27 @@ +# Hurry Curry! - a game about cooking +# Copyright 2024 tpart +# Copyright 2024 metamuffin +# +# 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 GlassItems  class WaterG extends GlassFill:  	func _init(owned_by_: Node3D):  		super(owned_by_)  		set_color(Color(.5, .6, .8)) + +class StrawberryShakeG extends GlassFill: +	func _init(owned_by_: Node3D): +		super(owned_by_) +		set_color(Color8(250, 140, 180)) | 
