i have a character sheet for my player which shows my stats.
Jammy is a man in the room. The player is Jammy. my question is what can i add so that i can display Jammy as name on character’s sheet as i have more than one playable character each with there own stats. this would help player keep track as they switch
Hi,
You would need to add:
Rule for printing the name of Jammy: say "Jammy".
Then wherever you refer to [player]
in a say statement, it will print Jammy.
See also the example Terror of the Sierra Madre
in the docs at 8.9. Moving the player (ganelson.github.io)
2 Likes
Maybe the use of “the printed name of the player” is enough for all characters ?
Lab is a room.
The garden is west of Lab.
The white box is an openable closed container in Lab.
Jammy is a man in Lab
Susan is a woman in Lab.
When play begins:
now the player is Jammy;
After opening the white box:
now the player is Susan;
continue the action.
After going to the garden:
say "The name of the player is [the printed name of the player]";
continue the action.
Lab
You can see your former self, a white box (closed) and Susan here.
>w
The name of the player is Jammy
garden
>e
Lab
You can see your former self, a white box (closed) and Susan here.
>open white box
Jammy opens the white box.
>w
The name of the player is Susan
garden
>
thank you all very much for putting up with me.