25 Commits

Author SHA1 Message Date
1c2622b1a4 Conditions: match character card exactly (Fatigued, Radiation only)
Remove Starving/Dehydrated/Exhausted/Freezing — not on this card.
Simplify panic effect labels (just names, no stress level prefix).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 09:13:50 +01:00
ea8c770071 Conditions: toggle system with known states + panic table
Replace free-text conditions with toggle checkboxes:
- SPC G c -> choose: Přepnout stav / Panická reakce / Vlastní
- Known conditions: Starving, Dehydrated, Exhausted, Freezing,
  Fatigued, Radiation — shown as [X]/[ ] toggles
- Panic table: Jumpy, Freeze, Tunnel Vision, etc. with stress level
- Status display shows all known conditions with checkbox state

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 09:09:11 +01:00
2325b8614b Fix duplicate item handling, readable weapon display in status
- Numbered candidates in completing-read (1. Nůž, 2. Nůž) so
  duplicates are distinguishable and index is always correct
- alien-rpg--remove-nth replaces broken cl-subseq/remove patterns
- Weapon status now: "Nůž, mod +1, DMG 2, Long, munice 3, váha 2"
  instead of "Nůž mod+1/DMG2/Long/3ks/W2" — screen reader friendly

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 09:03:24 +01:00
a43480a93f Unified inventory commands: one entry per category in dispatch
Each category (Zbraně, Výbava, Brnění, Zranění, Podmínky) is now
a single command that asks Přidat/Odebrat/Upravit/Munice as needed.
Dispatch menu halved from 31 to 26 entries — no more confusion between
"Výbava — přidat" and "Výbava — spravovat". Removed SPC G v sub-prefix.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 08:56:39 +01:00
c3fbb6df3b Room notes, sorted completions, inventory mgmt, view mode, dispatch
1. Room-specific notes: SPC G n adds timestamped note to current room,
   displayed in where-am-i and find-room output. SPC G N shows all.
2. Alphabetical sorting in all completing-read candidate lists.
3. Inventory management: SPC G v prefix — remove/modify gear, weapons
   (including ammo tracking), injuries, conditions, armor, tiny items.
4. UX: alien-rpg-view-mode with local keys (m/w/t/s/d/r/p/f/n/N/SPC/?),
   dispatch command (SPC G SPC) lists all commands, help (SPC G ?).
   Refactored room info display into shared alien-rpg--insert-room-info.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 08:30:48 +01:00
08867a378c Weapons/armor: rename fields to match herní karta columns
Weapons: :bonus → :modifier, Armor: :rating → :level.
Character data verified against herní karta — all matches.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 18:37:18 +01:00
333182ecf6 Update CLAUDE.md: fix dice color description (black base + yellow stress)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 18:25:41 +01:00
d6325adead Dice calc: fix colors — black base + yellow stress (Alien RPG rules)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 18:24:58 +01:00
3c6c347a99 Update CLAUDE.md to current state, add session checkpoint
- CLAUDE.md: rewritten to reflect 112 rooms, corridor model, no prulez
  rooms, all keybindings documented, PDF as ground truth, screen reader
  patterns, cross-deck connection table
- Memory checkpoint for next session continuity

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 18:18:57 +01:00
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
Martin Sukany
c4304bbcca pridana herni karta 2026-03-24 16:55:39 +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
Martin Sukany
08bc57c5b8 Add character card and deck reference PDFs
* herni_karta.org: New file — full character sheet for prof. Héctor
Navarre (attributes, skills, talent, gear, health/stress tracking).
* README.org: Add herni_karta.org to file index table.
* workflow.org: Add pre-game step for studying the character card,
in-game sections for health/stress tracking, skill usage, talent
Analýza, gear management, and a quick-reference table for Navarre.
* reference_pdf/: Add 13 reference PDFs (deck maps A–J, side view).
2026-03-24 11:31:26 +01:00
Martin Sukany
9d5a0b57f2 Add accessible text transcription of Alien RPG station maps
Comprehensive org-mode transcription of space station deck maps
(decks A–J) designed for a blind player to fully participate in
tabletop RPG sessions with sighted players.

* README.org: Project overview and file index.
* stanice.org: Station overview, side view, deck connections,
central shaft, crawlway system, door analysis, and deck sizes.
* workflow.org: Gameplay workflow for a blind player including
preparation, navigation, combat, Emacs usage tips, GM
communication conventions, and a quick reference card.
* paluby/paluba-A.org: Deck A — Astrometric observatory.
* paluby/paluba-B.org: Deck B — Operations control.
* paluby/paluba-C.org: Deck C — Health and recreation.
* paluby/paluba-D.org: Deck D — Reception and research.
* paluby/paluba-E.org: Deck E — Quarters and dining.
* paluby/paluba-F.org: Deck F — Correctional facility.
* paluby/paluba-G.org: Deck G — Hangars and maintenance.
* paluby/paluba-GH.org: Communication tower (G–H link).
* paluby/paluba-H.org: Deck H — Industrial complex.
* paluby/paluba-I.org: Deck I — Escape pods.
* paluby/paluba-J.org: Deck J — Reactor engine room.
2026-03-24 10:56:57 +01:00