IF:FinalDecision-node: Unterschied zwischen den Versionen

Aus Philo Wiki
Wechseln zu:Navigation, Suche
(Eine Art Einleitung)
 
(8 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 3: Zeile 3:
 
|topography=SunCityTop
 
|topography=SunCityTop
 
|closed=closed
 
|closed=closed
|node-introduction=say "[italic type]Suddenly you find yourself again lying on the garden in front of the palace. Skoraste is smoking a cigarette, staring at you.[normal type]";
+
|node-introduction=say "'Oh,' she says. 'Back again in our world?'[paragraph break]";
say "'Oh,' she says. 'Back again in our world?'[paragraph break]";
 
 
say "'What happened?' you ask.[paragraph break]";
 
say "'What happened?' you ask.[paragraph break]";
 
say "'I showed you four rooms of this palace. You have seen our life-style from different points of view. I would be interested to learn about your reaction,' Skoraste says.[paragraph break]";
 
say "'I showed you four rooms of this palace. You have seen our life-style from different points of view. I would be interested to learn about your reaction,' Skoraste says.[paragraph break]";
say "[italic type]You begin to remember.[paragraph break]";
+
say "You begin to remember.[paragraph break]";
 
say "'It has been a strange experience. I have never before met such customs and I do not understand how one can possibly live in that way. There is, to begin with, a great number of prohibitions.'[paragraph break]";
 
say "'It has been a strange experience. I have never before met such customs and I do not understand how one can possibly live in that way. There is, to begin with, a great number of prohibitions.'[paragraph break]";
 
say "'As you have seen, we renounce excessive luxury. We do so in order to protect our mind against unappropriate thoughts,' she continues.[space]";
 
say "'As you have seen, we renounce excessive luxury. We do so in order to protect our mind against unappropriate thoughts,' she continues.[space]";
Zeile 19: Zeile 18:
 
say "'Our citizens are educated according to the highest principles of beauty and goodness and their musical education is extremely important because rhythm and harmony penetrate most deeply into the soul. Those experiences strongly form their attitude and determine their character. If one is properly educated he will achieve a noble position, if not, the opposite occurs. Now, ionic and lydian keys are soft and unsuited for brave men and warriors. Myxolydian and syntonolydian keys, on their part, match a mind complaining and moaning. It is for these reason that we allow only the Lyra and the Kithara in our palace. Their tunes are in the Doric and the Phrygian key, rousing the first one and serenely contemplative the other. Courageous and sensitive men, in luck and misfortune, can find the appropriate posture supported by them.'[space]";
 
say "'Our citizens are educated according to the highest principles of beauty and goodness and their musical education is extremely important because rhythm and harmony penetrate most deeply into the soul. Those experiences strongly form their attitude and determine their character. If one is properly educated he will achieve a noble position, if not, the opposite occurs. Now, ionic and lydian keys are soft and unsuited for brave men and warriors. Myxolydian and syntonolydian keys, on their part, match a mind complaining and moaning. It is for these reason that we allow only the Lyra and the Kithara in our palace. Their tunes are in the Doric and the Phrygian key, rousing the first one and serenely contemplative the other. Courageous and sensitive men, in luck and misfortune, can find the appropriate posture supported by them.'[space]";
 
say "You stare at Skoraste and she stares back. Her mien shows you that you have to come to a decision now. While you are standing here in front of Skoraste and her patient-questioningly glance, your mind circles around three options:[paragraph break]
 
say "You stare at Skoraste and she stares back. Her mien shows you that you have to come to a decision now. While you are standing here in front of Skoraste and her patient-questioningly glance, your mind circles around three options:[paragraph break]
[bold type](Option 1)[roman type] You stay here and blend into the community and fulfill your task. This means rejecting your old life as a thief.[add AffirmationOption tell suggestion][paragraph break]
+
[bold type](1)[roman type] You stay here and blend into the community and fulfill your task. This means rejecting your old life as a thief.[add AffirmationOption tell suggestion][line break]
[bold type](Option 2)[roman type] Your stay in the palace has certainly been interesting. But staying here for the rest of your life?. You ask for more time to revisit your options.[add TertiumDaturOption tell suggestion][paragraph break]
+
[bold type](2)[roman type] Your stay in the palace has certainly been interesting. But staying here for the rest of your life? You ask for more time to revisit your options.[add TertiumDaturOption tell suggestion][line break]
[bold type](Option 3)[roman type] Everything you have seen here puts you off. You tell Skoraste that you are sorry but that your visit has just been a waste of time. Laeving the place, you will never come back.[add dontLikeItHereOption tell suggestion]".
+
[bold type](3)[roman type] Everything you have seen here puts you off. You tell Skoraste that you are sorry but that your visit has just been a waste of time. Leaving the place, you will never come back.[add dontLikeItHereOption tell suggestion]".
|additional code=Instead of doing something when the node of Skoraste is FinalDecision-node and a crowd is in the location:
+
|additional code=Understand "you go for option 1" or "go for option 1" or "option 1" or "option one" or "1" as "[AffirmationOption]".
award 100 points;
+
Understand "you go for option 2" or "go for option 2" or "option 2" or "option two" or "2" as "[TertiumDaturOption]".
end the game saying "You take the metro back and observe how Bushido, your fellow gang-member, is stealing a bracelet from a little girl that is busy licking its icecream. Slipping the bracelet into his pocket he checks whether someone has noticed. You meet his gaze.".
+
Understand "you go for option 3" or "go for option 3" or "option 3" or "option three" or "3" as "[dontLikeItHereOption]".
 +
The printed name of AffirmationOption is "option 1".
 +
The printed name of TertiumDaturOption is "option 2".
 +
The printed name of dontLikeItHereOption is "option 3".
  
Understand "you go for option 1" or "go for option 1" or "option 1" or "option one" as "[AffirmationOption]".
+
After reading a command when dontLikeItHereOption is listed in the tell-suggestions of finaldecision-node:
Understand "you go for option 2" or "go for option 2" or "option 2" or "option two" as "[TertiumDaturOption]".
+
let p be indexed text;
Understand "you go for option 3" or "go for option 3" or "option 3" or "option three" as "[dontLikeItHereOption]".
+
let p be the player's command;
The printed name of AffirmationOption is "you go for option 1".
+
if the player's command matches the text "1" or the player's command matches the text "one", case insensitively begin;
The printed name of TertiumDaturOption is "you go for option 2".
+
[try the player telling Skoraste about "option 1";]
The printed name of dontLikeItHereOption is "you go for option 3".
+
replace the regular expression ".*1.*" in p with "t option 1";
 +
replace the regular expression ".*one.*" in p with "t option 1";
 +
change the text of the player's command to p;
 +
else if the player's command matches the text "2" or the player's command matches the text "two";
 +
replace the regular expression ".*2.*" in p with "t option 2";
 +
replace the regular expression ".*two.*" in p with "t option 2";
 +
change the text of the player's command to p;
 +
[try the player telling Skoraste about "option 2";]
 +
else if the player's command matches the text "3" or the player's command matches the text "three";
 +
replace the regular expression ".*3.*" in p with "t option 3";
 +
replace the regular expression ".*three.*" in p with "t option 3";
 +
change the text of the player's command to p;
 +
[try the player telling Skoraste about "option 3";]
 +
else if the player's command matches the text "topics";
 +
do nothing;
 +
else;
 +
say "Quartum non datur.";
 +
reject the player's command;
 +
end if.
 
}}
 
}}
 
