I want people to have a build-in text which varies depending on their stats. It can be done by changing each of the text of each of the persons every turn. But this seem a heavy-handed. Is there a cleaner way?
My heavy-handed approach:
[code]A person has a number called eyesight. The eyesight of a person is usually 50.
A person has some text called watching-description. The watching-description of a person is usually “this one get changed to fit the person by the every turn rule. (don’t work in first turn)”.
An every turn rule:
Repeat with selected-person running through person:
if eyesight of selected-person is greater than 30:
Now the watching-description of selected-person is “razer sharp ultra-vision!!!”;
otherwise:
Now the watching-description of selected-person is “your eyes.”;
Instead of examining something (called gazed-upon-stuff): say “You clevery watches the [gazed-upon-stuff] with your [watching-description of actor][line break]”.
Open Field is a room.
Jinz is a man in Open Field. The player is Jinz.
The star is a thing in Open Field.[/code]
I also tried cramming the if/otherwise-code into a single line, but then it thinks that the noun I’m talking about is the star:
[code]A person has a number called eyesight. The eyesight of a person is usually 50.
A person has some text called bee-fun. The bee-fun of a person is usually “[if eyesight of noun is greater than 30]razer sharp ultra-vision!!![otherwise]your eyes”.
Instead of examining something (called gazed-upon-stuff): say “You clevery watches the [gazed-upon-stuff] with your [bee-fun of actor][line break]”.
Open Field is a room.
Jinz is a man in Open Field. The player is Jinz.
The star is a thing in Open Field.[/code]