Added henchman rental

Many areas, items, and creatures were adjusted for balance and aesthetics.
This commit is contained in:
EpicValor
2023-08-24 15:20:50 -05:00
parent d6cb8322b9
commit 07f4ebed49
2373 changed files with 518431 additions and 7256 deletions

View File

@@ -0,0 +1,30 @@
//::///////////////////////////////////////////////
//:: Name hen_gentokens_at
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
"Which trap should I set?"
*/
//:://////////////////////////////////////////////
//:: Created By: nereng
//:: Created On: 03.05.06
//:://////////////////////////////////////////////
void main()
{
// Generate custom tokens
int i = 1;
object oItem = GetFirstItemInInventory();
while(oItem != OBJECT_INVALID)
{
if (GetBaseItemType(oItem) == BASE_ITEM_TRAPKIT)
{
SetCustomToken(7100 + i, GetName(oItem));
// Storing it as a local object for later reference
SetLocalObject(OBJECT_SELF, "TRAP" + IntToString(i), oItem);
// Need to know how many traps there are
SetLocalInt(OBJECT_SELF, "NO_OF_TRAPS", i);
i++;
}
oItem = GetNextItemInInventory();
}
}