Smell restrictions (ADRIFT 5 example): Difference between revisions
No edit summary |
m (→Street) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 21: | Line 21: | ||
Long description: {{fq|You are in a street. The sewer is below you.}} | Long description: {{fq|You are in a street. The sewer is below you.}} | ||
Move Down to: {{fq|Sewer}} | Move Down to: {{fq|Sewer}} (You need to create the Sewer location first!) | ||
{{cx}}Odour: {{fq|You pick up a faint odour from below.}} | {{cx}}Odour: {{fq|You pick up a faint odour from below.}} | ||
Line 45: | Line 45: | ||
=== Spacesuit === | === Spacesuit === | ||
Name/Noun(s): {{fq|spacesuit}} | Name/Noun(s): {{fq|spacesuit}} {{fq|suit}} | ||
Object type: {{rx}}Dynamic | Object type: {{rx}}Dynamic | ||
Line 77: | Line 77: | ||
Enter any number of commands: {{fq|[smell/sniff] %item%}} | Enter any number of commands: {{fq|[smell/sniff] %item%}} | ||
Message to display on completion: | |||
*Default Description: {{fq|%item%.Odour}} | |||
*Referenced item must not have property odour: {{fq|You smell nothing unexpected.}} | |||
=== Smell === | === Smell === | ||
Line 84: | Line 88: | ||
Enter any number of commands: {{fq|[smell/sniff]}} | Enter any number of commands: {{fq|[smell/sniff]}} | ||
Execute task | Actions: | ||
* Execute task 'smell something' (%Player%.Location) | |||
=== Sewage Overwhelms === | === Sewage Overwhelms === | ||
Task Name: Smell Overwhelms | |||
Task Type: {{rx}}Specific | |||
Task should: {{rx}}Override {{rx}}Smell Something | |||
Message to display on completion: {{fq|The disgusting reek of the sewage overwhelms your nose. You can't smell anything else.}} | |||
Restrictions: | |||
* The PlayerCharacter must be in the same location as object 'some sewage' | |||
* The Player Character must not be wearing object 'a spacesuit' | |||
* Referenced item must not be object 'some sewage' | |||
=== Suit Blocks Smell === | === Suit Blocks Smell === | ||
Task Name: Suit Blocks Smell | |||
Task Type: {{rx}}Specific | |||
Task should: {{rx}}Override {{rx}}Smell Something | |||
Message to display on completion: {{fq|You can't smell anything while wearing the spacesuit.}} | |||
Restrictions: | |||
* The Player Character must be wearing object 'a spacesuit' | |||
* Referenced item must not be character 'Player' | |||
* Referenced item must not be object 'a spacesuit' | |||
[[Category:Smell restrictions (Example)]] [[Category:Examples of ADRIFT code]] | [[Category:Smell restrictions (Example)]] [[Category:Examples of ADRIFT code]] |
Latest revision as of 04:19, 9 October 2015
ADRIFT 5 is not written like a computer program, instead you click a button to create a new object and then fill in the details of that object on a form.
Where you see "Short description: Street
" this means that you should look for the line or text box labeled "Short description" and type in the text "Street".
" Dynamic" indicates that you should select this choice from a list.
" Object is wearable" indicates that you should click on this box to select it.
Properties
Odour
Locations
Street
Long description: You are in a street. The sewer is below you.
Move Down to: Sewer
(You need to create the Sewer location first!)
Odour:
You pick up a faint odour from below.
Sewer
Long description: You are in a sewer. The street is above you.
Objects
Flower
Initial Location: In Location
Street
Description: It's just a nice flower. You don't know what type.
Spacesuit
Initial Location: In Location
Street
Description: Spacesuits are wonderful things, but they make EVERYONE look fat.
Sewage
Initial Location: In Location
Sewer
Description: Horrible smelly sewage is everywhere in the sewer.
Specifically list object in location descriptions
Tasks
Smell Something
Task Name: Smell something
Enter any number of commands: [smell/sniff] %item%
Message to display on completion:
- Default Description:
%item%.Odour
- Referenced item must not have property odour:
You smell nothing unexpected.
Smell
Task Name: Smell
Enter any number of commands: [smell/sniff]
Actions:
- Execute task 'smell something' (%Player%.Location)
Sewage Overwhelms
Task Name: Smell Overwhelms
Task should: Override
Smell Something
Message to display on completion: The disgusting reek of the sewage overwhelms your nose. You can't smell anything else.
Restrictions:
- The PlayerCharacter must be in the same location as object 'some sewage'
- The Player Character must not be wearing object 'a spacesuit'
- Referenced item must not be object 'some sewage'
Suit Blocks Smell
Task Name: Suit Blocks Smell
Task should: Override
Smell Something
Message to display on completion: You can't smell anything while wearing the spacesuit.
Restrictions:
- The Player Character must be wearing object 'a spacesuit'
- Referenced item must not be character 'Player'
- Referenced item must not be object 'a spacesuit'