{{IFResponse
 
{{IFResponse
Zeile 37: Zeile 57:
 
|condition="[dontLikeItHereOption]"
 
|condition="[dontLikeItHereOption]"
 
|response=say "'It seems that you spent a lot of time to come up with these rules,' you say. 'But I do not consider myself to be a citizen pre-ordained to serve the higher cause of the state and renounce my individual pleasure. There is no entertainment, only monotony in your designer state. I want to have fun and money and prefer to resume my old life.'[paragraph break]";
 
|response=say "'It seems that you spent a lot of time to come up with these rules,' you say. 'But I do not consider myself to be a citizen pre-ordained to serve the higher cause of the state and renounce my individual pleasure. There is no entertainment, only monotony in your designer state. I want to have fun and money and prefer to resume my old life.'[paragraph break]";
say "Notalp suddenly enters and shouts angrily, 'You have no insight into the Good! This is the reason why you cannot understand our life. You have to leave my territory immediately!'[space]";
+
say "Notalp suddenly enters and shouts angrily, 'You have no insight into the Good! This is the reason why you cannot understand our life. You have to leave my territory immediately!'[remove dontLikeItHereOption tell suggestion][remove TertiumDaturOption tell suggestion][remove AffirmationOption tell suggestion][space]";
 
end the game saying "You depart and join your former gang. They welcome you back and you improve your skills as a thief until, in the end, you become a perfect thief. If it can be stolen, it can be yours. No less, and also: no more.".
 
end the game saying "You depart and join your former gang. They welcome you back and you improve your skills as a thief until, in the end, you become a perfect thief. If it can be stolen, it can be yours. No less, and also: no more.".
 
}}
 
}}
Zeile 44: Zeile 64:
 
