-
-
Notifications
You must be signed in to change notification settings - Fork 5
v1.12.0
2025-10-06 13:57
@Announcements
Happy Monday!
Today's update has a bunch of little things and a couple big things.
This logic isn't directly user facing, but I wanted to mention that it was rewritten because it took a lot of time and enabled the big new features to even exist. 😎
- Improved Stat Processing
- Improved Macro Processing
- Improved Dialog Processing
Yup, that's right, you can now access stats in your dialog!
pc::I am {name}, a level {level} {class} with a Strength of {str}
Yeah, if you noticed I didn't include pc:: in each of those stats, then you noticed that we have contextually aware stats.
That means when using stats in dialog or dice, you can leave out the pc:: or alias:: and RPG Sage will try to figure out what character you are referring to.
Custom and Simple sheet logic is now better.
Math should only be processed on stats, not on template output.
You can tell RPG Sage what to display when doing !char details by setting details.defaultSections="" to a comma separated list that can include one of the following: custom, simple, stats, templates.
If at any time, you want to see another part of your character's stats/info, you can force them by using adding one of the following to the !char details command: --custom, --simple, --stats, --templates.
Character details now default to showing calculated values instead of the any embedded stats/formulas you set.
To see the embedded stats/formulas, you can add --raw to your !char details command.
Also, you can now turn the nameDescriptors feature off by setting nameDescriptors.template="off" on your character.
Edited content gets formatted the same way new dialog does. Edited content is checked for an existing footer before adding one (if footers are on for the character).
NOTE: Copy/paste of dialog into an edited message can get messy due to some of RPG Sage's emoji being custom to the bot and not something you can post directly. I will hopefully be able to address this in a future update.
If you are rolling on a table, you can now specify the number of rolls and the size (xxs, xs, s) of the output.
Why would you want the XXS, you ask?
Somebody trying to simulate a slot machine inspired us! 😉
[3xxs#1-2 🔥
3-5 🐺
6-8 ☠️
9-14 🍖
15-17 🗡️]
You now have access to the following functions in stats/dice:
-
abs(value)returns the absolute value -
nth(value)returns the number with st, nd, rd, or th as a suffix -
sign(value)returns -1, 0, or 1 to indicate if the number is negative, zero, or positive -
signed(value)returns the number with a +/- as a prefix
-
{signed.STAT}is a shortcut for{signed({STAT})}
New User Options
-
mentionPrefixyou can change what character you use as a prefix when doing character/table mentions, default:@ -
confirmationPromptsyou can toggle confirmation prompts for commands toonoroff -
skipConfirmationFlagyou can change the default skip confirmation flag, default:-y -
forceConfirmationFlagyou can change the default force confirmation flag, default:-p
- multiple non-user facing bugs
We have channels to track and organize bugs and requests! https://discord.com/channels/480488957889609733/1207377294918950963 https://discord.com/channels/480488957889609733/1207387859548512340
Please drop by our Discord: https://discord.gg/rpgsage
Thank You, and Happy Gaming! :spacer:- Randal, aka RPG Sage :Sage:
RPG Sage Links
Wiki Home
GitHub Repo
rpgsage.io
Patreon
Discord Server
Map Builder
RPG Sage Socials
Randomizers
Weather Report
PF2e ABCs
Ruby Phoenix Team
SF2e ABCs
Other