#
# motions: Motion words, grouped into synonyms. The 'oldstyle'
# attribute, if false, means that single-letter synonyms should be
-# accepted in oldstyle mode; it defaults to truie.
+# accepted in oldstyle mode; it defaults to true.
# actions: Action words, grouped into synonyms, and their corresponding
# default messages. The 'oldstyle' attribute is as for motions.
# [with, OBJ] Must be carrying or in room with
# [not, OBJ N] Property of named OBJ must not be N.
# N may be numeric or a state label.
+# [nodwarves] Dwarves must skip this rule.
# All attributes are optional except the long description and
# travel. Order of locations is not significant.
#
travel: [
{verbs: ['EAST'], action: [goto, LOC_LONGEAST]},
{verbs: ['NORTH'], action: [goto, LOC_CROSSOVER]},
- {verbs: ['SOUTH'], cond: [carry, OBJ_0], action: [goto, LOC_DIFFERENT1]},
+ {verbs: ['SOUTH'], cond: ["nodwarves"], action: [goto, LOC_DIFFERENT1]},
]
- LOC_CROSSOVER:
description:
- RIDICULOUS_ATTEMPT: 'Don''t be ridiculous!'
- RUSTY_DOOR: 'The door is extremely rusty and refuses to open.'
- SHAKING_LEAVES: 'The plant indignantly shakes the oil off its leaves and asks, "Water?"'
-- RUSTED_HINGES: 'The hinges are quite thoroughly rusted now and won''t budge.'
-- OILED_NINGES: 'The oil has freed up the hinges so that the door will now move,\nalthough it requires some effort.'
- DEEP_ROOTS: 'The plant has exceptionally deep roots and cannot be pulled free.'
- KNIVES_VANISH: 'The dwarves'' knives vanish as they strike the walls of the cave.'
- MUST_DROP: 'Something you''re carrying won''t fit through the tunnel with you.\nYou''d best take inventory and drop something.'
locations: LOC_IMMENSE
immovable: true
descriptions:
- - 'The way north is barred by a massive, rusty, iron door.'
- - 'The way north leads through a massive, rusty, iron door.'
+ - [DOOR_RUSTED, 'The way north is barred by a massive, rusty, iron door.']
+ - [DOOR_UNRUSTED, 'The way north leads through a massive, rusty, iron door.']
+ changes:
+ - 'The hinges are quite thoroughly rusted now and won''t budge.'
+ - 'The oil has freed up the hinges so that the door will now move,\nalthough it requires some effort.'
- PILLOW:
words: ['pillo', 'velve']
inventory: 'Velvet pillow'
- [TROLL_GONE, ''] # chased away
sounds:
- 'The troll sounds quite adamant in his demand for a treasure.'
+ - 'The troll sounds quite adamant in his demand for a treasure.'
- TROLL2:
words: ['troll']
inventory: '*phony troll'
locations: LOC_GIANTROOM
treasure: true
descriptions:
- - 'There is a large nest here, full of golden eggs!'
- - 'The nest of golden eggs has vanished!'
- - 'Done!'
+ - [EGGS_HERE, 'There is a large nest here, full of golden eggs!']
+ - [EGGS_VANISHED, 'The nest of golden eggs has vanished!']
+ - [EGGS_DONE, 'Done!']
- TRIDENT:
words: ['tride']
inventory: 'Jeweled trident'