v0.2.4
project.rpg » Devlog
v0.2.4 - 2026-07-24
Changes since v0.2.3. A small controls + upkeep release: one user-facing gameplay option, a green codebase-health round, a test-suite hardening fix, and a documentation reorganization. No new gameplay systems. 6 commits; net-negligible code change (docs churn dominates the line count).
Attack-friendlies prompt toggle
- New “Attack Prompt: ON/OFF” option in the tilde options menu (
OPTION_PROMPT_ATTACK_FRIENDLIES) gating the “attack this friendly NPC?” confirmation. The flaggamestate::prompt_before_attacking_friendlies(default OFF) controls theCONFIRM_ACTION_MOUSE_ATTACK_NPCpopup at both the keyboard (handle_attack) and mouse (handle_mouse_gameplay_actions) attack paths; when off, a strike on a non-aggro NPC falls straight through torun_attack_action+consume_hero_turn_action(identical to the aggro branch). New stringsSTR_OPTIONS_PROMPT_ATTACK_FRIENDLIES_FMT/STR_OPTTYPE_PROMPT_ATTACK_FRIENDLIES(en). 3 new tests plus the two pre-existing confirm-fires regressions updated to opt in explicitly, and the last-entry menu test renamed. Pet-safety note: the!aggrogate also covers the hero’s own pet — same toggle, one-tap pet-kill when off (operator-accepted; no separateis_petsub-guard).
Tests
- Hardened the heavy inventory soak test (
test_heavy_simulation.h) to dismiss the identify-result modal, so the simulation no longer stalls with a modal left open. - Net unit-test count 1041 → 1044; clean desktop + web builds.
Internal / process
- Ran code-review round 4 (post-v0.2.3 health pass): 0 fixes required, all gates green.
- Restructured the planning docs. Split the monolithic
PLAN.mdinto a thinCLAUDE.mdentry point plus linked topic files (active-work.md,known-bugs-and-backlog.md,recently-completed.md, roadmaps) and anarchive/for completed post-mortems;PLAN.mdis now just a pointer. Content-only reshuffle, near-zero net lines.
Files
projectrpg-linux-64.zip Play in browser
Version 114 17 days ago
project.rpg
Old school dungeon crawler
| Status | In development |
| Author | evildojo |
| Genre | Role Playing |
| Tags | 2D, Cute, Fantasy, Indie, Pixel Art, Retro, Roguelike, Singleplayer, Top-Down |
Leave a comment
Log in with itch.io to leave a comment.