I like the idea of have a marker for assets and bonds

This commit is contained in:
Howard Abrams 2023-11-18 16:03:18 -08:00
parent a5c69d1518
commit 4eb950b804

View file

@ -589,6 +589,11 @@ Whew. We finally can have a function that queries the user about a new character
"Insert the contents of three character assets from the assets directory."
(goto-char (point-max))
(insert "\n** Assets\n")
;; When using Evil, we'll drop a marker here:
(when (fboundp 'evil-set-marker)
(evil-set-marker ?a))
(if (y-or-n-p "Would you like three random assets? ")
(rpgdm-ironsworn-random-character-assets 3)
(if (y-or-n-p "Would you like to choose your assets? ")
@ -620,6 +625,11 @@ This function will query the user for all of the stats and other properties that
(org-top-heading)
(re-search-forward (rx line-start (zero-or-more space) line-end))
(insert "\n** Bonds\n")
;; When using Evil, we'll drop a marker here:
(when (fboundp 'evil-set-marker)
(evil-set-marker ?b (point) t))
(insert (format " - My home settlement of %s\n" (rpgdm-tables-choose "settlement/name"))))
#+END_SRC
**** New Character Interface