Commit Graph

13 Commits

Author SHA1 Message Date
3200035eb6 Dice calc: yellow base + black stress dice (Alien RPG rules)
Base dice (yellow) = attribute + skill
Stress dice (black) = current stress level, added on top
Menu shows: "Close Combat  5 zlute + 2 cerne = 7 celkem"
Buffer shows breakdown after selection.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 18:06:49 +01:00
362b8dae58 Dice calc: show results in buffer, include stress in menu
- Results now display in *Alien RPG* buffer (not message bar)
  so screen reader reads them reliably
- Menu already shows effective dice count with stress deducted:
  "Close Combat    3 kostek (Str 3 + 2 - stress 2)"
- Buffer shows full breakdown after selection

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 17:42:55 +01:00
8d6098ff83 Dice calc: subtract stress from base dice pool
SPC G r now shows: base - stress = effective dice
e.g. "Ranged Combat: 7 zaklad - 2 stress = 5 kostek"

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 17:34:05 +01:00
95dd5f769d Fix tower connection, remove buddy/rival/xp, add dice calc, universal editor
Tower fix:
- GH-komunikacni-vez connects to H-ridici-centrum (not H-centralni-sachta)
- Eliminates phantom shortcut F->H sachta->tower->G

Removed mechanics (per GM):
- Buddy, Rival, XP — not used in this campaign

New SPC G r — dice calculator:
- Select skill from menu, shows: base dice + stress dice = total

SPC G e — universal editor:
- Edit ANY stat: Health, Stress, Resolve, Story points, all attributes,
  all skills from one completing-read menu

Status (SPC G s) — redesigned layout:
- Attributes with skills grouped by attribute (STRENGTH: CC 2, HM 2...)
- All skills shown (including 0), grouped logically
- Health/Stress/Resolve/Story points on one line

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 17:30:13 +01:00
ebcf77f3e2 Align character data with PDF card, add stat editor and resolve
Character card alignment (from reference_pdf/karta.pdf):
- Name: prof. Héctor Navarre (accent, no Ph.D.)
- Career: lowercase as on card
- Talent: full Czech text from card
- Gear: CBRN detektor with description (viry, toxiny, radiace)
- Signature item: lowercase karta

New mechanics:
- Resolve stat (starts at 4, from card) with SPC G r
- SPC G e: edit any attribute or skill value (completing-read menu)
- Tiny items field in state
- Status (SPC G s) now shows Resolve

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 17:08:38 +01:00
54bcefc481 Full character card in status, relative stress/health changes
- SPC G s now shows complete character card: name, career, age,
  attributes, non-zero skills, talent, position, gear, weapons,
  armor, injuries, conditions, buddy/rival, XP, story points,
  signature item
- SPC G S (stress): now relative — enter -1 to decrease, +2 to
  increase. Shows delta in message.
- SPC G h (health): accepts relative changes too (-1/+1)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 16:37:43 +01:00
7408bd1b1c Remove 20 prulez rooms, extend F-chodba to full corridor, add cross-deck links
Major restructuring for accurate map representation:

- F-chodba now spans entire deck F from centralni sachta to cely
  (zbrojnice/kuchyne are side rooms off the corridor)
- Removed all 20 prulez rooms (F1-F8, G1-G9, H3-H9) — prulezy are
  hatches in corridors/rooms, not separate rooms
- Cross-deck connections go directly between rooms containing prulezy:
  F-chodba <-> G hangars/doks, F-cely <-> G doks,
  G-nastupni-hala <-> H-nadrz-toxickych, G-doks <-> H-plasma stations,
  G-shromazdiste/H-sachta <-> GH-komunikacni-vez
- Path cely(F) -> sauna(C): 5 steps (was 9)
- Room count: 132 -> 112, all connections verified bidirectional

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 16:33:41 +01:00
f992565eeb Add F-chodba corridor, fix deck F connections from PDF map
The F deck PDF map shows a central Y-corridor running from kuchyne
south to sprchy/prulez areas. SKLAD and WC rooms are side rooms
with doors off this corridor, not rooms you must traverse.

- Add F-chodba (central corridor) connecting kuchyne to all rooms
  along the corridor: sklad, wc, prulez F1/F2/F5/F6, sprchy
- Rooms now connect through F-chodba instead of chaining through
  side rooms (sklad -> wc -> F1)
- Path cely -> sauna: 8 steps instead of 9 (via F-chodba)
- Verified G and H deck maps: connections already accurate

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 15:54:38 +01:00
a6c02a6969 Fix move/state persistence, use switch-to-buffer for screen reader
- Use setq with plist-put everywhere to ensure state changes persist
  (quoted list literals may be read-only in some Emacs builds)
- Replace pop-to-buffer with switch-to-buffer so the RPG buffer opens
  in the current window instead of a Doom popup — screen reader reads
  it as a normal buffer, not a completion overlay

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 15:17:46 +01:00
9ebffa1a43 Improve accessibility: path as bullet steps, fix status format
- find-path: show each step as bullet point with room names instead
  of raw ID -> ID chains
- find-room: use same rich format as where-am-i (names, desc, deck info)
- status: fix format specifier crash by using %s instead of %d for
  weapon/armor numeric fields that may be float or nil

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 15:08:39 +01:00
6b3ad21e45 Fix pathfinding bug, add room descriptions for accessibility
- Fix BFS triple-list wrapping that caused stringp error on SPC G p
- Add :desc field to all 131 rooms with physical/tactical descriptions
- Rewrite where-am-i to show room names instead of IDs, deck names
  in shaft connections, and cross-deck passage labels

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 15:00:06 +01:00
8659559857 refactored 2026-03-24 14:25:14 +01:00
Martin Sukany
dc0d9e5e39 update 2026-03-24 13:01:49 +01:00