void mudlib_setup() { ::mudlib_setup(); set_id("torch"); set_fuel(600); set_combat_messages("combat-torch"); set_damage_type("fire"); set_weapon_class(5); }
void setup() { set_adj("dull"); set_weapon_class(15); #ifdef USE_SIZE set_size(MEDIUM); #endif #ifdef USE_MASS set_mass(MEDIUM); #endif set_value(1000); add_combat_message("miss", "$N $vtake a clumsy swipe at $t, but only $vsucceed in making a fool of $r."); }
void setup(){ set_brief("How to make a basic sword"); set_long(@MAY Inherit the appropriate file - SWORD, M_VALUABLE. Normal setup for adj, size and value (id not needed). Set weapon_class - approx max hps of damage from a hit. inherit SWORD; inherit M_VALUABLE; void setup() { set_adj("dull"); set_weapon_class(15); set_size(MEDIUM); set_value(1000); }