Add an F12 development menu for 0.5.1 #55

Merged
ValleyGeek merged 2 commits from 0.5.1/dev-menu into main 2026-11-09 04:44:30 +00:00
Member

Summary

F12 opens and closes a development menu at the top-right of the view. The menu has Gameplay, Party, and Progress tabs. The overrides last for the process. A save omits them.

Gameplay sets walk speed, encounter chance, damage immunity, and one-hit kills, and teleports to a settlement. Party fills HP and MP, revives, kills, changes gold, adds items, and sets a skill level. Progress clears or completes an active quest and sets guild rank.

An enemy at 0 HP does not split.

VERSION moves from 0.5.0 to 0.5.1. The user named that release. The unreleased notes that followed 0.5.0 move into the 0.5.1 section.

Verification

  • bash tools/lint_gdscript.sh: 81 files, no problems.
  • GUT: 72 tests passed, 3891 asserts.
  • Headless UI probe tools/probes/dev_menu.gd at 1920×1080 and 1280×720. The panel stays inside the viewport. Walk, encounter, damage, gold, guild rank, and F12 close do what their labels say.
  • Playtest bash tools/playtest/run.sh --seeds 1,2,3 (playtest_out/20261108-170651): each seed ends at boss_defeated with no findings and no hitches.
## Summary F12 opens and closes a development menu at the top-right of the view. The menu has Gameplay, Party, and Progress tabs. The overrides last for the process. A save omits them. Gameplay sets walk speed, encounter chance, damage immunity, and one-hit kills, and teleports to a settlement. Party fills HP and MP, revives, kills, changes gold, adds items, and sets a skill level. Progress clears or completes an active quest and sets guild rank. An enemy at 0 HP does not split. `VERSION` moves from 0.5.0 to 0.5.1. The user named that release. The unreleased notes that followed 0.5.0 move into the 0.5.1 section. ## Verification - `bash tools/lint_gdscript.sh`: 81 files, no problems. - GUT: 72 tests passed, 3891 asserts. - Headless UI probe `tools/probes/dev_menu.gd` at 1920×1080 and 1280×720. The panel stays inside the viewport. Walk, encounter, damage, gold, guild rank, and F12 close do what their labels say. - Playtest `bash tools/playtest/run.sh --seeds 1,2,3` (`playtest_out/20261108-170651`): each seed ends at `boss_defeated` with no findings and no hitches.
Add an F12 development menu and ship 0.5.1
All checks were successful
CI / test (push) Successful in 22s
CI / test (pull_request) Successful in 20s
CI / lint (push) Successful in 28s
CI / lint (pull_request) Successful in 26s
CI / release (pull_request) Has been skipped
CI / release (push) Successful in 1m7s
4fc8a72e7a
The field had no session controls for walk speed, encounter rate, damage, party state, gold, items, quests, or guild rank. F12 opens and closes a tabbed menu at the top-right. The overrides last for the process. A save omits them. The menu replaces having no way to set those values during play.

Walk Default uses the field step time. Double halves that time. Quad divides it by four. Encounter Disabled, Quarter, Half, Default, Double, and Quad scale a random step encounter by 0, 0.25, 0.5, 1, 2, and 4. Forced fights and the camp check keep their rates. Take No Damage leaves party HP unchanged by attacks, damaging spells, and poison tiles. A hit still counts, and the log records 0 damage. One-Hit Kill sets a struck enemy's HP to 0 and spends a boss's remaining phases. A miss stays a miss. Teleport lists settlements by name. Go places the party on the south entrance, records that city's weekly gate fee as paid, and ends an open battle with no rewards.

Party fills the HP of every living member, fills MP for every member, or revives every fallen member. A party-member row heals, fills MP, revives, or kills that member. Heal leaves a fallen member fallen. Kill sets HP to 0 and starts the death clock. Gold buttons add or remove 1, 10, 100, 1,000, 10,000, 100,000, or 1,000,000 gold. Gold stays at 0 or above. Item, weapon, and armor lists add one catalog entry. A full bag refuses the add. A unique enters the unique list. Set Stat writes a skill level from 1 to 99, clears that skill's current XP, and recalculates maxima.

Progress lists active quests. Clear removes the quest. Complete grants the quest's gold, material, and skill XP and marks the quest done. Guild Rank shows the main character's rank. Set writes the chosen rank on every member, sets each member's quest completions to ten times the rank index, and clears a pending trial.

An enemy at 0 HP does not split. The split check belongs to a living enemy at 50% HP.

The menu is a canvas on the tree root. DevConsole applies the commands, and GameManager exposes one action call. Battle flags are fields on the battle dictionary, so the simulator does not read the autoload. Teleport uses the south town entrance and marks the weekly gate fee paid. The story teleport stays visit-gated.

VERSION moves from 0.5.0 to 0.5.1. The user named that release. The unreleased notes that followed 0.5.0 move into the 0.5.1 section.
Keep dev-menu titles inside the highlight and type the encounter chance
All checks were successful
CI / test (push) Successful in 20s
CI / test (pull_request) Successful in 20s
CI / lint (push) Successful in 30s
CI / lint (pull_request) Successful in 25s
CI / release (pull_request) Has been skipped
CI / release (push) Successful in 1m13s
f71c44cd65
A selected control used the theme focus style. That style's content padding was larger than the button size, so the title was cut off. Every state of a development-menu control now uses one style with no content padding. The highlight sits behind the title.

A horizontal line separates each section of the three tabs.

The encounter override was a named multiplier. It is now a percent from 0 to 100. Set applies that chance to a random step. Reset uses the tile chance. A typed 0 yields no random step encounter. Forced encounters and the camp check keep their rates. The tile's own percent stays on the label.
ValleyGeek deleted branch 0.5.1/dev-menu 2026-11-09 04:44:30 +00:00
Sign in to join this conversation.
No reviewers
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
ai-collab/animrpg202610!55
No description provided.