|condition="[TertiumDaturOption]"
 
|condition="[TertiumDaturOption]"
 
|response=say "'I can see that your state is a challenge to the life I came from,' you say. 'But your citizens pay an enormous price to achieve the goal of justice. They are constantly put into the straight-jacket of political correctness and expelled from the community if they do not conform to its regulations. I'll think about my options.'[paragraph break]";
 
|response=say "'I can see that your state is a challenge to the life I came from,' you say. 'But your citizens pay an enormous price to achieve the goal of justice. They are constantly put into the straight-jacket of political correctness and expelled from the community if they do not conform to its regulations. I'll think about my options.'[paragraph break]";
say "'We hope you come back again,' Skoraste says with a wise smile. 'Maybe you should take a walk. While you are revisiting your options, I am going to water the plants. Enjoy the nice weather.'[space]";
+
say "'We hope you come back again,' Skoraste says with a wise smile. 'Maybe you should take a walk. While you are revisiting your options, I am going to water the plants. Enjoy the nice weather.'[remove dontLikeItHereOption tell suggestion][remove TertiumDaturOption tell suggestion][remove AffirmationOption tell suggestion][space]";
 
try silently saying goodbye to Skoraste;
 
try silently saying goodbye to Skoraste;
 
say "[italic type]You decide to take the metro because it's too sunny over ground.[roman type][paragraph break]";
 
say "[italic type]You decide to take the metro because it's too sunny over ground.[roman type][paragraph break]";
now the stadion metro is in SunCityStation;
 
 
now the player is in SunCityStation;
 
now the player is in SunCityStation;
now the next stop of the stadion metro is Krieau;
+
say "[italic type]You get out at Praterstern to buy something to eat.[space]";
now the stop number of the stadion metro is 9;
+
award 100 points;
now the stadion metro is functional;
+
end the game saying "Suddenly you observe how Bushido, your fellow gang-member, is stealing a bracelet from a little girl that is busy licking its icecream. Slipping the bracelet into his pocket he checks whether someone has noticed. You meet his gaze.".
now the karlsplatz metro is functional;
 
try the player entering the stadion metro.
 
 
}}
 
}}
 
