Initial upload. PRC8 has been added. Module compiles, PRC's default AI & treasure scripts have been integrated. Started work on top hak for SLA / Ability / Scripting modifications.
25 lines
512 B
Plaintext
25 lines
512 B
Plaintext
//::///////////////////////////////////////////////
|
|
//:: used_keg_ale
|
|
//:: used_keg_ale.nss
|
|
//:: Copyright (c) 2001 Bioware Corp.
|
|
//:://////////////////////////////////////////////
|
|
/*
|
|
|
|
*/
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Lysandius
|
|
//:: Created On: 28-06-2002
|
|
//:://////////////////////////////////////////////
|
|
|
|
void main()
|
|
{
|
|
object oPC=GetLastUsedBy();
|
|
|
|
if (!GetIsPC(oPC))
|
|
{
|
|
PlaySound("it_potion");
|
|
CreateItemOnObject("NW_IT_MPOTION021", GetLastUsedBy());
|
|
}
|
|
|
|
}
|