• src/doors/clans-src/.gitignore src/doors/clans-src/devkit/qtest-script

    From Deucе@VERT to Git commit to main/sbbs/master on Sun Mar 8 16:54:10 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/f5eb470f28a92c592eb8b3bd
    Modified Files:
    src/doors/clans-src/.gitignore src/doors/clans-src/devkit/qtest-scripting.txt src/doors/clans-src/docs/todo.txt src/doors/clans-src/src/event.c menus.c npc.c qtest.c quests.c quests.h src/doors/clans-src/src/tests/test_npc.c test_user.c src/doors/clans-src/tests/fixtures/qtest/heal.evt src/doors/clans-src/tests/test_qtest.sh
    Log Message:
    Close qtest scripting test gaps; add reset_hp to RunEvent

    - Add bool reset_hp parameter to RunEvent(); game callers pass true,
    qtest script mode passes false so HP changes survive to state summary
    - Replace MaxSP no-op in RunEvent with comment explaining historical
    context (SP not resetting after events is intentional behaviour)
    - qtest script mode captures RunEvent return value and sets
    QuestsDone[0] bit 0 (index 1 convention) when quest completes
    - Add Points, FightsLeft, Followers to qtest state summary output
    - Add 166 integration tests covering all qtest opcodes, ACS conditions,
    error exits (codes 1/2/3), and new state fields
    - Fix RunEvent stub signatures in test_user.c and test_npc.c to include
    reset_hp parameter
    - Add tests/tmp and test/ to .gitignore

    Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net