… | |
… | |
161 | {LIGHTER, "lighter", "lighters", 0, 0}, |
161 | {LIGHTER, "lighter", "lighters", 0, 0}, |
162 | {BUILDABLE_WALL, "buildable wall", "buildable walls", 0, 0}, |
162 | {BUILDABLE_WALL, "buildable wall", "buildable walls", 0, 0}, |
163 | {MISC_OBJECT, "bric-a-brac", "bric-a-brac", 0, 0}, |
163 | {MISC_OBJECT, "bric-a-brac", "bric-a-brac", 0, 0}, |
164 | {LAMP, "lamp", "lamps", 0, 0}, |
164 | {LAMP, "lamp", "lamps", 0, 0}, |
165 | {DUPLICATOR, "duplicator", "duplicators", 0, 0}, |
165 | {DUPLICATOR, "duplicator", "duplicators", 0, 0}, |
166 | {TOOL, "tool", "tools", 0, 0}, |
|
|
167 | {SPELLBOOK, "spellbook", "spellbooks", SK_LITERACY, 0}, |
166 | {SPELLBOOK, "spellbook", "spellbooks", SK_LITERACY, 0}, |
168 | {BUILDFAC, "building facility", "building facilities", 0, 0}, |
|
|
169 | {CLOAK, "cloak", "cloaks", SK_SMITHERY, 0}, |
167 | {CLOAK, "cloak", "cloaks", SK_SMITHERY, 0}, |
170 | {SPINNER, "spinner", "spinners", 0, 0}, |
168 | {SPINNER, "spinner", "spinners", 0, 0}, |
171 | {GATE, "gate", "gates", 0, 0}, |
169 | {GATE, "gate", "gates", 0, 0}, |
172 | {BUTTON, "button", "buttons", 0, 0}, |
170 | {BUTTON, "button", "buttons", 0, 0}, |
173 | {CF_HANDLE, "cf handle", "cf handles", 0, 0}, |
171 | {CF_HANDLE, "cf handle", "cf handles", 0, 0}, |
… | |
… | |
869 | |
867 | |
870 | /* Note that the resolution this provides for players really isn't |
868 | /* Note that the resolution this provides for players really isn't |
871 | * very good. Any player with a speed greater than .67 will |
869 | * very good. Any player with a speed greater than .67 will |
872 | * fall into the 'lightning fast movement' category. |
870 | * fall into the 'lightning fast movement' category. |
873 | */ |
871 | */ |
874 | if (FABS (op->speed) > MIN_ACTIVE_SPEED) |
872 | if (op->has_active_speed ()) |
875 | { |
873 | { |
876 | switch ((int) ((FABS (op->speed)) * 15)) |
874 | switch ((int) ((FABS (op->speed)) * 15)) |
877 | { |
875 | { |
878 | case 0: |
876 | case 0: |
879 | strcat (retbuf, "(very slow movement)"); |
877 | strcat (retbuf, "(very slow movement)"); |