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

Merged
hans merged 0 commits from refs/pull/1/head into dev 2026-08-13 19:26:09 +02:00
hans commented 2026-08-13 19:24:10 +02:00 (Migrated from git.hadak.org)

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.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
pokemon/DramaticShapeVoxelMod!1
No description provided.