1
0
Fork 0
mirror of https://github.com/ganelson/inform.git synced 2024-07-08 01:54:21 +03:00
inform7/resources/Documentation/Examples/Alliances.txt
2019-03-16 13:12:11 +00:00

23 lines
1,012 B
Plaintext

* Defining new assertion verbs
(Shifting alliances among people; Unthinkable Alliances)
People are to be grouped into alliances. To kiss someone is to join his or her faction, which may make a grand alliance; to strike them is to give notice of quitting, and to become a lone wolf.
The following is best tested by experimentally kissing and/or attacking, and typing RELATIONS after every change to see the effect.
{*}"Unthinkable Alliances"
Unthinkable Solutions is a room. Sophie, Daisy, Ryan and Owen are in Unthinkable Solutions.
Alliance relates people to each other in groups. The verb to help means the alliance relation.
Sophie helps Ryan. Daisy helps Ryan. Owen helps the player.
Instead of kissing someone (called the blessed one):
say "Smack!";
now the player helps the blessed one.
Instead of attacking someone (called the vilified one):
say "Smack!";
now the player does not help the vilified one.
Test me with "relations / kiss sophie / relations / hit ryan / relations".