Area Changes and other fixes

Added CCOH
Fixed some on death issues
Fixed the gaurd
Added Server Enty/ooc
changed some areas back to original craftable
This commit is contained in:
2024-08-30 10:02:16 -04:00
parent 034a2cd838
commit d39928374d
5670 changed files with 373265 additions and 173083 deletions

View File

@@ -9,13 +9,13 @@
//:: Created By: Naomi Novik
//:: Created On: 12/22/2002
//:://////////////////////////////////////////////////
#include "prc_inc_spells"
#include "nw_i0_generic"
void main()
{
// * if petrified, jump out
if (PRCGetHasEffect(EFFECT_TYPE_PETRIFY, OBJECT_SELF) == TRUE)
if (GetHasEffect(EFFECT_TYPE_PETRIFY, OBJECT_SELF) == TRUE)
{
return;
}
@@ -26,7 +26,6 @@ void main()
return;
}
ExecuteScript("prc_npc_conv", OBJECT_SELF);
// See if what we just 'heard' matches any of our
// predefined patterns
@@ -34,11 +33,12 @@ void main()
object oShouter = GetLastSpeaker();
// 2008.05.25 tsunami282 - removed for NWN 1.69 (no longer needed)
//DMFI CODE ADDITIONS BEGIN HERE
if (GetIsPC(oShouter))
{
ExecuteScript("dmfi_voice_exe", OBJECT_SELF);
}
// if (GetIsPC(oShouter) || GetIsDM(oShouter) || GetIsDMPossessed(oShouter))
// {
// ExecuteScript("dmfi_voice_exe", OBJECT_SELF);
// }
if (nMatch == -1 && GetIsPC(oShouter) &&(GetLocalInt(GetModule(), "dmfi_AllMute") || GetLocalInt(OBJECT_SELF, "dmfi_Mute")))
{
@@ -63,7 +63,7 @@ void main()
// * If only charmed then allow conversation
// * so you can have a better chance of convincing
// * people of lowering prices
if (PRCGetHasEffect(EFFECT_TYPE_CHARMED) == TRUE)
if (GetHasEffect(EFFECT_TYPE_CHARMED) == TRUE)
{
ClearActions(CLEAR_NW_C2_DEFAULT4_29);
BeginConversation();