feat: complete playtest parity improvements

This commit is contained in:
goose
2026-10-08 19:06:19 -04:00
parent cce25a1908
commit eca098b4b9
139 changed files with 3001 additions and 982 deletions
+2 -1
View File
@@ -7,6 +7,7 @@ const TrapEngineType = preload("res://scripts/domain/world/trap_engine.gd")
const SpecialInteractionsType = preload("res://scripts/domain/world/special_interactions.gd")
const CompanionStateType = preload("res://scripts/domain/entities/companion_state.gd")
const PartyStateType = preload("res://scripts/domain/entities/party_state.gd")
const PLAYER_VISION_RADIUS := 6
var player: ActorState
# E4 keeps the selected pet run-scoped rather than making it a floor entity.
@@ -109,7 +110,7 @@ func compute_visible_cells(game_map: GridMapState, origin: Vector2i, radius: int
return visible
func update_exploration() -> void:
visible_cells = compute_visible_cells(map, player.cell, 6)
visible_cells = compute_visible_cells(map, player.cell, PLAYER_VISION_RADIUS)
for cell in visible_cells:
explored_cells[cell] = true