words: ['downs']
- MOT_6:
words: ['fores']
-- MOT_7:
+- FORWARD:
words: ['forwa', 'conti', 'onwar']
- BACK:
words: ['back', 'retur', 'retre']
words: ['valle']
- MOT_10:
words: ['stair']
-- MOT_11:
+- OUTSIDE:
words: ['out', 'outsi', 'exit', 'leave']
- MOT_12:
words: ['build', 'house']
words: ['fork']
- MOT_16:
words: ['bed']
-- MOT_17:
+- CRAWL:
words: ['crawl']
- MOT_18:
words: ['cobbl']
-- MOT_19:
+- INSIDE:
words: ['inwar', 'insid', 'in']
- MOT_20:
words: ['surfa']
words: ['giant']
- MOT_28:
words: ['view']
-- MOT_29:
+- UP:
words: ['upwar', 'up', 'u', 'above', 'ascen']
-- MOT_30:
+- DOWN:
words: ['d', 'downw', 'down', 'desce']
- MOT_31:
words: ['pit']
words: ['steps']
- MOT_35:
words: ['dome']
-- MOT_36:
+- LEFT:
words: ['left']
-- MOT_37:
+- RIGHT:
words: ['right']
- MOT_38:
words: ['hall']
words: ['over']
- MOT_42:
words: ['acros']
-- MOT_43:
+- EAST:
words: ['east', 'e']
-- MOT_44:
+- WEST:
words: ['west', 'w']
- MOT_45:
words: ['north', 'n']
- MOT_46:
words: ['south', 's']
-- MOT_47:
+- NE:
words: ['ne']
-- MOT_48:
+- SE:
words: ['se']
-- MOT_49:
+- SW:
words: ['sw']
-- MOT_50:
+- NW:
words: ['nw']
- MOT_51:
words: ['debri']
words: ['slit']
- MOT_61:
words: ['slab', 'slabr']
-- MOT_62:
+- XYZZY:
words: ['xyzzy']
- DPRSSN:
words: ['depre']
- ENTRNC:
words: ['entra']
-- MOT_65:
+- PLUGH:
words: ['plugh']
- MOT_66:
words: ['secre']
words: !!null
- MOT_69:
words: ['cross']
-- MOT_70:
+- FORWARD0:
words: ['bedqu']
-- MOT_71:
+- FORWARD1:
words: ['plove']
-- MOT_72:
+- FORWARD2:
words: ['orien']
-- MOT_73:
+- FORWARD3:
words: ['caver']
-- MOT_74:
+- FORWARD4:
words: ['shell']
-- MOT_75:
+- FORWARD5:
words: ['reser']
-- MOT_76:
+- FORWARD6:
words: ['main', 'offic']
actions: !!omap
/* Couldn't find an entry matching the motion word passed
* in. Various messages depending on word given. */
int spk = CANT_APPLY;
- if (motion >= MOT_43 && motion <= MOT_50)
+ if (motion >= EAST && motion <= NW)
spk = BAD_DIRECTION;
- if (motion == MOT_29 || motion == MOT_30)
+ if (motion == UP || motion == DOWN)
spk = BAD_DIRECTION;
- if (motion == MOT_7 || motion == MOT_36 || motion == MOT_37)
+ if (motion == FORWARD || motion == LEFT || motion == RIGHT)
spk = UNSURE_FACING;
- if (motion == MOT_11 || motion == MOT_19)
+ if (motion == OUTSIDE || motion == INSIDE)
spk = NO_INOUT_HERE;
if (verb == FIND || verb == INVENTORY)
spk = NEARBY;
- if (motion == MOT_62 || motion == MOT_65)
+ if (motion == XYZZY || motion == PLUGH)
spk = NOTHING_HAPPENS;
- if (motion == MOT_17)
+ if (motion == CRAWL)
spk = WHICH_WAY;
rspeak(spk);
return true;