More quest persistence

More quest persistence & cleanup.
This commit is contained in:
Jaysyn904
2022-06-20 14:17:58 -04:00
parent 2105778d4c
commit e03053bd65
57 changed files with 14075 additions and 313 deletions

View File

@@ -0,0 +1,28 @@
//::///////////////////////////////////////////////
//:
//:: cv_pc_death.nss
//:: Copyright (c) 2022 Project RATDOG
//:
//:://////////////////////////////////////////////
/*
Kills the PC outright in a conversation
*/
//:://////////////////////////////////////////////
//::
//:: Created By: Jaysyn
//:: Created On: 20220620
//::
//:://////////////////////////////////////////////
void main()
{
//:: Declare major variables.
object oPC = GetPCSpeaker();
effect eDeath = EffectDeath();
effect eDam = EffectDamage(9999);
effect eLink = EffectLinkEffects(eDeath, eDam);
//:: Kills the PC.
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eLink, oPC);
}