Battledale_PRC8/_module/nss/at_bill_pay.nss

22 lines
620 B
Plaintext
Raw Permalink Normal View History

//::///////////////////////////////////////////////
//:: at_bill_pay
//:: at_bill_pay.nss
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
*/
//:://////////////////////////////////////////////
//:: Created By: Lysandius
//:: Created On: 16-07-2002
//:://////////////////////////////////////////////
void main()
{
string sAreaName = GetTag(GetArea(OBJECT_SELF));
string sVarName = "RPO_" + sAreaName + "_Bill";
int nBill = GetLocalInt(GetLastSpeaker(), sVarName);
TakeGoldFromCreature(nBill, GetLastSpeaker());
SetLocalInt(GetLastSpeaker(), "nBill", 0);
}