ON INIT {
 SETNAME [description_potion2bebone]
 SET_MATERIAL GLASS
 SET_GROUP PROVISIONS
 SET_PRICE 55
 PLAYERSTACKSIZE 10
 SET_STEAL 50
 SET_WEIGHT 0
  TWEAK SKIN "ITEM_POTION_2BEORANGE" "ITEM_POTION_2BEBONE"
 ACCEPT
}

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

ON COMBINE {
 IF (^$param1 ISCLASS "powder_bone") {
  DESTROY ^$PARAM1 
  REPLACEME \\magic\\Potion2bebonefull\\Potion2bebonefull
 ACCEPT
 }
 IF (^$param1 ISCLASS "potion2bebone") {
  DESTROY ^$PARAM1
 INVENTORY PLAYERADD "\\provisions\\bottle_empty\\bottle_empty"
 REPLACEME \\magic\\Potion2bebonefull\\Potion2bebonefull
 ACCEPT
 }
 IF (^$param1 ISCLASS "Powder_water_lily") {
    IF (^PLAYER_SKILL_OBJECT_KNOWLEDGE < 40) {
      SPEAK -p [player_not_skilled_enough] NOP
      HEROSAY [required_obj_40]
      ACCEPT
    }
  DESTROY ^$PARAM1 
  REPLACEME \\magic\\Potion2beredfull\\Potion2beredfull
 ACCEPT
 }
 IF (^$param1 ISCLASS "Powder_morning_glory") {
    IF (^PLAYER_SKILL_OBJECT_KNOWLEDGE < 50) {
      SPEAK -p [player_not_skilled_enough] NOP
      HEROSAY [required_obj_50]
      ACCEPT
    }
  DESTROY ^$PARAM1 
  REPLACEME \\magic\\Potion2bebluefull\\Potion2bebluefull
 ACCEPT
 }
 IF (^$param1 ISCLASS "powder_fern") {
    IF (^PLAYER_SKILL_OBJECT_KNOWLEDGE < 30) {
      SPEAK -p [player_not_skilled_enough] NOP
      HEROSAY [required_obj_30]
      ACCEPT
    }
  DESTROY ^$PARAM1
  REPLACEME "\\magic\\potion2beGreenfull\\potion2beGreenfull"
 ACCEPT
 }
 IF (^$param1 ISCLASS "powder_antidote") {
    IF (^PLAYER_SKILL_OBJECT_KNOWLEDGE < 50) {
      SPEAK -p [player_not_skilled_enough] NOP
      HEROSAY [required_obj_50]
      ACCEPT
    }
  DESTROY ^$PARAM1 
  REPLACEME \\magic\\Potion2beorangefull\\Potion2beorangefull
 ACCEPT
 }
ACCEPT
}