Added NWN Dark Sun module contents
Added NWN Dark Sun module contents.
This commit is contained in:
16
nwnds_module/at_dgtoss_003.nss
Normal file
16
nwnds_module/at_dgtoss_003.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
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);
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user