[BUG] Editor crash on sack with too many slots

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
Lilltiger
Posts: 95
Joined: Sun Sep 16, 2012 1:12 am

[BUG] Editor crash on sack with too many slots

Post 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.
User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Re: [BUG] Editor crash on sack with too many slots

Post by Neikun »

How high are we talking?
"I'm okay with being referred to as a goddess."
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
  • Message me to join in!
Lilltiger
Posts: 95
Joined: Sun Sep 16, 2012 1:12 am

Re: [BUG] Editor crash on sack with too many slots

Post by Lilltiger »

Anything above 10, that is anything higher then the graphics are made for.
User avatar
Komag
Posts: 3659
Joined: Sat Jul 28, 2012 4:55 pm
Location: Boston, USA

Re: [BUG] Editor crash on sack with too many slots

Post 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
Finished Dungeons - complete mods to play
User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Re: [BUG] Editor crash on sack with too many slots

Post by Neikun »

I don't see why we can't have 100 slot bags. *small chuckle*
"I'm okay with being referred to as a goddess."
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
  • Message me to join in!
Lilltiger
Posts: 95
Joined: Sun Sep 16, 2012 1:12 am

Re: [BUG] Editor crash on sack with too many slots

Post 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.
User avatar
petri
Posts: 1917
Joined: Thu Mar 01, 2012 4:58 pm
Location: Finland

Re: [BUG] Editor crash on sack with too many slots

Post by petri »

Yeah sorry the graphics support only fixed number of slots so adjusting the slot count surely leads to issues.
Post Reply