diff options
Diffstat (limited to 'client/map')
| -rw-r--r-- | client/map/tile_factory.gd | 2 | ||||
| -rw-r--r-- | client/map/tiles/deep_fryer.gd | 30 | ||||
| -rw-r--r-- | client/map/tiles/deep_fryer.gd.uid | 1 |
3 files changed, 1 insertions, 32 deletions
diff --git a/client/map/tile_factory.gd b/client/map/tile_factory.gd index dc108392..ce239f4c 100644 --- a/client/map/tile_factory.gd +++ b/client/map/tile_factory.gd @@ -72,7 +72,7 @@ func produce(raw_name: String, position: Vector2i, neighbors: Array) -> Tile: "path": return Path.new(ctx) "rolling-board": return RollingBoard.new(ctx) "screen": return Screen.new(ctx) - "deep-fryer": return DeepFryer.new(ctx) + "deep-fryer": return GenericTile.new(ctx, preload("res://map/tiles/deep_fryer.tscn")) "sink": return Sink.new(ctx) "stove": return Stove.new(ctx) "street": return Street.new(ctx) diff --git a/client/map/tiles/deep_fryer.gd b/client/map/tiles/deep_fryer.gd deleted file mode 100644 index 229028e7..00000000 --- a/client/map/tiles/deep_fryer.gd +++ /dev/null @@ -1,30 +0,0 @@ -# Hurry Curry! - a game about cooking -# Copyright (C) 2025 Hurry Curry! contributors -# -# 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 DeepFryer -extends CounterBase - -var deep_fryer = preload("res://map/tiles/deep_fryer.tscn") - -func _init(ctx: TileFactory.TileCC): - super(ctx, deep_fryer) - -func set_item(i: Item): - super(i) - if i != null: - i.rotation_target = item_base.global_rotation.y + PI - -static func interact_target() -> Vector3: - return Vector3(0., 0.55, 0.) diff --git a/client/map/tiles/deep_fryer.gd.uid b/client/map/tiles/deep_fryer.gd.uid deleted file mode 100644 index 0fc161a4..00000000 --- a/client/map/tiles/deep_fryer.gd.uid +++ /dev/null @@ -1 +0,0 @@ -uid://x4gtbub0vfun |