Dice calc: fix colors — black base + yellow stress (Alien RPG rules)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1240,7 +1240,7 @@ Průlezy G<->H: G3<->H3, G4<->H4, G7<->H7, G8<->H8, G9<->H9
|
|||||||
(skill-val (plist-get (plist-get alien-rpg-character :skills) key))
|
(skill-val (plist-get (plist-get alien-rpg-character :skills) key))
|
||||||
(base (+ attr-val skill-val))
|
(base (+ attr-val skill-val))
|
||||||
(attr-abbr (cdr (assq attr-key alien-rpg-attr-abbrevs))))
|
(attr-abbr (cdr (assq attr-key alien-rpg-attr-abbrevs))))
|
||||||
(cons (format "%-18s %d zlute + %d cerne = %d celkem"
|
(cons (format "%-18s %d cerne + %d zlute = %d celkem"
|
||||||
name base stress (+ base stress))
|
name base stress (+ base stress))
|
||||||
(list name base attr-abbr attr-val skill-val))))
|
(list name base attr-abbr attr-val skill-val))))
|
||||||
alien-rpg-skill-attributes))
|
alien-rpg-skill-attributes))
|
||||||
@@ -1252,8 +1252,8 @@ Průlezy G<->H: G3<->H3, G4<->H4, G7<->H7, G8<->H8, G9<->H9
|
|||||||
(let ((inhibit-read-only t))
|
(let ((inhibit-read-only t))
|
||||||
(erase-buffer)
|
(erase-buffer)
|
||||||
(insert (format "%s\n" name))
|
(insert (format "%s\n" name))
|
||||||
(insert (format "%d zlutych kostek (zaklad)\n" base))
|
(insert (format "%d cernych kostek (zaklad)\n" base))
|
||||||
(insert (format "%d cernych kostek (stress)\n" stress))
|
(insert (format "%d zlutych kostek (stress)\n" stress))
|
||||||
(insert (format "%d kostek celkem\n" (+ base stress))))
|
(insert (format "%d kostek celkem\n" (+ base stress))))
|
||||||
(goto-char (point-min))
|
(goto-char (point-min))
|
||||||
(special-mode))
|
(special-mode))
|
||||||
|
|||||||
Reference in New Issue
Block a user