Initial commit

Initial commit.  Updated release archive.
This commit is contained in:
Jaysyn904
2024-06-13 15:08:33 -04:00
parent c0bd67a6a7
commit a6f6db7303
5236 changed files with 4203994 additions and 0 deletions

25
_module/nss/en6_equip.nss Normal file
View File

@@ -0,0 +1,25 @@
void main()
{
object oMob;
object oItem;
int iItemSlot;
string sTag;
oMob=OBJECT_SELF;
ClearAllActions();
oItem=GetFirstItemInInventory(oMob);
while (GetIsObjectValid(oItem))
{
iItemSlot=GetLocalInt(oItem,"EN5_EQUIP");
AssignCommand(oMob, ActionEquipItem(oItem, iItemSlot));
oItem=GetNextItemInInventory(oMob);
}
sTag=GetLocalString(oMob,"EN6_ARMOR");
if (sTag != "")
{
oItem=GetItemPossessedBy(oMob,sTag);
AssignCommand(oMob, ActionEquipItem(oItem, iItemSlot));
}
}