Smell restrictions (ADRIFT 5 example): Difference between revisions

From IFWiki

No edit summary
No edit summary
Line 36: Line 36:
Name/Noun(s): {{fq|flower}}
Name/Noun(s): {{fq|flower}}


Object type: {{cx}}Dynamic
Object type: {{rx}}Dynamic


Initial Location: {{cx}}In Location {{cx}}Street
Initial Location: {{rx}}In Location {{rx}}Street


Description: {{fq|It's just a nice flower.  You don't know what type.}}
Description: {{fq|It's just a nice flower.  You don't know what type.}}
Line 47: Line 47:
Name/Noun(s): {{fq|spacesuit}}
Name/Noun(s): {{fq|spacesuit}}


Object type: {{cx}}Dynamic
Object type: {{rx}}Dynamic


Initial Location: {{cx}}In Location {{cx}}Street
Initial Location: {{rx}}In Location {{rx}}Street


Description: {{fq|Spacesuits are wonderful things, but they make EVERYONE look fat.}}
Description: {{fq|Spacesuits are wonderful things, but they make EVERYONE look fat.}}
Line 60: Line 60:
Name/Noun(s): {{fq|sewage}}
Name/Noun(s): {{fq|sewage}}


Object type: {{cx}}Static
Object type: {{rx}}Static


Initial Location: {{cx}}In Location {{cx}}Sewer
Initial Location: {{rx}}In Location {{rx}}Sewer


Description: {{fq|Horrible smelly sewage is everywhere in the sewer.}}
Description: {{fq|Horrible smelly sewage is everywhere in the sewer.}}


{{cx}}Spacifically list object in location descriptions
{{cx}}Specifically list object in location descriptions


{{cx}}Odour: {{fq|It reeks.}}
{{cx}}Odour: {{fq|It reeks.}}


== Tasks ==
=== Smell Something ===
Task Name: Smell something


Task Type: {{rx}}General


Enter any number of commands: {{fq|[smell/sniff] %item%}}
=== Smell ===
Task Name: Smell
Task Type: {{rx}}General
Enter any number of commands: {{fq|[smell/sniff]}}
==== Actions ====
Execute task {{fq|smell something}} Params: {{fq|%Player%.Location}}
=== Sewage Overwhelms ===
=== Suit Blocks Smell ===




[[Category:Smell restrictions (Example)]] [[Category:Examples of ADRIFT code]]
[[Category:Smell restrictions (Example)]] [[Category:Examples of ADRIFT code]]

Revision as of 02:08, 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: Field begin.pngStreetField end.png" this means that you should look for the line or text box labeled "Short description" and type in the text "Street".

"(selected) Dynamic" indicates that you should select this choice from a list.

"(checked) Object is wearable" indicates that you should click on this box to select it.

Properties

Odour

Name: Field begin.pngOdourField end.png

Property of: (selected)Any Item

Type: (selected)Text

Locations

Street

Short description: Field begin.pngStreetField end.png

Long description: Field begin.pngYou are in a street. The sewer is below you.Field end.png

Move Down to: Field begin.pngSewerField end.png

(checked)Odour: Field begin.pngYou pick up a faint odour from below.Field end.png

Sewer

Short description: Field begin.pngSewerField end.png

Long description: Field begin.pngYou are in a sewer. The street is above you.Field end.png

Move Up to: Field begin.pngStreetField end.png

Objects

Flower

Name/Noun(s): Field begin.pngflowerField end.png

Object type: (selected)Dynamic

Initial Location: (selected)In Location (selected)Street

Description: Field begin.pngIt's just a nice flower. You don't know what type.Field end.png

(checked)Odour: Field begin.pngIt smells wonderful.Field end.png

Spacesuit

Name/Noun(s): Field begin.pngspacesuitField end.png

Object type: (selected)Dynamic

Initial Location: (selected)In Location (selected)Street

Description: Field begin.pngSpacesuits are wonderful things, but they make EVERYONE look fat.Field end.png

(checked)Object is wearable

Sewage

Article: Field begin.pngsomeField end.png

Name/Noun(s): Field begin.pngsewageField end.png

Object type: (selected)Static

Initial Location: (selected)In Location (selected)Sewer

Description: Field begin.pngHorrible smelly sewage is everywhere in the sewer.Field end.png

(checked)Specifically list object in location descriptions

(checked)Odour: Field begin.pngIt reeks.Field end.png

Tasks

Smell Something

Task Name: Smell something

Task Type: (selected)General

Enter any number of commands: Field begin.png[smell/sniff] %item%Field end.png

Smell

Task Name: Smell

Task Type: (selected)General

Enter any number of commands: Field begin.png[smell/sniff]Field end.png

Actions

Execute task Field begin.pngsmell somethingField end.png Params: Field begin.png%Player%.LocationField end.png

Sewage Overwhelms

Suit Blocks Smell