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

49
_module/nss/ip_tst.nss Normal file
View File

@@ -0,0 +1,49 @@
///////////////////////////////////////////////////////////////////////////////
// egs_tst
// written by: eyesolated
// written at: June 17, 2004
//
// Notes: Test script for the IP
///////////
// Includes
//
#include "eas_inc"
#include "color_inc"
#include "egs_inc"
#include "ip_inc"
void main()
{
object oUser = GetLastUsedBy();
string sTag = GetTag(OBJECT_SELF);
if (sTag == "o_ip_rnditem")
{
string sItem = egs_GetItem_Any(-1, -1, TRUE);
object oItem = CreateItemOnObject(sItem, oUser);
if (!GetIsObjectValid(oItem))
{
SendMessageToAllDMs("Error creating " + sItem);
return;
}
ip_InfuseItemWithMagic(oItem, 20, TRUE, TRUE);
}
else if (sTag == "o_ip_wand")
{
string sItem = egs_GetItem_Wand(-1, TRUE);//"i_egs_wand01";
object oItem = CreateItemOnObject(sItem, oUser);
ip_InfuseItemWithMagic(oItem, 50, FALSE, TRUE);
}
else if (sTag == "o_ip_weapon")
{
string sItem = egs_GetItem_Weapon(-1, -1, TRUE);
object oItem = CreateItemOnObject(sItem, oUser);
ip_InfuseItemWithMagic(oItem, 25, FALSE, TRUE);
}
else if (sTag == "o_ip_armor")
{
string sItem = egs_GetItem_Armor(-1, TRUE);
object oItem = CreateItemOnObject(sItem, oUser);
ip_InfuseItemWithMagic(oItem, 20, FALSE, TRUE);
}
}