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

This subforum contains all the issues which we already resolved.
arl85
Fast Inserter
Fast Inserter
Posts: 179
Joined: Tue Jun 10, 2014 7:08 am
Contact:

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

Post 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.
Attachments
diff.zip
(779 Bytes) Downloaded 101 times
Rahjital
Filter Inserter
Filter Inserter
Posts: 435
Joined: Thu May 29, 2014 10:44 am
Contact:

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

Post 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.
sillyfly
Smart Inserter
Smart Inserter
Posts: 1101
Joined: Sun May 04, 2014 11:29 am
Contact:

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

Post 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?
jeroon
Filter Inserter
Filter Inserter
Posts: 351
Joined: Sun Jan 26, 2014 10:18 am
Contact:

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

Post 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:
slpwnd
Factorio Staff
Factorio Staff
Posts: 1835
Joined: Sun Feb 03, 2013 2:51 pm
Contact:

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

Post by slpwnd »

Thanks, I have applied the patch for the next release.
Post Reply

Return to “Resolved Problems and Bugs”