diff options
-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)) |