feat: complete playtest parity improvements
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user