ON INIT {
 SET §equipped 0
 SETNAME [description_sword_2handed_mithril]
 SET_MATERIAL WEAPON
 SET_WEAPON_MATERIAL SWORD
 SET_STRIKE_SPEECH [player_strike_strong]
 SET_STEAL 90
//SET_THROW_DAMAGE 2
 //SET_DURABILITY 80
 SETOBJECTTYPE WEAPON
 SETOBJECTTYPE 2H
 SETEQUIP DAMAGES 16
 SET_GROUP "BLADE"
 SETEQUIP STEALTH -12
 SETEQUIP CASTING -10
 SETEQUIP armor_class 8%
 SETEQUIP aim_time 2500
 SET £reagent "none"
 ACCEPT
}

ON EQUIPIN {
 SET §equipped 1
 PLAY "equip_sword"
 ACCEPT
}

ON EQUIPOUT {
 SET §equipped 0
 ACCEPT
}

ON INVENTORYUSE {
 IF (^FIGHTING == 1) ACCEPT
 IF (^PLAYER_SKILL_CLOSE_COMBAT < 70) {
  SPEAK -p [player_not_skilled_enough] NOP
  HEROSAY [required_cc_70]
  //COLORISE SELF 1 0 0
  ACCEPT
 }
 IF (^PLAYER_ATTRIBUTE_STRENGTH < 16) {
  SPEAK -p [player_not_skilled_enough] NOP
  HEROSAY [required_st_16]
  //COLORISE SELF 1 0 0
  ACCEPT
 }
 //COLORISE SELF 0 0 0
 EQUIP PLAYER
 ACCEPT
}

ON COMBINE {
  IF(^$PARAM1 ISCLASS "koltk_powder") {
  // IF (§equipped == 1) {
  //  ACCEPT
  // }
   DESTROY ^$PARAM1
   SET #superweapon 1
   ADD_XP 6000 
   REPLACEME \\weapons\\sword_2handed_meteor\\sword_2handed_meteor
   ACCEPT 
  }
  IF (^$PARAM1 ISCLASS "DRAGON_EGG" ) {
   SPEAK -p [player_no] NOP
   ACCEPT
  }
  ACCEPT
 } 