I really have tried. A lot. I've changed everything I can possibly think of, but to no avail. I really think it just doesn't want to work on my map. I'll post the current code here.
SaveLoad Initialization Hero
Events
Map initialization
Conditions
Actions...
I tried editing mine to be similar to yours, but it just won't work. It's saving only a few of the items. Thanks for your help anyway though, I guess I'll remove item saving from my map.
So I used AceHart's save/load code, as it's the best one to use I've found so far. I'm having two problems with it:
1: It sometimes doesn't load
2: When it does load, it saves only one item at a time.
I'll post all code below:
SaveLoad Initialization Hero
Events
Map...
Just tried using Life Drain. Same problem. I also tried disabling all triggers relating to it. Same problem. Does it have something to do with the fact it's targetting a tree?
It'l work well unless you wish to use Custom values for anything else. I preferred to do mine as a completely different system as I'm likely to use custom values later on.
It also helps to have inventory space.
I think I get the idea of what you're asking. Here is the equip system in my map, feel free to edit it to fit with your request.
Equip
BronzeAxe
Events
Unit - A unit Uses an item
Conditions
(Item-type of (Item being manipulated)) Equal to Bronze Axe
Actions...