diff options
| author | metamuffin <metamuffin@disroot.org> | 2025-12-16 02:32:47 +0100 |
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2025-12-16 02:32:47 +0100 |
| commit | e99a71f4f5918e9e43c5f8ff01ce348021f925ea (patch) | |
| tree | f831db78bd44dba3248e370628e916f29b0aa67d /client/map/tile_factory.gd | |
| parent | d3ddc7490bbe0b7696faf42ab8510b32fbd86f12 (diff) | |
| download | hurrycurry-e99a71f4f5918e9e43c5f8ff01ce348021f925ea.tar hurrycurry-e99a71f4f5918e9e43c5f8ff01ce348021f925ea.tar.bz2 hurrycurry-e99a71f4f5918e9e43c5f8ff01ce348021f925ea.tar.zst | |
Add grey holes; player portal pair rest state is grey holes
Diffstat (limited to 'client/map/tile_factory.gd')
| -rw-r--r-- | client/map/tile_factory.gd | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/client/map/tile_factory.gd b/client/map/tile_factory.gd index f3fddfe7..4cd8c745 100644 --- a/client/map/tile_factory.gd +++ b/client/map/tile_factory.gd @@ -47,8 +47,6 @@ func produce(raw_name: String, position: Vector2i, neighbors: Array) -> Tile: ctx.floor_meshers = floor_meshers match tile_name.name: - "black-hole-counter": return ItemPortal.new(ctx, false) - "black-hole": return PlayerPortal.new(ctx, false) "book": return CounterBase.new(ctx, preload("res://map/tiles/book.tscn")) "ceiling-lamp": return GenericTile.new(ctx, preload("res://map/tiles/ceiling_lamp.tscn")) "chair": return Chair.new(ctx) @@ -76,8 +74,12 @@ func produce(raw_name: String, position: Vector2i, neighbors: Array) -> Tile: "tree": return ExteriorTree.new(ctx) "wall-window": return WallWindow.new(ctx) "wall": return Wall.new(ctx) - "white-hole-counter": return ItemPortal.new(ctx, true) - "white-hole": return PlayerPortal.new(ctx, true) + "white-hole-counter": return ItemPortal.new(ctx, 1) + "white-hole": return PlayerPortal.new(ctx) + "grey-hole-counter": return ItemPortal.new(ctx, 0) + "grey-hole": return PlayerPortal.new(ctx) + "black-hole-counter": return ItemPortal.new(ctx, -1) + "black-hole": return PlayerPortal.new(ctx) "house-balcony": return HouseBalcony.new(ctx) "house-door": return HouseDoor.new(ctx) |