Initial commit

Adding all of the current content for Anphillia Unlimited.
This commit is contained in:
Jaysyn904
2024-01-04 07:49:38 -05:00
parent df18cd54c8
commit 28cdb617b3
12943 changed files with 9727121 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
#include "color_inc"
void main()
{
object oMod = GetModule();
object oOther = GetLocalObject(oMod, "PLC_LINK_OTHER");
if (!GetIsObjectValid(oOther))
{
SendMessageToAllDMs(COLOR_CODE_BLUE_DARK + "First link placed. Next time you place a link placeable it will be linked to this one" + COLOR_CODE_END);
SetLocalObject(oMod, "PLC_LINK_OTHER", OBJECT_SELF);
}
else
{
SetLocalObject(OBJECT_SELF, "PLC_LINK_OTHER", oOther);
SetLocalObject(oOther, "PLC_LINK_OTHER", OBJECT_SELF);
SendMessageToAllDMs(COLOR_CODE_BLUE_DARK +
"Linked " + GetName(OBJECT_SELF) + " in " + GetName(GetArea(OBJECT_SELF)) +
" with " + GetName(oOther) + " in " + GetName(GetArea(oOther)) + COLOR_CODE_END);
DeleteLocalObject(oMod, "PLC_LINK_OTHER");
}
SetEventScript(OBJECT_SELF, EVENT_SCRIPT_PLACEABLE_ON_HEARTBEAT, "");
}