Initial Upload

Initial Upload
This commit is contained in:
Jaysyn904
2023-09-21 21:20:34 -04:00
parent d3f23f8b3c
commit 94990edc60
5734 changed files with 6324648 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
#include "nw_i0_tool"
/* Script generated by
Lilac Soul's NWN Script Generator, v. 1.3
For download info, please visit:
http://www.lilacsoul.revility.com */
//Put this OnEnter
void main()
{
object oPC = GetEnteringObject();
object oTarget;
if (!GetIsPC(oPC)) return;
if (GetItemPossessedBy(oTarget, "TriggerGemDontGiveToPlayers")== OBJECT_INVALID)
return;
oTarget = GetObjectByTag("Demora");
AssignCommand(GetObjectByTag("Demora"), ActionSpeakString("This cannot be............NOOOOOOOOOOO!"));
//Visual effects can't be applied to waypoints, so if it is a WP
//apply to the WP's location instead
int nInt;
nInt = GetObjectType(oTarget);
if (nInt != OBJECT_TYPE_WAYPOINT) ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_IMPLOSION), oTarget);
else ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_IMPLOSION), GetLocation(oTarget));
oTarget = GetObjectByTag("Demora");
DestroyObject(oTarget, 3.0);
RewardPartyXP(500, oPC, TRUE);
oTarget = GetObjectByTag("DemorasChest");
SetLocked(oTarget, FALSE);
}