I've been working on an RPG now for a while and I use two of different serialization techniques. Enemies, Weapons, items are as saved as XML. Maps and events are saved as "controlled binary" (every ...
I have the next problem. A item can have a lot of states: NORMAL = 0000000 DRY = 0000001 HOT = 0000010 BURNING = 0000100 WET = 0001000 COLD = 0010000 FROZEN = 0100000 POISONED= ...