{{IFResponse
 
{{IFResponse
Zeile 59: Zeile 76:
 
|condition="[AffirmationOption]"
 
|condition="[AffirmationOption]"
 
|response=say "'I see, you have thought of everything,' you say. 'Nobody here would ever even think of unjust behavior. I can fancy nothing better than to stay here for good. Just tell me which work I should do, and I will be from now on a loyal tenant.'[paragraph break]";
 
|response=say "'I see, you have thought of everything,' you say. 'Nobody here would ever even think of unjust behavior. I can fancy nothing better than to stay here for good. Just tell me which work I should do, and I will be from now on a loyal tenant.'[paragraph break]";
say "Notalp comes out from the palace. Fanfare sounds. 'That is very pleasant,' Notalp says and claps in his hands. 'You have understood what this community is about.'[space]";
+
say "Notalp comes out from the palace. Fanfare sounds. 'That is very pleasant,' Notalp says and claps in his hands. 'You have understood what this community is about.'[remove dontLikeItHereOption tell suggestion][remove TertiumDaturOption tell suggestion][remove AffirmationOption tell suggestion][space]";
 
end the game saying "This is the beginning of your life as a palace guardian. As an initial present Notalp offers you a book, beautifully printed on high-quality paper. It seem to deal with how to build a state that guarantees justice to all its citizens.".
 
end the game saying "This is the beginning of your life as a palace guardian. As an initial present Notalp offers you a book, beautifully printed on high-quality paper. It seem to deal with how to build a state that guarantees justice to all its citizens.".
 
}}
 
}}

Aktuelle Version vom 6. September 2009, 20:02 Uhr

<root><ignore><includeonly></ignore>[[IFSeqNr::<tplarg><title>seqnr</title><part><name index="1"/><value>50</value></part></tplarg>|]]<template><title>IFTodo</title><part><name>todo</name>=<value><tplarg><title>todo</title><part><name index="1"/><value/></part></tplarg></value></part><part><name>status</name>=<value><tplarg><title>status</title><part><name index="1"/><value/></part></tplarg></value></part></template> <template lineStart="1"><title>IFshowKosmos </title><part><name>topography</name>=<value><tplarg><title>topography</title><part><name index="1"/><value/></part></tplarg> </value></part></template> <div class="IFDetails">

<big>CONVNODE<br /></big>Details

gehört zu folgendem Abschnitt: [[IFTopographie::<template><title>IFreturnNS</title></template><tplarg><title>topography</title><part><name index="1"/><value>nicht zugeordnet</value></part></tplarg>|<tplarg><title>topography</title><part><name index="1"/><value>nicht zugeordnet</value></part></tplarg>]]


nutzt Suggestions: <div class="IFListing"><template><title>#if: <tplarg><title>other-suggestions</title><part><name index="1"/><value/></part></tplarg></title><part><name index="1"/><value><template><title>#arraymap:<tplarg><title>other-suggestions</title><part><name index="1"/><value/></part></tplarg></title><part><name index="1"/><value>,</value></part><part><name index="2"/><value>x</value></part><part><name index="3"/><value>[[IFnutztSuggestion::<template><title>IFreturnNS</title></template>x|x]]</value></part></template></value></part></template> </div>

</div> <template lineStart="1"><title>IFSetReturn </title><part><name index="1"/><value><template><title>PAGENAME</title></template> is a <template><title>#if: <tplarg><title>closed</title><part><name index="1"/><value/></part></tplarg> </title><part><name index="1"/><value><tplarg><title>closed</title><part><name index="1"/><value/></part></tplarg> convnode</value></part><part><name index="2"/><value>convnode</value></part></template><template><title>#if: <tplarg><title>next-node</title><part><name index="1"/><value/></part></tplarg> </title><part><name index="1"/><value>. The next-node is <tplarg><title>next-node</title><part><name index="1"/><value/></part></tplarg></value></part><part><name index="2"/><value/></part></template><template><title>#if: <tplarg><title>node-time</title><part><name index="1"/><value/></part></tplarg> </title><part><name index="1"/><value>. The node-time is <tplarg><title>node-time</title><part><name index="1"/><value/></part></tplarg></value></part><part><name index="2"/><value/></part></template><template><title>#if: <tplarg><title>ask-suggestions</title><part><name index="1"/><value/></part></tplarg> </title><part><name index="1"/><value>. The ask-suggestions are { <tplarg><title>ask-suggestions</title><part><name index="1"/><value/></part></tplarg> }</value></part><part><name index="2"/><value/></part></template><template><title>#if: <tplarg><title>tell-suggestions</title><part><name index="1"/><value/></part></tplarg> </title><part><name index="1"/><value>. The tell-suggestions are { <tplarg><title>tell-suggestions</title><part><name index="1"/><value/></part></tplarg> }</value></part><part><name index="2"/><value/></part></template><template><title>#if: <tplarg><title>other-suggestions</title><part><name index="1"/><value/></part></tplarg> </title><part><name index="1"/><value>. The other-suggestions are { <template><title>#arraymap:<tplarg><title>other-suggestions</title><part><name index="1"/><value/></part></tplarg></title><part><name index="1"/><value>,</value></part><part><name index="2"/><value>x</value></part><part><name index="3"/><value>x</value></part></template> }</value></part><part><name index="2"/><value/></part></template><template><title>IFreturnProperties</title><part><name index="1"/><value><template><title>#if: <tplarg><title>auto-suggesting</title><part><name index="1"/><value/></part></tplarg></title><part><name index="1"/><value><tplarg><title>auto-suggesting</title><part><name index="1"/><value/></part></tplarg>,</value></part></template></value></part></template>. <template><title>#if:<tplarg><title>todo</title><part><name index="1"/><value/></part></tplarg></title><part><name index="1"/><value>[<tplarg><title>todo</title></tplarg>]</value></part></template><template><title>#sub:<template><title>#if:<tplarg><title>additional code</title><part><name index="1"/><value/></part></tplarg> </title><part><name index="1"/><value>.

