Page 1 of 1
[BUG] Editor crash on sack with too many slots
Posted: Sat Sep 22, 2012 12:08 pm
by Lilltiger
If you clone a sack(probably wooden_box as well) and set the "capacity" too high, then when you try to use the sack in the game it will crash and give you an error report.
So maybe an check when loading the items.lua to warn if the capacity is set to high.
Re: [BUG] Editor crash on sack with too many slots
Posted: Sat Sep 22, 2012 3:01 pm
by Neikun
How high are we talking?
Re: [BUG] Editor crash on sack with too many slots
Posted: Sat Sep 22, 2012 3:41 pm
by Lilltiger
Anything above 10, that is anything higher then the graphics are made for.
Re: [BUG] Editor crash on sack with too many slots
Posted: Sat Sep 22, 2012 4:34 pm
by Komag
so we can have bags with 10 slots? at first I think COOL! but then maybe it's not a good idea for proper balance. on my Toorum playthrough I had all the bags in the game (7 or 8 of them?) full of lightweight stuff to save room in the inventory
Re: [BUG] Editor crash on sack with too many slots
Posted: Sat Sep 22, 2012 4:37 pm
by Neikun
I don't see why we can't have 100 slot bags. *small chuckle*
Re: [BUG] Editor crash on sack with too many slots
Posted: Sat Sep 22, 2012 6:09 pm
by Lilltiger
a wooden_box is the one with 10 slots, so if you want a bag with 10 slots just clone a wooden_box and change the graphics on the icons to look like a bag and change the weight.
Re: [BUG] Editor crash on sack with too many slots
Posted: Sun Sep 23, 2012 9:35 pm
by petri
Yeah sorry the graphics support only fixed number of slots so adjusting the slot count surely leads to issues.