NPC Interaction Model v0.02
Continuing to try to get this to work. I've got a scaffolding I can start adding content to.
This commit is contained in:
21
story.ni
21
story.ni
@@ -19,12 +19,14 @@ A species is a kind of value. A person has a species. The species are vrash, v
|
||||
|
||||
The list of random dragon species is always {vrash, vashael, kalla, vohntrai, izerah, veserus, myrskor, myrghon, swaivshon}.
|
||||
|
||||
A current city is a kind of value. The current cities are defined by the Table of Cities. [Ethriel, Edge of Paradise, Kylon, Galrien, Nowhere, Norvsiik, Comptichrak, Myrhigh, Korltian, Akaveach, Whinge, Kantin, Rhaltin, Dartroveiln, Kravakaneke, Woodwall, Kreskechrak, Nerevehn, Asere, Mosdenechrak, Zyrine, Inrakaveach, Rhakanin, Suvkeyanin, Hiakoreska, Corvuseach, Hyvaline, Wyranine, Vishen, Ghost Farm, Mivsiik, Baunt, Fishergon's Retreat, Stone River, Sea's Bounty, Viviveyrm, Sovesviik, Xanasal, Raldrani, Moriskiik, Ediveyrm, Izaeyaranth, Polser, Mania, Ztornaranth, Borochrak, Iron Hills, Shraneyrm, Isoss, Shibanyet, Korjek, Sorjek, Wild Edge, Norickhum, Phoenix Sea, Theoma's Limit, Zyaket, Inevrae, Iyanti, Mundanity, Rodrimor, Onayraye, Uskadi, Skrend, Oriaryo, Tearvek, Irovek, Kyvsiveiln, Memory of Esseri, Memory of Tesam, and Memory of Chakocha.] The current city is usually Ethriel.
|
||||
A city record is a kind of value. The city records are defined by the Table of Cities. The current city is a city record that varies. The current city is initially Ethriel.
|
||||
|
||||
[A current city is a kind of value. The current cities are defined by the Table of Cities. [Ethriel, Edge of Paradise, Kylon, Galrien, Nowhere, Norvsiik, Comptichrak, Myrhigh, Korltian, Akaveach, Whinge, Kantin, Rhaltin, Dartroveiln, Kravakaneke, Woodwall, Kreskechrak, Nerevehn, Asere, Mosdenechrak, Zyrine, Inrakaveach, Rhakanin, Suvkeyanin, Hiakoreska, Corvuseach, Hyvaline, Wyranine, Vishen, Ghost Farm, Mivsiik, Baunt, Fishergon's Retreat, Stone River, Sea's Bounty, Viviveyrm, Sovesviik, Xanasal, Raldrani, Moriskiik, Ediveyrm, Izaeyaranth, Polser, Mania, Ztornaranth, Borochrak, Iron Hills, Shraneyrm, Isoss, Shibanyet, Korjek, Sorjek, Wild Edge, Norickhum, Phoenix Sea, Theoma's Limit, Zyaket, Inevrae, Iyanti, Mundanity, Rodrimor, Onayraye, Uskadi, Skrend, Oriaryo, Tearvek, Irovek, Kyvsiveiln, Memory of Esseri, Memory of Tesam, and Memory of Chakocha.] The current city is usually Ethriel.]
|
||||
|
||||
Amenities are a kind of value. The amenities are bathhouses, theaters, cardhouses, master artists, brothels, and bowling alleys.
|
||||
|
||||
Table of Cities
|
||||
Current City Local Amenities Special Amenity
|
||||
City Record Local Amenities Special Amenity
|
||||
Ethriel {bathhouses, theaters, cardhouses, master artists, bowling alleys} "Archive of Lost Things"
|
||||
|
||||
A home in Ethriel is a truth state that varies. A home in Ethriel is usually true.
|
||||
@@ -1640,9 +1642,9 @@ Instead of examining a person:
|
||||
Talking to is an action applying to one visible thing. Understand "talk to [someone]" or “converse with [someone]” or "talk [someone]" or "converse [someone]" as talking to. Carry out talking to a person:
|
||||
say "[description of the noun]";
|
||||
let the NPC be the noun;
|
||||
say "[line break]You could [NPCLink relax together link for the NPC] to try to hang out in the local bathhouse.";
|
||||
If current city is Ethriel:
|
||||
If current city is Ethriel:
|
||||
Now the player is carrying the relax together link;
|
||||
say "[line break]You could [NPCLink relax together link for the NPC] to try to hang out in the local bathhouse.";
|
||||
say "[line break]Until you talk to someone else or leave the room, these links will continue to work. This feature is in debug."
|
||||
|
||||
After playerporting rules is a rulebook.
|
||||
@@ -1660,8 +1662,15 @@ relax together link "relax together" relax together rules
|
||||
|
||||
Relax together rules is an object based rulebook.
|
||||
|
||||
A relax together rule for a person (called The NPC) in Your Favorite Bathhouse in Ethriel:
|
||||
say "'Hi! I'm [the NPC].' This feature is not yet implemented."
|
||||
A relax together rule for a person (called The NPC):
|
||||
[ let This City be the current city;
|
||||
choose the row with a city record column of This City in the Table of Cities;
|
||||
let This Amenities List be the Local Amenities entry;
|
||||
If bathhouses is listed in This Amenities List:]
|
||||
If bathhouses is listed in the Local Amenities of the current city:
|
||||
say "'Hi! I'm [the NPC].' This feature is not yet implemented.";
|
||||
Otherwise:
|
||||
say "There are no bathhouses in this city. How did you get this message?"
|
||||
|
||||
[Remember to come back and apply skill effects.
|
||||
|
||||
|
Reference in New Issue
Block a user