… | |
… | |
49 | * Basically, for the use/nonuse, the code does something like: |
49 | * Basically, for the use/nonuse, the code does something like: |
50 | * "This item goes %s\n", with the use/nonuse values filling in the %s |
50 | * "This item goes %s\n", with the use/nonuse values filling in the %s |
51 | */ |
51 | */ |
52 | // see include/object.h |
52 | // see include/object.h |
53 | Body_Locations body_locations[NUM_BODY_LOCATIONS] = { |
53 | Body_Locations body_locations[NUM_BODY_LOCATIONS] = { |
54 | {KW_body_skill , "You can use it as your skill" , "It is used as a skill"}, |
54 | # define def(name, use, nonuse) { # name, KW_body_ ## name, use, nonuse }, |
55 | {KW_body_combat , "You can wield it as your weapon" , "It is used as a combat weapon"}, |
55 | # include "slotinc.h" |
56 | {KW_body_range , "You can use it as your range weapon" , "It is used as a range weapon"}, |
56 | # undef def |
57 | {KW_body_shield , "You can wield it as a shield" , "It is used as a shield"}, |
|
|
58 | {KW_body_arm , "You can put it on your arm" , "It goes on a human's arm"}, |
|
|
59 | {KW_body_torso , "You can wear it on your body" , "It goes on a human's torso"}, |
|
|
60 | {KW_body_head , "You can wear it on your head" , "It goes on a human's head"}, |
|
|
61 | {KW_body_neck , "You can wear it around your neck" , "It goes around a human's neck"}, |
|
|
62 | {KW_body_finger , "You can wear it on your finger" , "It goes on a human's finger"} , |
|
|
63 | {KW_body_shoulder, "You can wear it around your shoulders", "It goes around a human's shoulders"}, |
|
|
64 | {KW_body_foot , "You can put it on your foot" , "It goes on a human's foot"}, |
|
|
65 | {KW_body_hand , "You can put it on your hand" , "It goes on a human's hand"}, |
|
|
66 | {KW_body_wrist , "You can wear it around your wrist" , "It goes around a human's wrist"}, |
|
|
67 | {KW_body_waist , "You can wear it around your waist" , "It goes around a human's waist"}, |
|
|
68 | /*{"body_dragon_torso", "your body", "a dragon's body"} */ |
|
|
69 | }; |
57 | }; |
70 | |
58 | |
71 | static char numbers_10[10][20] = { |
59 | static char numbers_10[10][20] = { |
72 | "zero", "ten", "twenty", "thirty", "fourty", "fifty", "sixty", "seventy", |
60 | "zero", "ten", "twenty", "thirty", "fourty", "fifty", "sixty", "seventy", |
73 | "eighty", "ninety" |
61 | "eighty", "ninety" |