Crushing Industry


Add early-game crusher variants for crushing sand to smelt into glass, and crushing ore and coal for more efficient smelting

Content
6 hours ago
2.0
1.15K
Mining Manufacturing

i Additional mod compatibility

a month ago
(updated a month ago)

I'd like to suggest possible compatibility with some mods:

  • Lignumis - Gold ore crushing, crushed gold into molten gold
  • Molten Tungsten - Require crushed tungsten for molten tungsten
  • Muluna - Prevent crushed coal overriding cellulose in the 'Plastic from cellulose' recipe
    • Muluna + Wooden Industry - Burner/Electric crushers have no way of choosing between 'Wood crushing' and 'Woodchips' recipes, always defaults to making woodchips.
  • Graphite & Diamonds - Prevent crushed coal overriding carbon black (when enabled) in the standard plastic recipe, possibly have carbon black crafted from crushed coal?
  • Glass - Duplicate glass items I realised there's an option to disable CI's sand/glass items which works fine for this case
    • Glass + Muluna - Same issue as Muluna + Wood Industry, can't pick between 'Sand' and 'Stone crushing' recipes in burner/electric crushers
  • QuirkyCat Recycle - Generate slag from crushed ore smelting (not sure which mod's side this ought to be implemented on)

Very much enjoying all your manufacturing mods so far!

a month ago

The "plastic from cellulose" recipe has now been fixed.

a month ago

Hi star blaster, thanks for the feedback and compatibility requests! I'll handle some of these compatibility requests in the next few days.
Molten Tungsten and QC Recycle will get compatibility support next patch or two.
Graphite & Diamonds I'll contact Brevven to coordinate support.
I won't be adding Lignumis support, as I don't want to over extend myself on compatibility, Muluna was a special case as we both touched the crushers and needed special treatment.

Also thanks MeteorSwarm!

a month ago

I'm currently trying it out and might add compatibility for Lignumis.

a month ago

Great! Lmk if you have questions or feedback, I haven't made much of an API for this one yet, but open to suggestions or requests

a month ago
(updated a month ago)

-snip- (accidental double post)

a month ago
(updated a month ago)

The "plastic from cellulose" recipe has now been fixed.

Thanks!

Hi star blaster, thanks for the feedback and compatibility requests! I'll handle some of these compatibility requests in the next few days.
Molten Tungsten and QC Recycle will get compatibility support next patch or two.
Graphite & Diamonds I'll contact Brevven to coordinate support.
I won't be adding Lignumis support, as I don't want to over extend myself on compatibility, Muluna was a special case as we both touched the crushers and needed special treatment.

Awesome, thanks, and totally understandable about not overextending on compatibility.

a month ago

I added compatibility for Lignumis.

a month ago
(updated a month ago)

I added compatibility for Lignumis.

Thank you!
(It looks like there's a typo in the copper recipe for the burner crusher, though: Unknown key: "entity-name.burner-crushe")

a month ago

Yeah, I noticed right after the release. That one label I didn't check.

a month ago

running into this issue right now:

"Muluna + Wooden Industry - Burner/Electric crushers have no way of choosing between 'Wood crushing' and 'Woodchips' recipes, always defaults to making woodchips", see report above from starblaster64...

Can you maybe implement the vanilla crusher logic, where you can choose the recipe and it's not automatically selected based on input like in furnaces?

Workaround would be to use the vanilla crusher instead of the electric crusher, but with Muluna, that one doesn't work on Nauvis; I'd like to try to crash some wood on Nauvis to see if I can gain petroleum as an alternative instead from crude oil (being a bit locked in by enemies right now, can't expand to next oil patch, thought I could use wood instead for petroleum (wood -> crushed wood -> cellulose -> gasification))...

What do you think?

a month ago
(updated a month ago)

I'd rather merge the two items. Maybe one of the two authors wants to rename it so they match.

a month ago

yeah I was wondering what the best approach might be, I thought the common ground might be the crusher defined in this Crushing Industry mod, and if multiple recipes use it, maybe you should be able to choose... but you could argue otherwise, true.

I wonder what SafTheLamb thinks about that.

What do you mean cackling.fiend, "merge two items2"? you mean the different outcomes for "put wood in crusher"?
- Wooden Industry yields Woodchips https://github.com/SafTheLamb/fm-wood-industry/blob/3eec7bdb7db4de5b9b816653527eec966c819841/prototypes/recipe.lua#L9
- Muluna yields Crushed Wood https://github.com/nicholasgower/planet-muluna/blob/23763b2d3ba2948cc98c9344152ec3a68a582d80/prototypes/recipe/crusher-recipes.lua#L101

they indeed sound similar (different ratios and so on of course), but yeah, the outcome of when you put wood in a crusher should be pretty much the same in "reality" :-)

a month ago

found this, in addition:

https://mods.factorio.com/mod/furnace-recipe-selection adds selecting recipes, but regrettably only for those entities with "furnace" in their name, so not "crushers" :-D

It appears that it's not too complicated to implement that, basically base the crusher on an assembler rather than a furnace, as SafTheLamb does in his mod Alloy Smelting: https://github.com/SafTheLamb/fm-alloy-smelting/blob/9271de1cb94433f5efecd2483265875dc5e4280c/prototypes/entity/entities.lua#L44

a month ago

I mean, the items are practically the same. So just make it one item instead of two and then drop one of the crushing recipes. There are other examples where different mods add the same item like sand, glass, etc. It's just a matter of coordinating a bit.

a month ago

Yeah I will reach out to MeteorSwarm about this and figure out how we can merge the two items. I also don't want to change the machine from a furnace to an assembling machine because that would make it more complicated for other mods to handle compatibility.

30 days ago

Thanks a lot for checking in with MeteorSwarm! I understand that you don't want to change the furnace base, I hope y'all find a good solution to the issue :-)

28 days ago

Quirkycat Recycle updated to include some support for crushing industry - this is a work in progress, I'm working on a testing playthrough at the moment. Any testing and feedback would be much appreciated.

28 days ago

Quirkycat Recycle updated to include some support for crushing industry - this is a work in progress, I'm working on a testing playthrough at the moment. Any testing and feedback would be much appreciated.

Thank you for adding support!
I'm currently getting an error trying to load both mods with Crushing Industry's crushed coal startup option disabled:

Failed to load mods: Error in assignID: item with name 'crushed-coal' does not exist.

Source: jr-slag-processing-2 (recipe).
28 days ago

I will look into that...

28 days ago

Temporary fix applied...

27 days ago
(updated 27 days ago)

@QuirkyCat

Some things I've noticed:

  1. Crushing recipes for copper ore, iron ore, and slag pellets have too many outputs for burner/electric crushers, it doesn't show as craftable in them in the Factoriopedia. They will still be crushed when placed in a burner/electric crusher, but will not output anything past the first 3 slots.
  2. I'm not sure if ores should output slag for both crushing and smelting, that seems like a bit too much slag, in my opinion. Or at least, maybe not both slag and slag pellets.
  3. The current products for slag pellet crushing/processing seem a bit excessive. You get two ore types, coal, stone and all their crushed variants. I think the pellet crafting chain should mostly focus on the crushed stuff.
  4. I think you're applying changes to generic glass even when Crushing Industry's sand/glass is disabled. I noticed Moshine's glass recipe was being replaced by CI's recipe+slag that was unsorted and missing a locale key. (Which is fine if CI's sand/glass is enabled, but not so much if it isn't)
  5. I get a similar error to the crushed-coal error when loading without any mods that add generic glass (and presumably sand):

    Failed to load mods: __quirkycat_recycle__/ci-changes.lua:229: attempt to index field 'glass' (a nil value) stack traceback: __quirkycat_recycle__/ci-changes.lua:229: in main chunk [C]: in function 'require' __quirkycat_recycle__/data-updates.lua:8: in main chunk

  6. BZ Mods' ores don't currently output slag when smelting their crushed variants.
27 days ago

Most of those issues are already fixed but not yet published - still working on it.

24 days ago

As far as I know, compatibility with almost all of these mods has now been handled, either by me or by other developers (s.o. to cackling.fiend, MeteorSwarm, QuirkyCat, and S6X).
The only one not done is Graphite & Diamonds, for which I have reached out to brevven.
Cheers!

24 days ago

Yeah I will reach out to MeteorSwarm about this and figure out how we can merge the two items. I also don't want to change the machine from a furnace to an assembling machine because that would make it more complicated for other mods to handle compatibility.

Were you able to fix the wood crusher thing, too? Did you and MeteorSwarm manage to merge the items? :-)

22 days ago

Hiya, I believe MeteorSwarm is working that :)

18 days ago
(updated 18 days ago)

works now! :-) https://github.com/nicholasgower/planet-muluna/issues/138

https://mods.factorio.com/mod/planet-muluna/changelog:
"Changed internal name of "wood-crushed" and "wood-crushing" to "woodchips" to match Wooden Industries."

16 days ago

@MeteorSwarm

The "plastic from cellulose" recipe has now been fixed.

I've just noticed that the recipe still seems to have cellulose overridden by crushed coal (only recently re-enabled crushed coal in my save).

15 days ago

I've pinged MeteorSwarm and he's addressed that issue. I'm going to close this thread now as it's gotten quite large lol. Feel free to create new threads for additional compatibility requests, but all of the ones listed here are either done or as intended. Also R.E. Graphite & Diamonds, brevven has added compatibility, with Diamonds added to the recipe for Space crushers and Big crushers!

Cheers and thanks to everyone for the feedback and collaboration :)

This thread has been locked.