Understand "rpg rules" as RPG rules. RPG rules is an action applying to nothing.
Carry out RPG rules:
say "[bold type]The RPG Rules[roman type]";
say "Weapons provide an additional modifier to attacks. Defenses provide additional subtractors from attacks. What these values are depends on how the storyteller or the settings sees how each is worth. If the resulting roll is greater than or equal to the opposing roll, it is considered successful. All damage is based on the dice pool roll.";
say "[paragraph break]Every 5 turns, you are granted 10 points of experience. A player may spend 5 experience points to add 1 point to any stat, to the maximum of 6. HP has no such limitation. Additionally, a player may spend 10 experience points to add 1D6 to their dice pool.";
say "[paragraph break]When accusing someone of something, it is not simple as it is a battle of wits. You roll your dice pool, add strength, and subtract the target's defense. This is the accusation effect you do. The target does the same with their dice pool, but adds to your damage. If you survive the onslaught and the target has more damage than health, they're rightfully accused.";
say "[paragraph break]If your damage is too much, you will have consequences for your action!";
say "[paragraph break]The accusations may be repeated if desired.";
say "[paragraph break][bold type]Healing![roman type]The only way to heal is to survive the appropriate encounter. So, if you finally find who the killer is, you will need to win an accusation battle in order to heal up.".
say "You do not have enough experience to purchase health!".
Understand "accuse [something]" as accusing. Accusing is an action applying to one visible thing.
Carry out accusing when the noun is a person and the noun is not the player:
if the crime solved is false and the noun is Officer Arnold:
say "Officer Arnold looks at you confused and says 'I know we haven't known each other long, but why in the world would accuse your partner with such baseless accusations?'";
otherwise:
if the health of the noun > the damage of the noun:
let encounter roll be strength of player;
repeat with die running from 1 to dice pool of player:
let die roll be a random number from 1 to 6;
increase encounter roll by die roll;
decrease encounter roll by defense of the noun;
if encounter roll is less than 0:
let encounter roll be 0;
say "You exclaim 'I accuse you, [the noun]!'";
increase the damage of the noun by encounter roll;
let encounter roll be strength of the noun;
repeat with die running from 1 to dice pool of the noun:
let die roll be a random number from 1 to 6;
increase encounter roll by die roll;
decrease encounter roll by defense of the player;
if encounter roll is less than 0:
let encounter roll be 0;
say "[the noun] says 'But, I didn't do it!'.";
increase the damage of the player by encounter roll;
otherwise:
say "Unimpressed with your accusations, [the noun] has received enough for the day.".
Carry out accusing when the noun is a person and the noun is the player:
say "[paragraph break][bold type]You have earned 10 experience and can spend them at some point. Type in help for what you can spend them on.[roman type]";