Genie currency subs: Difference between revisions
Jump to navigation
Jump to search
(fix where multiple subs were replacing the same text) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
<pre class="select"> |
<pre class="select"> |
||
#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\d) (copper )?([Kk]ronars|[Ll]irums|[Dd]okoras))} {$1 ($2,$3.$4 plat)} {currency} |
||
#subs {(\D+(\d?\d?\d)(\d)(\d\d\d) (copper )?([Kk]ronars|[Ll]irums|[Dd]okoras))} {$1 ($2.$3 plat)} |
#subs {(\D+(\d?\d?\d)(\d)(\d\d\d) (copper )?([Kk]ronars|[Ll]irums|[Dd]okoras))} {$1 ($2.$3 plat)} {currency} |
||
#subs {(Cost:\D+(\d?\d?\d)(\d)(\d\d\d)\s+)$} {$1 ($2.$3 plat)} |
#subs {(Cost:\D+(\d?\d?\d)(\d)(\d\d\d)\s+)$} {$1 ($2.$3 plat)} {currency} |
||
#subs {(Cost:\D+(\d+)(\d\d\d)(\d)(\d\d\d)\s+)$} {$1 ($2,$3.$4 plat)} |
#subs {(Cost:\D+(\d+)(\d\d\d)(\d)(\d\d\d)\s+)$} {$1 ($2,$3.$4 plat)} {currency} |
||
#subs {(\d+\.\s+(\d?\d?\d)(\d)(\d\d\d))\D} {$1 ($2.$3 plat) } {currency} |
|||
#subs {(\d+\.\s+(\d\d\d)(\d)(\d\d\d))\D} {$1 ($2,$3.$4 plat) } {currency} |
|||
</pre> |
</pre> |
||
Line 16: | Line 18: | ||
Short: a boldly stenciled notecard |
Short: a boldly stenciled notecard |
||
Tap: a boldly stenciled notecard with a message that reads: "Ask me about forged weapons!" |
Tap: a boldly stenciled notecard with a message that reads: "Ask me about forged weapons!" |
||
Cost: 1874919423 |
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. |
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. |
Read: There is nothing there to read. |
||
Line 25: | Line 27: | ||
Wealth: |
Wealth: |
||
24129 platinum, 3 gold, 3 silver, 4 bronze, and 7 copper Kronars (241293347 copper Kronars (24,129.3 plat)). |
24129 platinum, 3 gold, 3 silver, 4 bronze, and 7 copper Kronars (241293347 copper Kronars (24,129.3 plat)). |
||
</pre> |
|||
<pre> |
|||
> order |
|||
# Price Item |
|||
------------------------- |
|||
1. 180000 (18.0 plat) an ornate ebonwood chair shaped like rose-brambles [chairs (set of 4)] |
|||
2. 120000 (12.0 plat) a delicate silverbirch chair painted with bright colors [chairs (set of 4)] |
|||
3. 150000 (15.0 plat) a twisting redwood chair cushioned with silk [chairs (set of 4)] |
|||
</pre> |
</pre> |
||
Latest revision as of 21:46, 12 June 2021
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)} {currency} #subs {(\D+(\d?\d?\d)(\d)(\d\d\d) (copper )?([Kk]ronars|[Ll]irums|[Dd]okoras))} {$1 ($2.$3 plat)} {currency} #subs {(Cost:\D+(\d?\d?\d)(\d)(\d\d\d)\s+)$} {$1 ($2.$3 plat)} {currency} #subs {(Cost:\D+(\d+)(\d\d\d)(\d)(\d\d\d)\s+)$} {$1 ($2,$3.$4 plat)} {currency} #subs {(\d+\.\s+(\d?\d?\d)(\d)(\d\d\d))\D} {$1 ($2.$3 plat) } {currency} #subs {(\d+\.\s+(\d\d\d)(\d)(\d\d\d))\D} {$1 ($2,$3.$4 plat) } {currency}
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)).
> order # Price Item ------------------------- 1. 180000 (18.0 plat) an ornate ebonwood chair shaped like rose-brambles [chairs (set of 4)] 2. 120000 (12.0 plat) a delicate silverbirch chair painted with bright colors [chairs (set of 4)] 3. 150000 (15.0 plat) a twisting redwood chair cushioned with silk [chairs (set of 4)]