[0.3.34] Parser Documentation

Alypia

Well-Known Member
Apr 22, 2016
1,374
3,618
hpRange and resolveRange parsers are not documented with descriptions or examples. They'd be pretty useful to have! I'm not totally sure how to use them myself.
 

Leykoss

Well-Known Member
Moderator
Oct 4, 2019
499
128
26
They show text based on a character current health and resolve respectively (percentage). Could be used on combat descriptions/encounters, or anything related to resolve.

[pc.resolveRange 20 60
|You feel like someone is always just out of sight, speaking to you — the voice changes but the message doesn't: you're supposed to hurt people, especially those elves with gaudy wings and shining armour. Why won't it go away?!
|It's like a scratching at the back of your mind, an insidious whispering creeping upon your consciousness. You can only make out a few words, and you don't like them.
|The voice is unbearably loud; it's hard to think straight with your heart pounding and palms sweating. In moments of delusion, you find yourself talking back to it, yelling at it — but it just keeps shouting, drowning you out with its roaring drone of anguish and hatred!
]

[pc.resolveRange 50|"Be a good sissy."|"Snap me."]

Let me know if that's clear enough.
 
  • Like
Reactions: Alypia

Alypia

Well-Known Member
Apr 22, 2016
1,374
3,618
The percentage part is very helpful, thank you! I think I understand better now.

Could y'all add this to the parser documentation when you have a chance?