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

@@ -0,0 +1,25 @@
#include "mk_inc_editor"
void main()
{
object oPC = GetPCChatSpeaker();
string sChatMessage = GetPCChatMessage();
int bEditorRunning = GetLocalInt(oPC, g_varEditorRunning);
if (bEditorRunning) // the editor is running
{
int bUseOnPlayerChatEvent =
GetLocalInt(oPC, g_varEditorUseOnPlayerChatEvent);
if (bUseOnPlayerChatEvent)
{
SetLocalString(oPC, g_varEditorChatMessageString, sChatMessage);
// the following line is not required but will make everything
// look much better.
SetPCChatMessage(""); // delete the message so it does not
// appear above the player's head
}
return;
}
}