Smell restrictions (ADRIFT 5 example)

From IFWiki

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".

"(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: Odour

Property of: (selected)Any Item

Type: (selected)Text

Locations

Street

Short description: 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!)

(checked)Odour: You pick up a faint odour from below.

Sewer

Short description: Sewer

Long description: You are in a sewer. The street is above you.

Move Up to: Street

Objects

Flower

Name/Noun(s): flower

Object type: (selected)Dynamic

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

Description: It's just a nice flower. You don't know what type.

(checked)Odour: It smells wonderful.

Spacesuit

Name/Noun(s): spacesuit suit

Object type: (selected)Dynamic

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

Description: Spacesuits are wonderful things, but they make EVERYONE look fat.

(checked)Object is wearable

Sewage

Article: some

Name/Noun(s): sewage

Object type: (selected)Static

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

Description: Horrible smelly sewage is everywhere in the sewer.

(checked)Specifically list object in location descriptions

(checked)Odour: It reeks.

Tasks

Smell Something

Task Name: Smell something

Task Type: (selected)General

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

Task Type: (selected)General

Enter any number of commands: [smell/sniff]

Actions:

  • Execute task 'smell something' (%Player%.Location)

Sewage Overwhelms

Task Name: Smell Overwhelms

Task Type: (selected)Specific

Task should: (selected)Override (selected)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 Type: (selected)Specific

Task should: (selected)Override (selected)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'