//:://///////////////////////////////////////////// //:: swt_keg_use //:: swt_keg_use.nss //:: Copyright (c) 2001 Bioware Corp. //::////////////////////////////////////////////// /* */ //::////////////////////////////////////////////// //:: Created By: Lysandius //:: Created On: 28-06-2002 //::////////////////////////////////////////////// void main() { PlaySound("it_potion"); if(GetTag(OBJECT_SELF) == "Keg_Ale") CreateItemOnObject("NW_IT_MPOTION021", GetLastUsedBy()); if(GetTag(OBJECT_SELF) == "Keg_Wine") CreateItemOnObject("NW_IT_MPOTION023", GetLastUsedBy()); if(GetTag(OBJECT_SELF) == "Keg_Spirits") CreateItemOnObject("NW_IT_MPOTION022", GetLastUsedBy()); }