Page 1 of 1

Mod Request: No red chip needed for provider chests to simplify self-building bases

Posted: Sat May 25, 2019 5:10 pm
by jimjimmer
Hello
I hope someone can made a mod that removes the red chip requirement from the passive provider chest recipe. That would be awesome. Thank-you.
More info/why: I like plopping a roboport (with a few construction robots), train station, small unloading station (iron and copper), a furnace, and a few simple assembly machines along the tracks that self-builds my larger blueprint (like a fortified 1 science/sec rocket launching base). Lots of fun, but the passive provider chest requires red chips. Boo. So now my initial build needs train stations unloading coal and oil for the plastic. The oil processing requires chem plants and refinery setup, which in turn need stone brick and another train unloading station for stone. All this could be built automatically and put in provider chests if they didn't need red chips.
I just want to avoid cheating too much with infinity chests. Right now I'm just placing a lot of provider chests down initially that the self-building base builds around until it can build red chips, but it's pretty sloppy.

Re: Mod Request: No red chip needed for provider chests to simplify self-building bases

Posted: Sat May 25, 2019 7:15 pm
by eradicator
Google up how to package your own mod and how to create "info.json", then put this single line in a file called "data.lua".

Code: Select all

data.raw.recipe["logistic-chest-passive-provider"].ingredients = {{"steel-chest", 1},{"electronic-circuit", 6}}
Voila, you've made your first mod ;).

Re: Mod Request: No red chip needed for provider chests to simplify self-building bases

Posted: Thu May 30, 2019 10:26 pm
by jimjimmer
Fantastic! I finally got it working! This is my favorite mod! :) Thank-you for the code, it's what I needed! So much appreciated; Yay! I'm pumped!