Page 1 of 1

[0.10.2] - some items still with a base 2 stack_size

Posted: Sun Jun 29, 2014 4:05 pm
by arl85
Not properly a bug but almost all entries in gun.lua and demo-gun.lua have a stack_size values unchanged since 0.9.8
I'm attaching here a diff file for these files, where I replace stack_size = 4 with stack_size = 5 and stack_size = 16 with stack_size = 20, as has been done for all other entries.

by the way, why guns have stack_size > 1? is there any advantage having more than one flame thrower or submachine?
While it seems reasonable for armors, weapons do not seems to "degrade" in any way, so I cannot find any reason for having more than one of them.

Re: [0.10.2] - some items still with a base 2 stack_size

Posted: Mon Jun 30, 2014 8:06 am
by Rahjital
Hm, I guess this was overlooked because nobody makes more than one gun anyway. As for landmines... does anybody actually use landmines? Either way, this is most likely unintended, so it should be fixed.

Re: [0.10.2] - some items still with a base 2 stack_size

Posted: Tue Jul 01, 2014 12:42 am
by sillyfly
First reason is - why not?
Another reason I can see - it may have a use in a campaign - maybe you have to supply the arms for an assault force, say - 500 SMGs. You wouldn't want to have 500 stacks of 1, would you?

Re: [0.10.2] - some items still with a base 2 stack_size

Posted: Tue Jul 01, 2014 9:45 am
by jeroon
Rocket Defense still needs 128 blue and red circuits. Maybe this was never changed to not make my challenge any easier, maybe it was just overlooked :mrgreen:

Re: [0.10.2] - some items still with a base 2 stack_size

Posted: Tue Jul 01, 2014 2:13 pm
by slpwnd
Thanks, I have applied the patch for the next release.