Added DMFI

Added DMFI.  Set Diamond Golem appearance size to large.  Full compile.  Updated release archive.
This commit is contained in:
Jaysyn904
2024-12-28 18:10:38 -05:00
parent f3057de0bd
commit 37c79b6d57
536 changed files with 235552 additions and 62 deletions

View File

@@ -32,6 +32,21 @@ void main()
// predefined patterns
int nMatch = GetListenPatternNumber();
object oShouter = GetLastSpeaker();
// 2008.05.25 tsunami282 - removed for NWN 1.69 (no longer needed)
//DMFI CODE ADDITIONS BEGIN HERE
// 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")))
{
SendMessageToAllDMs(GetName(oShouter) + " is trying to speak to a muted NPC, " + GetName(OBJECT_SELF) + ", in area " + GetName(GetArea(OBJECT_SELF)));
SendMessageToPC(oShouter, "This NPC is muted. A DM will be here shortly.");
return;
}
//DMFI CODE ADDITIONS END HERE
if (nMatch == -1)
{