Annotation of 43BSDReno/games/battlestar/words.c, revision 1.1.1.1

1.1       root        1: /*
                      2:  * Copyright (c) 1983 Regents of the University of California.
                      3:  * All rights reserved.
                      4:  *
                      5:  * Redistribution and use in source and binary forms are permitted
                      6:  * provided that: (1) source distributions retain this entire copyright
                      7:  * notice and comment, and (2) distributions including binaries display
                      8:  * the following acknowledgement:  ``This product includes software
                      9:  * developed by the University of California, Berkeley and its contributors''
                     10:  * in the documentation or other materials provided with the distribution
                     11:  * and in all advertising materials mentioning features or use of this
                     12:  * software. Neither the name of the University nor the names of its
                     13:  * contributors may be used to endorse or promote products derived
                     14:  * from this software without specific prior written permission.
                     15:  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
                     16:  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
                     17:  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
                     18:  */
                     19: 
                     20: #ifndef lint
                     21: static char sccsid[] = "@(#)words.c    5.3 (Berkeley) 6/1/90";
                     22: #endif /* not lint */
                     23: 
                     24: #include "externs.h"
                     25: 
                     26: struct wlist wlist[] = {
                     27:        { "knife",      KNIFE,          OBJECT },
                     28:        { "sword",      SWORD,          NOUNS },
                     29:        { "scabbard",   SWORD,          OBJECT },
                     30:        { "fine",       SWORD,          OBJECT },
                     31:        { "two-handed", TWO_HANDED,     OBJECT },
                     32:        { "cleaver",    CLEAVER,        OBJECT },
                     33:        { "broadsword", BROAD,          OBJECT },
                     34:        { "mail",       MAIL,           OBJECT },
                     35:        { "coat",       MAIL,           OBJECT },
                     36:        { "helmet",     HELM,           OBJECT },
                     37:        { "shield",     SHIELD,         OBJECT },
                     38:        { "maid",       MAID,           OBJECT },
                     39:        { "maid's",     MAID,           OBJECT },
                     40:        { "body",       BODY,           NOUNS },
                     41:        { "viper",      VIPER,          OBJECT },
                     42:        { "lamp",       LAMPON,         OBJECT },
                     43:        { "lantern",    LAMPON,         OBJECT },
                     44:        { "shoes",      SHOES,          OBJECT },
                     45:        { "pajamas",    PAJAMAS,        OBJECT },
                     46:        { "robe",       ROBE,           OBJECT },
                     47:        { "amulet",     AMULET,         NOUNS },
                     48:        { "medallion",  MEDALION,       NOUNS },
                     49:        { "talisman",   TALISMAN,       NOUNS },
                     50:        { "woodsman",   DEADWOOD,       OBJECT },
                     51:        { "woodsman's", DEADWOOD,       OBJECT },
                     52:        { "mallet",     MALLET,         OBJECT },
                     53:        { "laser",      LASER,          OBJECT },
                     54:        { "pistol",     LASER,          OBJECT },
                     55:        { "blaster",    LASER,          OBJECT },
                     56:        { "gun",        LASER,          OBJECT },
                     57:        { "goddess",    NORMGOD,        NOUNS },
                     58:        { "grenade",    GRENADE,        OBJECT },
                     59:        { "chain",      CHAIN,          OBJECT },
                     60:        { "rope",       ROPE,           OBJECT },
                     61:        { "levis",      LEVIS,          OBJECT },
                     62:        { "pants",      LEVIS,          OBJECT },
                     63:        { "mace",       MACE,           OBJECT },
                     64:        { "shovel",     SHOVEL,         OBJECT },
                     65:        { "halberd",    HALBERD,        OBJECT },
                     66:        { "compass",    COMPASS,        OBJECT },
                     67:        { "elf",        ELF,            OBJECT },
                     68:        { "coins",      COINS,          OBJECT },
                     69:        { "matches",    MATCHES,        OBJECT },
                     70:        { "match",      MATCHES,        OBJECT },
                     71:        { "book",       MATCHES,        OBJECT },
                     72:        { "man",        MAN,            NOUNS },
                     73:        { "papayas",    PAPAYAS,        OBJECT },
                     74:        { "pineapple",  PINEAPPLE,      OBJECT },
                     75:        { "kiwi",       KIWI,           OBJECT },
                     76:        { "coconuts",   COCONUTS,       OBJECT },
                     77:        { "mango",      MANGO,          OBJECT },
                     78:        { "ring",       RING,           OBJECT },
                     79:        { "potion",     POTION,         OBJECT },
                     80:        { "bracelet",   BRACELET,       OBJECT },
                     81:        { "timer",      TIMER,          NOUNS },
                     82:        { "bomb",       BOMB,           OBJECT },
                     83:        { "warhead",    BOMB,           OBJECT },
                     84:        { "girl",       NATIVE,         NOUNS },
                     85:        { "native",     NATIVE,         NOUNS },
                     86:        { "horse",      HORSE,          OBJECT },
                     87:        { "stallion",   HORSE,          OBJECT },
                     88:        { "car",        CAR,            OBJECT },
                     89:        { "volare",     CAR,            OBJECT },
                     90:        { "pot",        POT,            OBJECT },
                     91:        { "jewels",     POT,            OBJECT },
                     92:        { "bar",        BAR,            OBJECT },
                     93:        { "diamond",    BLOCK,          OBJECT },
                     94:        { "block",      BLOCK,          OBJECT },
                     95:        { "up",         UP,             VERB },
                     96:        { "u",          UP,             VERB },
                     97:        { "down",       DOWN,           VERB },
                     98:        { "d",          DOWN,           VERB },
                     99:        { "ahead",      AHEAD,          VERB },
                    100:        { "a",          AHEAD,          VERB },
                    101:        { "back",       BACK,           VERB },
                    102:        { "b",          BACK,           VERB },
                    103:        { "right",      RIGHT,          VERB },
                    104:        { "r",          RIGHT,          VERB },
                    105:        { "left",       LEFT,           VERB },
                    106:        { "l",          LEFT,           VERB },
                    107:        { "take",       TAKE,           VERB },
                    108:        { "get",        TAKE,           VERB },
                    109:        { "use",        USE,            VERB },
                    110:        { "look",       LOOK,           VERB },
                    111:        { "lo",         LOOK,           VERB },
                    112:        { "quit",       QUIT,           VERB },
                    113:        { "q",          QUIT,           VERB },
                    114:        { "su",         SU,             VERB },
                    115:        { "drop",       DROP,           VERB },
                    116:        { "draw",       DRAW,           VERB },
                    117:        { "pull",       DRAW,           VERB },
                    118:        { "carry",      DRAW,           VERB },
                    119:        { "wear",       WEARIT,         VERB },
                    120:        { "sheathe",    WEARIT,         VERB },
                    121:        { "put",        PUT,            VERB },
                    122:        { "buckle",     PUT,            VERB },
                    123:        { "strap",      PUT,            VERB },
                    124:        { "tie",        PUT,            VERB },
                    125:        { "inven",      INVEN,          VERB },
                    126:        { "i",          INVEN,          VERB },
                    127:        { "everything", EVERYTHING,     OBJECT },
                    128:        { "all",        EVERYTHING,     OBJECT },
                    129:        { "and",        AND,            CONJ },
                    130:        { "kill",       KILL,           VERB },
                    131:        { "fight",      KILL,           VERB },
                    132:        { "ravage",     RAVAGE,         VERB },
                    133:        { "rape",       RAVAGE,         VERB },
                    134:        { "undress",    UNDRESS,        VERB },
                    135:        { "throw",      THROW,          VERB },
                    136:        { "launch",     LAUNCH,         VERB },
                    137:        { "land",       LANDIT,         VERB },
                    138:        { "light",      LIGHT,          VERB },
                    139:        { "strike",     LIGHT,          VERB },
                    140:        { "follow",     FOLLOW,         VERB },
                    141:        { "chase",      FOLLOW,         VERB },
                    142:        { "kiss",       KISS,           VERB },
                    143:        { "love",       LOVE,           VERB },
                    144:        { "fuck",       LOVE,           VERB },
                    145:        { "give",       GIVE,           VERB },
                    146:        { "smite",      SMITE,          VERB },
                    147:        { "attack",     SMITE,          VERB },
                    148:        { "swing",      SMITE,          VERB },
                    149:        { "stab",       SMITE,          VERB },
                    150:        { "slice",      SMITE,          VERB },
                    151:        { "cut",        SMITE,          VERB },
                    152:        { "hack",       SMITE,          VERB },
                    153:        { "shoot",      SHOOT,          VERB },
                    154:        { "blast",      SHOOT,          VERB },
                    155:        { "on",         ON,             PREPS },
                    156:        { "off",        OFF,            PREPS },
                    157:        { "time",       TIME,           VERB },
                    158:        { "sleep",      SLEEP,          VERB },
                    159:        { "dig",        DIG,            VERB },
                    160:        { "eat",        EAT,            VERB },
                    161:        { "swim",       SWIM,           VERB },
                    162:        { "drink",      DRINK,          VERB },
                    163:        { "door",       DOOR,           NOUNS },
                    164:        { "save",       SAVE,           VERB },
                    165:        { "ride",       RIDE,           VERB },
                    166:        { "mount",      RIDE,           VERB },
                    167:        { "drive",      DRIVE,          VERB },
                    168:        { "start",      DRIVE,          VERB },
                    169:        { "score",      SCORE,          VERB },
                    170:        { "points",     SCORE,          VERB },
                    171:        { "bury",       BURY,           VERB },
                    172:        { "jump",       JUMP,           VERB },
                    173:        { "kick",       KICK,           VERB },
                    174:        { "kerosene",   0,              ADJS },
                    175:        { "plumed",     0,              ADJS },
                    176:        { "ancient",    0,              ADJS },
                    177:        { "golden",     0,              ADJS },
                    178:        { "gold",       0,              ADJS },
                    179:        { "ostrich",    0,              ADJS },
                    180:        { "rusty",      0,              ADJS },
                    181:        { "old",        0,              ADJS },
                    182:        { "dented",     0,              ADJS },
                    183:        { "blue",       0,              ADJS },
                    184:        { "purple",     0,              ADJS },
                    185:        { "kingly",     0,              ADJS },
                    186:        { "the",        0,              ADJS },
                    187:        { "climb",      0,              ADJS },
                    188:        { "move",       0,              ADJS },
                    189:        { "make",       0,              ADJS },
                    190:        { "to",         0,              ADJS },
                    191:        0
                    192: };

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.