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,31 @@
//::///////////////////////////////////////////////
//:: Actuvate Item Script
//:: NW_S3_ActItem01
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
This fires the event on the module that allows
for items to have special powers.
*/
//:://////////////////////////////////////////////
//:: Created By: Preston Watamaniuk
//:: Created On: Dec 19, 2001
//:://////////////////////////////////////////////
void main()
{
object oItem = GetSpellCastItem();
object oTarget = GetSpellTargetObject();
location lLocal = GetSpellTargetLocation();
if (GetStringLeft(GetTag(oItem), 5) == "dmfi_" ||
GetStringLeft(GetTag(oItem), 8) == "hlslang_")
{
SetLocalObject(OBJECT_SELF, "dmfi_item", oItem);
SetLocalObject(OBJECT_SELF, "dmfi_target", oTarget);
SetLocalLocation(OBJECT_SELF, "dmfi_location", lLocal);
ExecuteScript("dmfi_activate", OBJECT_SELF);
return;
}
SignalEvent(GetModule(), EventActivateItem(oItem, lLocal, oTarget));
}