/* For the Im lazy catagory */ #define ptc printf_to_char #define RIG_RANDOM -99 /* Armor types */ #define ARMOR_NONE 0 #define ARMOR_LIGHT 1 #define ARMOR_MEDIUM 2 #define ARMOR_HEAVY 3 /* Locations armor protects */ #define LOC_NONE 0 #define LOC_HEAD (A) #define LOC_R_SHOULDER (B) #define LOC_L_SHOULDER (C) #define LOC_UPPER_ARM (D) #define LOC_CHEST (E) #define LOC_BACK (F) #define LOC_HANDS (G) #define LOC_WAIST (H) #define LOC_UPPER_LEG (I) #define LOC_LOWER_LEG (J) #define LOC_FEET (K) /* rig.c */ void cmd_makerig (CHAR_DATA * ch, char *argument); void cmd_listrig (CHAR_DATA * ch, char *argument); /* rig_weapon.c */ OBJ_DATA * create_weapon (OBJ_DATA * obj, int force_type, int force_material, int quaility, bool is_for_shop); OBJ_DATA * create_armor (OBJ_DATA * obj, int force_type, int force_material, int quaility, bool is_for_shop); OBJ_DATA * create_clothing (OBJ_DATA * obj, int force_type, bool expensive, bool is_for_shop); OBJ_DATA * fix_material_bonus (OBJ_DATA * obj, int material_type); OBJ_DATA * item_hit_dam_bonus2 (OBJ_DATA * obj, int value); /* rig_magic.c */ OBJ_DATA * create_wizscroll (OBJ_DATA * obj, int type); OBJ_DATA * create_priscroll (OBJ_DATA * obj, int type); OBJ_DATA * create_fgtscroll (OBJ_DATA * obj, int type); OBJ_DATA * create_thiscroll (OBJ_DATA * obj, int type); OBJ_DATA * create_potion (OBJ_DATA * obj, int type); OBJ_DATA * create_potion_heal (OBJ_DATA * obj, int type); /* rig_misc.c */ OBJ_DATA * create_beer (OBJ_DATA * obj, int type); OBJ_DATA * create_food (OBJ_DATA * obj, int type); OBJ_DATA * create_gem (OBJ_DATA * obj, int type); OBJ_DATA * create_gold (OBJ_DATA * obj, int value); /* rig_shop.c */ void rig_makeshop (CHAR_DATA * ch); /* rig_mob.c */ void mob_outfit (CHAR_DATA * ch, char *argument); /* rig_lookup.c */ int rig_weapon_lookup (const char *name); int rig_armor_lookup (const char *name); int rig_material_lookup (const char *name); int rig_clothing_lookup (const char *name); int rig_clothing_exp_lookup (const char *name); int rig_wizscroll_lookup (const char *name); int rig_priscroll_lookup (const char *name); int rig_fighter_tome_lookup (const char *name); int rig_thief_tome_lookup (const char *name); int rig_potion_lookup (const char *name); int rig_potion_heal_lookup (const char *name); int rig_beer_lookup (const char *name); int rig_food_lookup (const char *name); int rig_gem_lookup (const char *name); int rig_weapon_max (void); int rig_armor_max (void); int rig_material_max (void); int rig_clothing_max (void); int rig_clothing_exp_max (void); int rig_wizscroll_max (void); int rig_priscroll_max (void); int rig_fighter_tome_max (void); int rig_thief_tome_max (void); int rig_potion_max (void); int rig_potion_heal_max (void); int rig_beer_max (void); int rig_food_max (void); int rig_gem_max (void); char * weapontype_lookup (int value0); char * armortype_lookup (int type); char * truefalse (bool istrue);