Which mods names show in yellow when you mouse over the iron and copper plates? That's the mod changing the stack size. I just added a fix for the changes that Bob's Plates makes to the base item stack sizes in a version in the last couple days, so make sure you're running current if it's Bob's. If it's something else, it should be a pretty easy fix.GrumpyJoe wrote: ↑Sat Mar 23, 2019 3:25 pmMeh, thats a quick edit....
Ok... so, DLstack is making stacks from base game items, which would be iron plate, copper plate etc.
crisdecs pYstack makes everything stack that pY added, like aluminium plates and the intermediate stuff in rawOres. And stacks to 100stacks or 500 plates. I dont know which ones "responsibility" it would be to look into base game items in modded games, but the whole thing is getting even more confusing and unconvenient. I think we will just use loaders for warehouses and live with early slow loading of trains ^^
Anyway, thanks for the mod, i love it when people get their ideas to work and improve this game
[MOD] Deadlock's Stacking Beltboxes & Compact Loaders
-
- Fast Inserter
- Posts: 128
- Joined: Thu Feb 08, 2018 8:25 am
- Contact:
Re: [MOD 0.17] Deadlock's Stacking Beltboxes & Compact Loaders
- Deadlock989
- Smart Inserter
- Posts: 2529
- Joined: Fri Nov 06, 2015 7:41 pm
Re: [MOD 0.17] Deadlock's Stacking Beltboxes & Compact Loaders
The base mod isn't supposed to have dependencies on all these big overhaul mods. It's the third party mod which adds in the Py items which should have a dependency on Py and then set up its stuff in data-final-fixes. If a third party mod has altered vanilla items then you can tell it to re-stack them and it will update the vanilla item with any changes.reapersms wrote: ↑Sat Mar 23, 2019 5:33 pmSounds like an ordering issue. The base stacking mod is probably creating the stack item for plates before pymods change the stack size.
An optional dependency on py for the base would probably work best. Otherwise maybe a pass in final fixes that rechecks and fixes stack sizes for the deadlock items..
-
- Fast Inserter
- Posts: 128
- Joined: Thu Feb 08, 2018 8:25 am
- Contact:
Re: [MOD 0.17] Deadlock's Stacking Beltboxes & Compact Loaders
Yeah - as I put it on that Bob's Plates bug report thread and bears repeating here:
keeping the code simple this time around requires a 'you break it, you bought it' philosophy in the data phase.
Re: [MOD 0.17] Deadlock's Stacking Beltboxes & Compact Loaders
cant load the game until tomorrow, but we dont have more than full py and a bit QoL stuff.shanemadden wrote: ↑Sat Mar 23, 2019 5:57 pm
Which mods names show in yellow when you mouse over the iron and copper plates? That's the mod changing the stack size. I just added a fix for the changes that Bob's Plates makes to the base item stack sizes in a version in the last couple days, so make sure you're running current if it's Bob's. If it's something else, it should be a pretty easy fix.
Inserters is the only bobs mod, doesn´t even require his lib
i doubt LTN, warehouse and bulk railloaders mess with stack sizes
-
- Fast Inserter
- Posts: 128
- Joined: Thu Feb 08, 2018 8:25 am
- Contact:
Re: [MOD 0.17] Deadlock's Stacking Beltboxes & Compact Loaders
Version 2.1.0 has been released with all new graphics thanks to Deadlock, as well as an additional option to allow disabling the display of the recipe on beltboxes in alt mode - post with any issues!
GrumpyJoe, feel free to upload an example save and I can sync to your mod set and see what's doing what.
GrumpyJoe, feel free to upload an example save and I can sync to your mod set and see what's doing what.
-
- Fast Inserter
- Posts: 104
- Joined: Tue Nov 15, 2016 10:56 pm
- Contact:
Re: [MOD 0.17] Deadlock's Stacking Beltboxes & Compact Loaders
Read the mod page comments on the new graphics. Totally understand the shift to the new style, sounds like it took a lot of work.
"And then Bender ran."
Large arrow icons missing
Seems like some mods start to have 128 pixel icons. After some updates I now get:
29.259 Mods to disable:Failed to load mods: File not found: __deadlock-beltboxes-loaders__/graphics/icons/arrow-d-128.png
Looking at data.raw I see:
Please add 128 pixel arrows or pick a smaller arrow icon when generating stacks.
29.259 Mods to disable:Failed to load mods: File not found: __deadlock-beltboxes-loaders__/graphics/icons/arrow-d-128.png
Looking at data.raw I see:
Code: Select all
name = "deadlock-stacks-stack-basic-circuit-board",
icons = {
{
icon = "__deadlock-beltboxes-loaders__/graphics/icons/blank.png",
icon_size = 32,
scale = 1
},
{
icon = "__bobelectronics__/graphics/icons/colour-coded/basic-circuit-board.png",
icon_size = 128,
scale = 0.2125,
shift = {
0,
3
}
},
{
icon = "__bobelectronics__/graphics/icons/colour-coded/basic-circuit-board.png",
icon_size = 128,
scale = 0.2125,
shift = {
0,
0
}
},
{
icon = "__bobelectronics__/graphics/icons/colour-coded/basic-circuit-board.png",
icon_size = 128,
scale = 0.2125,
shift = {
0,
-3
}
},
{
icon = "__deadlock-beltboxes-loaders__/graphics/icons/arrow-d-128.png",
icon_size = 128,
scale = 0.125
}
},
-
- Fast Inserter
- Posts: 128
- Joined: Thu Feb 08, 2018 8:25 am
- Contact:
Re: Large arrow icons missing
Should be fixed in 2.1.4.mrvn wrote: ↑Sat Mar 30, 2019 1:54 pmSeems like some mods start to have 128 pixel icons. After some updates I now get:
29.259 Mods to disable:Failed to load mods: File not found: __deadlock-beltboxes-loaders__/graphics/icons/arrow-d-128.png
Looking at data.raw I see:
Please add 128 pixel arrows or pick a smaller arrow icon when generating stacks.Code: Select all
name = "deadlock-stacks-stack-basic-circuit-board", icons = { { icon = "__deadlock-beltboxes-loaders__/graphics/icons/blank.png", icon_size = 32, scale = 1 }, { icon = "__bobelectronics__/graphics/icons/colour-coded/basic-circuit-board.png", icon_size = 128, scale = 0.2125, shift = { 0, 3 } }, { icon = "__bobelectronics__/graphics/icons/colour-coded/basic-circuit-board.png", icon_size = 128, scale = 0.2125, shift = { 0, 0 } }, { icon = "__bobelectronics__/graphics/icons/colour-coded/basic-circuit-board.png", icon_size = 128, scale = 0.2125, shift = { 0, -3 } }, { icon = "__deadlock-beltboxes-loaders__/graphics/icons/arrow-d-128.png", icon_size = 128, scale = 0.125 } },
Re: [MOD 0.17] Deadlock's Stacking Beltboxes & Compact Loaders
kinda forgot, now we need itshanemadden wrote: ↑Sat Mar 23, 2019 5:57 pmWhich mods names show in yellow when you mouse over the iron and copper plates? That's the mod changing the stack size. I just added a fix for the changes that Bob's Plates makes to the base item stack sizes in a version in the last couple days, so make sure you're running current if it's Bob's. If it's something else, it should be a pretty easy fix.GrumpyJoe wrote: ↑Sat Mar 23, 2019 3:25 pmMeh, thats a quick edit....
Ok... so, DLstack is making stacks from base game items, which would be iron plate, copper plate etc.
crisdecs pYstack makes everything stack that pY added, like aluminium plates and the intermediate stuff in rawOres. And stacks to 100stacks or 500 plates. I dont know which ones "responsibility" it would be to look into base game items in modded games, but the whole thing is getting even more confusing and unconvenient. I think we will just use loaders for warehouses and live with early slow loading of trains ^^
Anyway, thanks for the mod, i love it when people get their ideas to work and improve this game
it shows Base mod > Pyanodons Raw Ores for unstacked plates
pY stack size of plates is 500, stack size of stacked plates is 20 (100/5)
We have DeadlocksStacking4Pyanadon_0.4.8 running, complimenting deadlock-beltboxes-loaders_2.1.3, but the former doesn´t show in the tooltip of the stacks, only the "basic" DL beltbox one
Re: [MOD 0.17] Deadlock's Stacking Beltboxes & Compact Loaders
Is there a better way to update vanilla items in data-final-fixes than this:
I don't particularly like doing it this way.
Code: Select all
for _,item in pairs(item_names) do
local stacked_item = string.format("deadlock-stack-%s", item)
data.raw.item[stacked_item].stack_size = math.floor(data.raw.item[item].stack_size/5)
end
- I consider the item name and the stack divider to be internals of DSB
- Icons for items and recipes don't get updated. For example, Bobs, ShinyBobs, MoreBobs and Pyanodon change the icons for the circuit boards.
-
- Smart Inserter
- Posts: 1463
- Joined: Sun Jun 15, 2014 11:39 am
- Contact:
Re: [MOD 0.17] Deadlock's Stacking Beltboxes & Compact Loaders
Ya deadlock4pyanodon doesnt update the vanilla stacks. I've messaged crisdec that it needs updatedGrumpyJoe wrote: ↑Sun Mar 31, 2019 11:04 amkinda forgot, now we need itshanemadden wrote: ↑Sat Mar 23, 2019 5:57 pmWhich mods names show in yellow when you mouse over the iron and copper plates? That's the mod changing the stack size. I just added a fix for the changes that Bob's Plates makes to the base item stack sizes in a version in the last couple days, so make sure you're running current if it's Bob's. If it's something else, it should be a pretty easy fix.GrumpyJoe wrote: ↑Sat Mar 23, 2019 3:25 pmMeh, thats a quick edit....
Ok... so, DLstack is making stacks from base game items, which would be iron plate, copper plate etc.
crisdecs pYstack makes everything stack that pY added, like aluminium plates and the intermediate stuff in rawOres. And stacks to 100stacks or 500 plates. I dont know which ones "responsibility" it would be to look into base game items in modded games, but the whole thing is getting even more confusing and unconvenient. I think we will just use loaders for warehouses and live with early slow loading of trains ^^
Anyway, thanks for the mod, i love it when people get their ideas to work and improve this game
it shows Base mod > Pyanodons Raw Ores for unstacked plates
pY stack size of plates is 500, stack size of stacked plates is 20 (100/5)
We have DeadlocksStacking4Pyanadon_0.4.8 running, complimenting deadlock-beltboxes-loaders_2.1.3, but the former doesn´t show in the tooltip of the stacks, only the "basic" DL beltbox one
stacksize.png
-
- Fast Inserter
- Posts: 128
- Joined: Thu Feb 08, 2018 8:25 am
- Contact:
Re: [MOD 0.17] Deadlock's Stacking Beltboxes & Compact Loaders
The intended 'right approach' is supposed to be to re-run the function to add the stacks for the edited items after the edits have happened - but I've actually got a misguided check that would prevent that from working, and that would cause some unintended consequences in ordering. So yeah, that's the best option for now, but that's my fault.Harag wrote: ↑Sun Mar 31, 2019 2:32 pmIs there a better way to update vanilla items in data-final-fixes than this:I don't particularly like doing it this way.Code: Select all
for _,item in pairs(item_names) do local stacked_item = string.format("deadlock-stack-%s", item) data.raw.item[stacked_item].stack_size = math.floor(data.raw.item[item].stack_size/5) end
- I consider the item name and the stack divider to be internals of DSB
- Icons for items and recipes don't get updated. For example, Bobs, ShinyBobs, MoreBobs and Pyanodon change the icons for the circuit boards.
I'll at least fix that, and I'm also experimenting with delaying some of the calculations to make some of these updates unneeded - icon changes would still need an explicit update though (at least in the case of the vanilla ones, since they aren't auto-rendered).
Re: [MOD 0.17] Deadlock's Stacking Beltboxes & Compact Loaders
Wouldn't it make sense to leave the icon(s) nil if not specified when the stack is created and then in final fixes add icons that are missing?shanemadden wrote: ↑Sun Mar 31, 2019 3:18 pmThe intended 'right approach' is supposed to be to re-run the function to add the stacks for the edited items after the edits have happened - but I've actually got a misguided check that would prevent that from working, and that would cause some unintended consequences in ordering. So yeah, that's the best option for now, but that's my fault.Harag wrote: ↑Sun Mar 31, 2019 2:32 pmIs there a better way to update vanilla items in data-final-fixes than this:I don't particularly like doing it this way.Code: Select all
for _,item in pairs(item_names) do local stacked_item = string.format("deadlock-stack-%s", item) data.raw.item[stacked_item].stack_size = math.floor(data.raw.item[item].stack_size/5) end
- I consider the item name and the stack divider to be internals of DSB
- Icons for items and recipes don't get updated. For example, Bobs, ShinyBobs, MoreBobs and Pyanodon change the icons for the circuit boards.
I'll at least fix that, and I'm also experimenting with delaying some of the calculations to make some of these updates unneeded - icon changes would still need an explicit update though (at least in the case of the vanilla ones, since they aren't auto-rendered).
Recipes with Bob+Angles with overhaul
I'm looking at a belt, inserter, loader and beltbox factory for Bobs+Angels with overhauls active. All the recipes from Bob seem to be pretty consistent across each tire with two exception for inserter (uses iron plate instead of burner inserter) and filter inserters (uses electonic circuit board instead of circuit board).
The big exception to it all are the beltboxes and loaders:
First thing I notice is that the blue loaders are in the "crafting-with-fluid" category but don't actually need any fluid. This should be removed. Oterwise the loaders fit nicely into Bobs tires.
That leaves the belt boxes. They are completely different and I would like to get them changed. Here is my idea and reasoning that probably works for vanilla and other mods too: My reasoning is that a splitter is as complex as a belt box. So why not take the recipe for the splitter of the right tire, go through the ingredients and replace any splitter with the respective belt box and use that.
As an example this would change express-transport-belt-beltbox from:
to:
This should also remove the "crafting-with-fluid" requirement as now none is used. The need for lubricant has moved to cobalt-steel-bearings. It's not just gone with my proposal.
In fact with my proposal the higher tire belt boxes would be more expensive to build but they would have the same ingredients as all other logistics items of the same tire.
The big exception to it all are the beltboxes and loaders:
First thing I notice is that the blue loaders are in the "crafting-with-fluid" category but don't actually need any fluid. This should be removed. Oterwise the loaders fit nicely into Bobs tires.
That leaves the belt boxes. They are completely different and I would like to get them changed. Here is my idea and reasoning that probably works for vanilla and other mods too: My reasoning is that a splitter is as complex as a belt box. So why not take the recipe for the splitter of the right tire, go through the ingredients and replace any splitter with the respective belt box and use that.
As an example this would change express-transport-belt-beltbox from:
Code: Select all
fast-transport-belt-beltbox 1
iron-plate 30
iron-gear-wheel 30
lubricant 100
Code: Select all
fast-transport-belt-beltbox 1
advanced-circuit 5
aluminium-plate 8
cobalt-steel-bearing 12
cobalt-steel-gear-wheel 14
In fact with my proposal the higher tire belt boxes would be more expensive to build but they would have the same ingredients as all other logistics items of the same tire.
Re: [MOD 0.17] Deadlock's Stacking Beltboxes & Compact Loaders
thanks alot, i wasn´t sure where to ask as there is some cross linking forum threads going on at the mod portal and OP here ^^kingarthur wrote: ↑Sun Mar 31, 2019 3:17 pm
Ya deadlock4pyanodon doesnt update the vanilla stacks. I've messaged crisdec that it needs updated
- Deadlock989
- Smart Inserter
- Posts: 2529
- Joined: Fri Nov 06, 2015 7:41 pm
Re: Recipes with Bob+Angles with overhaul
Just a reminder that we went to some trouble to provide a cross-mod API so that people could do these things. There is no reason that the third party Bob's add-on can't make the changes you suggest. You couldn't add third party recipes for every other mod on the portal. That's what the add-ons are for, to make DSB work with mods that overhaul the ingredient system.
Also, it would break people's factories if the recipe changed mid-game.
It shouldn't be crafting-with-fluid, fair enough, but really, the add-on should be fixing that.
Re: Recipes with Bob+Angles with overhaul
Well, the add-on I'm talking about is deadlock-integrations_2.0.7. Am I wrong here? Does that have it's own forum thread?Deadlock989 wrote: ↑Sun Mar 31, 2019 6:37 pmJust a reminder that we went to some trouble to provide a cross-mod API so that people could do these things. There is no reason that the third party Bob's add-on can't make the changes you suggest. You couldn't add third party recipes for every other mod on the portal. That's what the add-ons are for, to make DSB work with mods that overhaul the ingredient system.
Also, it would break people's factories if the recipe changed mid-game.
It shouldn't be crafting-with-fluid, fair enough, but really, the add-on should be fixing that.
-
- Fast Inserter
- Posts: 128
- Joined: Thu Feb 08, 2018 8:25 am
- Contact:
Re: [MOD 0.17] Deadlock's Stacking Beltboxes & Compact Loaders
2.1.5 drops the optional dependency on bobplates and does a late re-sync of the fuel and stack attributes that Bob's, Py's and others change.
Regarding the recipes for Bob's, the loader recipes are definitely a lot more integrated, there's a whole bunch of checks in the integration mod https://github.com/shanemadden/factorio ... ob.lua#L34 for which of Bob's materials are loaded - the beltboxes need to get the same treatment but as Deadlock mentioned, it's disruptive to change recipes for existing saves in an update.
I'm planning on doing a default-disabled opt-in option for an alternate set of loader recipes that's been suggested in a mod portal thread, can plan on doing the same for updated beltbox recipes with an eye toward making them default in a later version - but I'm not much of a Bob's player so I don't have a good feel for specific balance decisions.
Regarding the recipes for Bob's, the loader recipes are definitely a lot more integrated, there's a whole bunch of checks in the integration mod https://github.com/shanemadden/factorio ... ob.lua#L34 for which of Bob's materials are loaded - the beltboxes need to get the same treatment but as Deadlock mentioned, it's disruptive to change recipes for existing saves in an update.
I'm planning on doing a default-disabled opt-in option for an alternate set of loader recipes that's been suggested in a mod portal thread, can plan on doing the same for updated beltbox recipes with an eye toward making them default in a later version - but I'm not much of a Bob's player so I don't have a good feel for specific balance decisions.
- Deadlock989
- Smart Inserter
- Posts: 2529
- Joined: Fri Nov 06, 2015 7:41 pm
Re: Recipes with Bob+Angles with overhaul
shane can explain more about what that is and where it is going, but essentially it's a stop-gap. The aim eventually was to have the third party add-on - in this case, I'm assuming OhChirpy's add-on for Bob's - specify the belt tiers, beltbox ingredients, the lot. This is still being worked on.
But even without that being quite 100% complete, there is nothing stopping people modding the beltbox/loader recipes. Back in my day I did a simple generic "base the recipe on the underground" thing with the hope that people who play these overhaul mods would improve on it.
But speaking as someone who gave up on trying to please everybody at once with this mod and handed it to someone else, the main reason was that it got tiring to constantly run around after these big mods that continually break everything and not get a cent back the other way.
That's why I gave people the tools to do it themselves. You're welcome.
-
- Fast Inserter
- Posts: 128
- Joined: Thu Feb 08, 2018 8:25 am
- Contact:
Re: [MOD 0.17] Deadlock's Stacking Beltboxes & Compact Loaders
Exactly right - the support which was previously in the base DSB/DCL mods for other mods' belt tiers was moved to the integrations mod and I'm happy to continue maintaining that as-is, accepting sensible pull requests on the recipes and balance, etc, but that's in order to maintain the features that the mods had previously. I'd also be perfectly happy with moving the Bob's integration to OhChirpy's mod and making it the 'official' Bob's tie-in, if they want to take on the recipe building code.
I'm working to make sure the base mod stays slim and simple, and that the interfaces that it provides give other mods all they need to integrate, so that any trickiness needed to deal with those mods is kept out of the core.
Ultimate Belts, for instance, is now just directly integrated with the API to add beltboxes and loaders for its tiers, and the new silly stuff that I've been messing with is in a standalone mod as well https://mods.factorio.com/mod/deadlock-experiments - pretty much everything should be exposed to other mods, and if you find something you need that isn't, we'll fix it.
I'm working to make sure the base mod stays slim and simple, and that the interfaces that it provides give other mods all they need to integrate, so that any trickiness needed to deal with those mods is kept out of the core.
Ultimate Belts, for instance, is now just directly integrated with the API to add beltboxes and loaders for its tiers, and the new silly stuff that I've been messing with is in a standalone mod as well https://mods.factorio.com/mod/deadlock-experiments - pretty much everything should be exposed to other mods, and if you find something you need that isn't, we'll fix it.