Named state labels for every not clause.

This commit is contained in:
Eric S. Raymond 2017-07-03 07:00:42 -04:00
parent bf209577a5
commit f48ec1eb36

View file

@ -618,7 +618,8 @@ locations: !!omap
short: 'You''re below the grate.' short: 'You''re below the grate.'
conditions: {LIT: true} conditions: {LIT: true}
travel: [ travel: [
{verbs: [OUT, UPWAR], cond: [not, GRATE, GRATE_CLOSED], action: [goto, LOC_GRATE]}, {verbs: [OUT, UPWAR], cond: [not, GRATE, GRATE_CLOSED],
action: [goto, LOC_GRATE]},
{verbs: [OUT], action: [speak, GRATE_NOWAY]}, {verbs: [OUT], action: [speak, GRATE_NOWAY]},
{verbs: [CRAWL, COBBL, INWAR, WEST], action: [goto, LOC_COBBLE]}, {verbs: [CRAWL, COBBL, INWAR, WEST], action: [goto, LOC_COBBLE]},
{verbs: [PIT], action: [goto, LOC_PITTOP]}, {verbs: [PIT], action: [goto, LOC_PITTOP]},
@ -646,10 +647,10 @@ locations: !!omap
short: 'You''re in debris room.' short: 'You''re in debris room.'
conditions: {} conditions: {}
travel: [ travel: [
{verbs: [DEPRE], cond: [not, GRATE, GRATE_CLOSED], action: [goto, LOC_GRATE]}, {verbs: [DEPRE], cond: [not, GRATE, GRATE_CLOSED],
action: [goto, LOC_GRATE]},
{verbs: [ENTRA], action: [goto, LOC_BELOWGRATE]}, {verbs: [ENTRA], action: [goto, LOC_BELOWGRATE]},
{verbs: [CRAWL, COBBL, PASSA, LOW, EAST], {verbs: [CRAWL, COBBL, PASSA, LOW, EAST], action: [goto, LOC_COBBLE]},
action: [goto, LOC_COBBLE]},
{verbs: [CANYO, INWAR, UPWAR, WEST], action: [goto, LOC_AWKWARD]}, {verbs: [CANYO, INWAR, UPWAR, WEST], action: [goto, LOC_AWKWARD]},
{verbs: [XYZZY], action: [goto, LOC_FOOF2]}, {verbs: [XYZZY], action: [goto, LOC_FOOF2]},
{verbs: [PIT], action: [goto, LOC_PITTOP]}, {verbs: [PIT], action: [goto, LOC_PITTOP]},
@ -660,7 +661,8 @@ locations: !!omap
short: !!null short: !!null
conditions: {} conditions: {}
travel: [ travel: [
{verbs: [DEPRE], cond: [not, GRATE, GRATE_CLOSED], action: [goto, LOC_GRATE]}, {verbs: [DEPRE], cond: [not, GRATE, GRATE_CLOSED],
action: [goto, LOC_GRATE]},
{verbs: [ENTRA], action: [goto, LOC_BELOWGRATE]}, {verbs: [ENTRA], action: [goto, LOC_BELOWGRATE]},
{verbs: [D, EAST, DEBRI], action: [goto, LOC_DEBRIS]}, {verbs: [D, EAST, DEBRI], action: [goto, LOC_DEBRIS]},
{verbs: [INWAR, UPWAR, WEST], action: [goto, LOC_BIRD]}, {verbs: [INWAR, UPWAR, WEST], action: [goto, LOC_BIRD]},
@ -676,7 +678,8 @@ locations: !!omap
conditions: {} conditions: {}
hints: [*bird] hints: [*bird]
travel: [ travel: [
{verbs: [DEPRE], cond: [not, GRATE, GRATE_CLOSED], action: [goto, LOC_GRATE]}, {verbs: [DEPRE], cond: [not, GRATE, GRATE_CLOSED],
action: [goto, LOC_GRATE]},
{verbs: [ENTRA], action: [goto, LOC_BELOWGRATE]}, {verbs: [ENTRA], action: [goto, LOC_BELOWGRATE]},
{verbs: [DEBRI], action: [goto, LOC_DEBRIS]}, {verbs: [DEBRI], action: [goto, LOC_DEBRIS]},
{verbs: [CANYO, EAST], action: [goto, LOC_AWKWARD]}, {verbs: [CANYO, EAST], action: [goto, LOC_AWKWARD]},
@ -690,7 +693,8 @@ locations: !!omap
short: 'You''re at top of small pit.' short: 'You''re at top of small pit.'
conditions: {} conditions: {}
travel: [ travel: [
{verbs: [DEPRE], cond: [not, GRATE, GRATE_CLOSED], action: [goto, LOC_GRATE]}, {verbs: [DEPRE], cond: [not, GRATE, GRATE_CLOSED],
action: [goto, LOC_GRATE]},
{verbs: [ENTRA], action: [goto, LOC_BELOWGRATE]}, {verbs: [ENTRA], action: [goto, LOC_BELOWGRATE]},
{verbs: [DEBRI], action: [goto, LOC_DEBRIS]}, {verbs: [DEBRI], action: [goto, LOC_DEBRIS]},
{verbs: [PASSA, EAST], action: [goto, LOC_BIRD]}, {verbs: [PASSA, EAST], action: [goto, LOC_BIRD]},
@ -835,7 +839,8 @@ locations: !!omap
conditions: {DEEP: true} conditions: {DEEP: true}
travel: [ travel: [
{verbs: [UPWAR, OUT], action: [goto, LOC_WESTEND]}, {verbs: [UPWAR, OUT], action: [goto, LOC_WESTEND]},
{verbs: [CLIMB], cond: [not, PLANT, 2], action: [goto, LOC_BUILDING1]}, {verbs: [CLIMB], cond: [not, PLANT, PLANT_GROWN],
action: [goto, LOC_BUILDING1]},
{verbs: [CLIMB], action: [goto, LOC_CLIMBSTALK]}, {verbs: [CLIMB], action: [goto, LOC_CLIMBSTALK]},
] ]
- LOC_CLIMBSTALK: - LOC_CLIMBSTALK:
@ -900,7 +905,8 @@ locations: !!omap
short: !!null short: !!null
conditions: {DEEP: true} conditions: {DEEP: true}
travel: [ travel: [
{verbs: [], cond: [not, PLANT, 1], action: [goto, LOC_NOCLIMB]}, {verbs: [], cond: [not, PLANT, PLANT_BELLOWING],
action: [goto, LOC_NOCLIMB]},
{verbs: [], action: [goto, LOC_PLANTTOP]}, {verbs: [], action: [goto, LOC_PLANTTOP]},
] ]
- LOC_SNAKEBLOCK: - LOC_SNAKEBLOCK:
@ -1874,7 +1880,7 @@ locations: !!omap
sound: STREAM_SPLASHES sound: STREAM_SPLASHES
travel: [ travel: [
{verbs: [SOUTH, OUT], action: [goto, LOC_MIRRORCANYON]}, {verbs: [SOUTH, OUT], action: [goto, LOC_MIRRORCANYON]},
{verbs: [NORTH, ACROS, CROSS], cond: [not, RESER, 1], action: [speak, BAD_DIRECTION]}, {verbs: [NORTH, ACROS, CROSS], cond: [not, RESER, WATERS_PARTED], action: [speak, BAD_DIRECTION]},
{verbs: [NORTH], action: [goto, LOC_RESBOTTOM]}, {verbs: [NORTH], action: [goto, LOC_RESBOTTOM]},
] ]
- LOC_DEADEND12: - LOC_DEADEND12:
@ -3405,10 +3411,8 @@ objects: !!omap
immovable: true immovable: true
descriptions: descriptions:
- 'There is a tiny little plant in the pit, murmuring "water, water, ..."' - 'There is a tiny little plant in the pit, murmuring "water, water, ..."'
- |- - [PLANT_BELLOWING, 'There is a 12-foot-tall beanstalk stretching up out of the pit,\nbellowing "WATER!! WATER!!"']
There is a 12-foot-tall beanstalk stretching up out of the pit, - [PLANT_GROWN, 'There is a gigantic beanstalk stretching all the way up to the hole.']
bellowing "WATER!! WATER!!"
- 'There is a gigantic beanstalk stretching all the way up to the hole.'
- 'The plant spurts into furious growth for a few seconds.' - 'The plant spurts into furious growth for a few seconds.'
- 'The plant grows explosively, almost filling the bottom of the pit.' - 'The plant grows explosively, almost filling the bottom of the pit.'
- 'You''ve over-watered the plant! It''s shriveling up! And now . . .' - 'You''ve over-watered the plant! It''s shriveling up! And now . . .'