ON INIT {
 SETNAME [description_Tool_Craft_LeatherBlack]
 SET_MATERIAL WOOD
 SET_GROUP ARMORY
 SET_PRICE 250
 SET_STEAL 50
 SETSCALE 30
 SET_WEIGHT 1
 SET §craft 0
 ACCEPT
}

ON INVENTORYUSE {
 IF (§craft == 0) {
  SET §craft 1
  HEROSAY [craft_chestObj]
   ACCEPT
  }
 IF (§craft == 1) {
  SET §craft 2
  HEROSAY [craft_LeggingObj]
   ACCEPT
  }
 IF (§craft == 2) {
  SET §craft 0
  HEROSAY [craft_helmetObj]
   ACCEPT
  }
 ACCEPT
}

ON COMBINE {
 IF (^INPLAYERINVENTORY != 1) {
  SPEAK -p [player_no] NOP
  ACCEPT
 }
///////////////////
///Item CRAFTING///
///////////////////
 IF (^$PARAM1 ISCLASS "Leather_Black") {
 IF (§craft == 1) {
  DESTROY ^$PARAM1
  PLAY "equip_armor"
  REPLACEME \\ARMOR\\Chest_leather_Stealth\\Chest_leather_Stealth
  ACCEPT
 }
 IF (§craft == 2) {
  DESTROY ^$PARAM1
  PLAY "equip_armor"
  REPLACEME \\ARMOR\\Legging_leather_Stealth\\Legging_leather_Stealth
  ACCEPT
 }
 IF (§craft == 0) {
  DESTROY ^$PARAM1
  PLAY "equip_armor"
  REPLACEME \\ARMOR\\Helmet_leather_Stealth\\Helmet_leather_Stealth
  ACCEPT
 }
  ACCEPT
 }
  SPEAK -p [player_no] NOP
 ACCEPT
}