ON INIT {
 SETNAME [description_bottle_wine]
 SET_MATERIAL GLASS
 SET_GROUP PROVISIONS
 SET_PRICE 18
 PLAYERSTACKSIZE 10
 SET_STEAL 50
 //SET_THROW_DAMAGE 1
 SET_WEIGHT 0
 ACCEPT
}

ON INVENTORYUSE {
 PLAY "drink"
 SPECIALFX HEAL 5
 SENDEVENT DRINK_WINE PLAYER ""
 REPLACEME "\\provisions\\bottle_empty\\bottle_empty"
 ACCEPT
}

ON COMBINE {
 IF (^$param1 ISCLASS "Powder_bone") {
  DESTROY ^$PARAM1
    PLAY "bottle_fill"
 REPLACEME \\magic\\Potion2bonewine\\Potion2bonewine
 ACCEPT
 }
ACCEPT
}

ON CUSTOM {
 IF(^$PARAM1 == "EMPTY") {
 REPLACEME \\provisions\\bottle_empty\\bottle_empty
 ACCEPT
 }
ACCEPT
} 

ON ACTIVATE_PHYSICS {
 ACTIVATE_PHYSICS
 ACCEPT
}