ON INIT {
 SETNAME [description_ingot_metal]
 SET_MATERIAL METAL
 SET_STEAL 50
 SET_WEIGHT 1
  TIMERhalo 1 2 HALO -oc 1 0.5 0
  TIMERoff 1 20 GOTO TOOLATE
// SET §black 0
 ACCEPT
}

ON COMBINE {
 IF (^PLAYER_SKILL_OBJECT_KNOWLEDGE < 30) {
 SPEAK [player_not_skilled_enough] NOP
  ACCEPT
 }
// IF (^$PARAM1 ISCLASS "powder_chitin" ) {
//  PLAY -o "TORCH_END"
//  SET §black 1
//  TWEAK ICON "ingot_metal_black[icon]"
//  ACCEPT
// }
// IF (^$PARAM1 ISCLASS "hammer" ) {
// IF (§black == 1) {
//  TIMERoff OFF
//  TIMERhit -m 3 500 PLAY -o "ANVIL_HIT"
//  TIMERreplace 1 2 REPLACEME \\QUEST_ITEM\\Ingot_Blacksteel\\Ingot_Blacksteel
//  ACCEPT
// }
//  ACCEPT
// }
 IF (^$PARAM1 ISCLASS "Tool_Craft") {
 IF (^PLAYER_SKILL_MECANISM < 20) {
  SPEAK [player_not_skilled_enough] NOP
  ACCEPT
 }
   DESTROY ^$PARAM1
   TIMERoff OFF
   TIMERhit -m 3 500 PLAY -o "equip_armor_chain"
   TIMERreplace 1 2 REPLACEME \\PROVISIONS\\Chainmail\\Chainmail
  ACCEPT
 }
 ACCEPT
}

>>TOOLATE
 PLAY "TORCH_END"
 HALO -f
 REPLACEME \\QUEST_ITEM\\INGOT_METAL\\INGOT_METAL
 ACCEPT 