22 lines
620 B
Plaintext
22 lines
620 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: 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);
|
||
|
}
|