Genie currency subs: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
⚫ | |||
These [[Genie]] substitutions summarize large quantities of coin in terms of [[currency|platinums]] so that instead of seeing a large number like '''1874919423''' you will see '''187,491.9 plat'''. |
These [[Genie]] substitutions summarize large quantities of coin in terms of [[currency|platinums]] so that instead of seeing a large number like '''1874919423''' you will see '''187,491.9 plat'''. |
||
⚫ | |||
<pre class="select"> |
<pre class="select"> |
Revision as of 17:54, 30 June 2020
Subs
These Genie substitutions summarize large quantities of coin in terms of platinums so that instead of seeing a large number like 1874919423 you will see 187,491.9 plat.
#subs {(\D+(\d+)(\d\d\d)(\d)(\d\d\d) (copper )?([Kk]ronars|[Ll]irums|[Dd]okoras))} {$1 ($2,$3.$4 plat)} #subs {(\D+(\d?\d?\d)(\d)(\d\d\d) (copper )?([Kk]ronars|[Ll]irums|[Dd]okoras))} {$1 ($2.$3 plat)} #subs {(Cost:\D+(\d?\d?\d)(\d)(\d\d\d))} {$1 ($2.$3 plat)} #subs {(Cost:\D+(\d+)(\d\d\d)(\d)(\d\d\d))} {$1 ($2,$3.$4 plat)}
Examples
> shop notecard Short: a boldly stenciled notecard Tap: a boldly stenciled notecard with a message that reads: "Ask me about forged weapons!" Cost: 1874919423 (187,491.9 plat) Look: Made from a single sheet of thick papyrus, this display has been pressed in such a way as to offer three equal sides for information. Read: There is nothing there to read.
> wealth Wealth: 24129 platinum, 3 gold, 3 silver, 4 bronze, and 7 copper Kronars (241293347 copper Kronars (24,129.3 plat)).