feat(VoxelGrid): add BTL-OFF rung to V-GRID setting #1
Reference in New Issue
Block a user
Delete Branch "feat/vgrid-btl-off"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original PR courtesy of MyPingu07.
V-GRID now cycles OFF / ON / BTL-OFF.
ON preserves the original behaviour: the wireframe is forced on during
battles regardless of what the row is set to, because the seams are what
make the arena read as constructed rather than photographed.
BTL-OFF is an opt-out for players who prefer a cleaner battle scene:
the wireframe stays available in the overworld but is not forced during
battles. The override mechanism is unchanged -- the player's stored
setting is never written to during a fight.
Changes:
lib/VoxelGrid.lua: third rung added to the ladder;enabled()handles
"btloff"explicitly;battleForced()added;sync()no longer coerces to boolean.
lib/BattleScene.lua: override is only set whenbattleForced()returns true.
main.lua: help text updated.README.md: controls table updated.