Changed folder name.

Changed folder name.
This commit is contained in:
Jaysyn904
2022-10-07 21:08:37 -04:00
parent 1c33c2843e
commit 8d97886c3f
7060 changed files with 0 additions and 0 deletions

23
_module/nss/puzzle3.nss Normal file
View File

@@ -0,0 +1,23 @@
#include "nw_i0_tool"
void main()
{
object oPlayer = GetPCSpeaker();
object ped = GetObjectByTag("queen1");
object crest = GetItemPossessedBy(oPlayer, "HouseKhuraanCrest");
int puz = GetLocalInt(ped, "puzzle");
if(HasItem(oPlayer, "HouseKhuraanCrest") && puz == 2){
SetLocalInt(ped,"puzzle",3);
ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_LOS_EVIL_30), ped, 3.0);
DestroyObject(crest);
}
else{
SetLocalInt(ped, "puzzle", 0);
ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_PWSTUN), ped);
ApplyEffectToObject(DURATION_TYPE_INSTANT, SupernaturalEffect(EffectDeath(TRUE,TRUE)), oPlayer);
DestroyObject(crest);
}
}