Initial commit
Initial commit [v9.7]
This commit is contained in:
32
_module/nss/pullchain_valino.nss
Normal file
32
_module/nss/pullchain_valino.nss
Normal file
@@ -0,0 +1,32 @@
|
||||
/* Script generated by
|
||||
Lilac Soul's NWN Script Generator, v. 2.3
|
||||
|
||||
For download info, please visit:
|
||||
http://nwvault.ign.com/View.php?view=Other.Detail&id=4683&id=625 */
|
||||
|
||||
//Put this script OnUsed
|
||||
#include "nw_i0_tool"
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetLastUsedBy();
|
||||
|
||||
if (!GetIsPC(oPC)) return;
|
||||
|
||||
int DoOnce = GetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF));
|
||||
|
||||
if (DoOnce==TRUE) return;
|
||||
|
||||
SetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF), TRUE);
|
||||
|
||||
RewardPartyGP(500, oPC, FALSE);
|
||||
|
||||
FloatingTextStringOnCreature("The Valinor emergency gold bag fall into your hands", oPC);
|
||||
|
||||
object oTarget;
|
||||
oTarget = GetObjectByTag("val_chain");
|
||||
|
||||
DestroyObject(oTarget, 0.0);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user