<tplarg lineStart="1"><title>additional code</title></tplarg></value></part></template><template><title>#if: <tplarg><title>node-introduction</title><part><name index="1"/><value/></part></tplarg> </title><part><name index="1"/><value>.

Node-introduction for <template><title>PAGENAME</title></template>: <template lineStart="1"><title>#sub:<tplarg><title>node-introduction</title></tplarg></title><part><name index="1"/><value>0</value></part><part><name index="2"/><value>-1</value></part></template></value></part></template><template><title>#if: <tplarg><title>node-continuation</title><part><name index="1"/><value/></part></tplarg> </title><part><name index="1"/><value>.

Node-continuation for <template><title>PAGENAME</title></template>: <template lineStart="1"><title>#sub:<tplarg><title>node-continuation</title></tplarg></title><part><name index="1"/><value>0</value></part><part><name index="2"/><value>-1</value></part></template></value></part></template><template><title>#if: <tplarg><title>node-termination</title><part><name index="1"/><value/></part></tplarg> </title><part><name index="1"/><value>.

Node-termination for <template><title>PAGENAME</title></template>: <template lineStart="1"><title>#sub:<tplarg><title>node-termination</title></tplarg></title><part><name index="1"/><value>0</value></part><part><name index="2"/><value>-1</value></part></template></value></part></template>.</title><part><name index="1"/><value>1</value></part></template></value></part></template> <ignore></includeonly></ignore></root> <root><ignore><includeonly></ignore><br /><template><title>IFSetReturnResponse </title><part><name index="1"/><value>Response of <template><title>PAGENAME</title></template> when <tplarg><title>type</title><part><name index="1"/><value/></part></tplarg> <tplarg><title>condition</title><part><name index="1"/><value/></part></tplarg>: <tplarg lineStart="1"><title>response</title><part><name index="1"/><value/></part></tplarg> </value></part></template><ignore></includeonly></ignore></root> <root><ignore><includeonly></ignore><br /><template><title>IFSetReturnResponse </title><part><name index="1"/><value>Response of <template><title>PAGENAME</title></template> when <tplarg><title>type</title><part><name index="1"/><value/></part></tplarg> <tplarg><title>condition</title><part><name index="1"/><value/></part></tplarg>: <tplarg lineStart="1"><title>response</title><part><name index="1"/><value/></part></tplarg> </value></part></template><ignore></includeonly></ignore></root> <root><ignore><includeonly></ignore><br /><template><title>IFSetReturnResponse </title><part><name index="1"/><value>Response of <template><title>PAGENAME</title></template> when <tplarg><title>type</title><part><name index="1"/><value/></part></tplarg> <tplarg><title>condition</title><part><name index="1"/><value/></part></tplarg>: <tplarg lineStart="1"><title>response</title><part><name index="1"/><value/></part></tplarg> </value></part></template><ignore></includeonly></ignore></root>