ON INIT {
 SETNAME [description_potion2bePurple]
 SET_MATERIAL GLASS
 SET_GROUP PROVISIONS
 SET_PRICE 40
 PLAYERSTACKSIZE 20
 SET_STEAL 50
 SET_WEIGHT 0
 SETEQUIP identify_value 56
 SET §identified 0
 TWEAK ICON "potion2beUnknown[icon]"
 ACCEPT
}

ON IDENTIFY {
 TWEAK ICON "potion2bePurple[icon]"
 SET §identified 1
 ACCEPT
}

ON INVENTORYUSE {
 INVENTORY PLAYERADD "\\magic\\powder_restoration\\powder_restoration"
 REPLACEME "\\provisions\\bottle_empty\\bottle_empty"
 ACCEPT
}

ON COMBINE {
 IF (^$param1 ISCLASS "Powder_restoration") {
    IF (§identified == 0) {
      SPEAK -p [player_no] NOP
      ACCEPT
    }
  DESTROY ^$PARAM1 
  REPLACEME \\magic\\Potion2bepurplefull\\Potion2bepurplefull
 ACCEPT
 }
 IF (^$param1 ISCLASS "Potion_oil") {
    PLAY "bottle_fill"
  DESTROY ^$PARAM1 
 INVENTORY PLAYERADD "\\provisions\\bottle_empty\\bottle_empty"
  REPLACEME \\magic\\Potion2berestoration\\Potion2berestoration
 ACCEPT
 }
ACCEPT
}