forums | blogs | polls | tutorials | downloads | rules | help

Add new comment

Lady Femme wrote:
i think an even better improvement/feature wud be to code in an error msg or flash the char portrait of the relevant char if it picks up items past the 255 item limit.
even better like in your other post, add in a check that stops the picking up of loot past 255 items and display a message saying inventory is full (255 items) even tho there may still be space to carry more items.

Too difficult of a task for me. You are welcome to try it, good luck with all the hardcoded functions.

Lady Femme wrote:
also, the code that checks spellbooks for spells shud also be able to cycle through multiple spellbooks in the GO's inventory to check for spells inside and add them to the item limit counter as well.

My code snippet below will enumerates everything; including the special spellbook and spells of pets if you got killergremals arannalegacy alpha3H mod. He added the 'hidden' spellbook in base_pet.gas . KG's & CSDDAb's original code enumerated only spellbook spells in the main inventory since its original purpose was to just yell you the stash inventory count(no equipment component to the stash).