generated from Jaysyn/ModuleTemplate
Initial Commit
Initial Commit.
This commit is contained in:
31
_module/nss/grave.nss
Normal file
31
_module/nss/grave.nss
Normal file
@@ -0,0 +1,31 @@
|
||||
/* Script generated by
|
||||
Lilac Soul's NWN Script Generator, v. 1.6
|
||||
|
||||
For download info, please visit:
|
||||
http://www.lilacsoul.revility.com */
|
||||
|
||||
//Put this OnDeath
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetLastKiller();
|
||||
|
||||
while (GetIsObjectValid(GetMaster(oPC)))
|
||||
{
|
||||
oPC=GetMaster(oPC);
|
||||
}
|
||||
|
||||
if (!GetIsPC(oPC)) return;
|
||||
|
||||
int DoOnce = GetLocalInt(oPC, GetTag(OBJECT_SELF));
|
||||
|
||||
if (DoOnce==TRUE) return;
|
||||
|
||||
SetLocalInt(oPC, GetTag(OBJECT_SELF), TRUE);
|
||||
|
||||
ActionSpeakString("You finally clear away enough dirt to reveal a moldering corpse and lying next to it, a gleaming sword, but by all accounts, this was an evil act to do so..");
|
||||
|
||||
AdjustAlignment(oPC, ALIGNMENT_EVIL, 10);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user