NWNDS/nwn_dark_sun/at_dgtoss_003.nss
Jaysyn904 b01c5cc7db Added PnP Dire Rat.
Added PnP Dire Rat.
2021-07-21 17:48:43 -04:00

17 lines
408 B
Plaintext

void main()
{
object oClicker = GetClickingObject();
object oTarget = GetTransitionTarget(OBJECT_SELF);
location lLoc = GetLocation(oTarget);
AssignCommand(oClicker,JumpToLocation(lLoc));
GetLocalInt(oClicker, "goldamount");
if(GetGold(oClicker) > GetLocalInt(oClicker, "goldamount"))
SetLocalInt(oClicker,"thievesquests",3);
AddJournalQuestEntry ("thievesquests", 4, oClicker);
}