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

46
_module/nss/egs_tst.nss Normal file
View File

@@ -0,0 +1,46 @@
///////////////////////////////////////////////////////////////////////////////
// egs_tst
// written by: eyesolated
// written at: June 17, 2004
//
// Notes: Test script for the EGS
///////////
// Includes
//
#include "eas_inc"
#include "egs_inc"
void main()
{
object oUser = GetLastUsedBy();
string sTest = GetTag(OBJECT_SELF);
string sItem;
if (sTest == "Get_ItemAny")
{
SendMessageToPC(oUser, "Testing '" + sTest + "'");
sItem = egs_GetItem_Any();
}
else if (sTest == "Get_ItemWeaponMelee")
{
SendMessageToPC(oUser, "Testing '" + sTest + "'");
sItem = egs_GetItem_WeaponMelee();
}
else if (sTest == "Get_ItemWeaponTiny")
{
SendMessageToPC(oUser, "Testing '" + sTest + "'");
sItem = egs_GetItem_Weapon(-1, CI_EGS_WEAPONSIZE_TINY);
}
else if (sTest == "Get_ItemWand")
{
SendMessageToPC(oUser, "Testing '" + sTest + "'");
sItem = egs_GetItem_Wand();
}
else if (sTest == "Get_ItemFood")
{
SendMessageToPC(oUser, "Testing '" + sTest + "'");
sItem = egs_GetRandomItem(CI_EGS_ITEM_MAIN_FOOD);
}
CreateItemOnObject(sItem, oUser);
SendMessageToPC(oUser, "Created Object: '" + sItem + "'");
}