aboutsummaryrefslogtreecommitdiff
path: root/client/map/tile_factory.gd
diff options
context:
space:
mode:
Diffstat (limited to 'client/map/tile_factory.gd')
-rw-r--r--client/map/tile_factory.gd10
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)