feat(VoxelGrid): add BTL-OFF rung to V-GRID setting #1

Merged
hans merged 3 commits from feat/vgrid-btl-off into dev 2026-08-13 19:26:09 +02:00
Owner

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 when battleForced()
    returns true.
  • main.lua: help text updated.
  • README.md: controls table updated.
[Original PR](https://github.com/TeJota1337/DramaticShapeVoxelMod/pull/1) courtesy of [MyPingu07](https://github.com/MrPingu07). 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 when `battleForced()` returns true. - `main.lua`: help text updated. - `README.md`: controls table updated.
hans added 3 commits 2026-08-13 19:24:11 +02:00
V-GRID now cycles OFF / ON / BTL-OFF.
BTL-OFF keeps the wireframe off during battles while leaving it
available in the overworld. ON preserves the original behaviour
(wireframe forced on in battles regardless of the row).
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
Fixed link in changelog
Release / release (push) Successful in 52s
399a4f2ca8
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
hans merged commit 399a4f2ca8 into dev 2026-08-13 19:26:09 +02:00
hans deleted branch feat/vgrid-btl-off 2026-08-13 19:26:09 +02:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: pokemon/DramaticShapeVoxelMod#1