feat: Add core game managers, main scene, enhanced gridmap, and essential assets, including a new special tiles manager for power-up effects and inventory.
This commit is contained in:
@@ -417,6 +417,10 @@ func _randomize_tiles_around_player(player: Node):
|
||||
# Check if there are tiles nearby or if empty
|
||||
var current_item = enhanced_gridmap.get_cell_item(cell)
|
||||
|
||||
# IMMUTABLE CHECK: Do not randomize/delete walls or special items on Floor 1
|
||||
if current_item in enhanced_gridmap.immutable_items:
|
||||
continue
|
||||
|
||||
# Decide: delete, spawn, or randomize
|
||||
var action = rng.randi() % 3
|
||||
|
||||
|
||||
Reference in New Issue
Block a user