I love multireplace - pretty sure I have some sections that are almost entirely composed of multireplace statements. Looking at you, single sentence in the stats screen describing how much money you have that took 9 multireplaces.
Speaking of Lsd currency, if you have 5 pounds and 9 pence, how do you express it symbolically? £5-0-9? 100/9? £5 9d.? I can’t find anything describing how it was typically written when you only have pounds and pence.
IMO, the coolest part of multireplace is it doesn’t just accept variables that are booleans (true/false) or natural numbers (1, 2, 3, 4, etc.), but any expression that evaluates to true/false or natural numbers. The latter has some cool use cases:
Displaying a series of symbols/null symbols where the cap is variable
[b]Lives:[/b] @{(lives+1) |❤️|❤️❤️|❤️❤️❤️|❤️❤️❤️❤️|❤️❤️❤️❤️❤️}@{((max_lives-lives)+1) |🪦|🪦🪦|🪦🪦🪦|🪦🪦🪦🪦|🪦🪦🪦🪦🪦}
(lives = 1, max_lives = 3)
Lives: 


Infinitely cycling text
*fake_choice
# Look in drawer.
*set times_looked_in_drawer + 1
@{((times_looked_in_drawer modulo 4)+1) Nothing in this drawer, just like the last ${times_looked_in_drawer-1} times you checked.|You don’t find anything.|Nothing to see in here.|There is nothing in the drawer.}
You don’t find anything.
Nothing to see in here.
There is nothing in the drawer.
Nothing in this drawer, just like the last 3 times you checked.
You don’t find anything.
Using a fairmath percentile in multireplace (what I like to call the “number cruncher”)
Larry is @{(((rel_larry-(rel_larry modulo 20))/20)+1) looking forward to reading your obituary|not your biggest fan|someone you know|an amiable companion|one of your closest companions}.
(rel_larry = 59)
Larry is someone you know.
Though I use the ‘number cruncher’ much more with arrays.
Instead of writing a subroutine or having this long thing:
*if charisma < 10
*stat_chart
percent charisma Charisma (Appalling)
*elseif charisma < 30
*stat_chart
percent charisma Charisma (Poor)
*elseif charisma < 50
*stat_chart
percent charisma Charisma (Average)
*elseif charisma < 70
*stat_chart
percent charisma Charisma (Average)
*elseif charisma < 90
*stat_chart
percent charisma Charisma (Excellent)
*elseif charisma < 100
*stat_chart
percent charisma Charisma (Incredible)
you can condense it down to
*temp_array stat_descriptor 6 "Appalling" "Poor" "Average" "Average" "Excellent" "Incredible"
*stat_chart
percent charisma Charisma (${stat_descriptor[(round(charisma/20))+1]})