Page 1 of 1

Looking for a magical chest mod

Posted: Thu Sep 19, 2019 6:34 am
by mrt144
Basically I want a chest that creates a steady supply of iron ore/copper ore/coal/stone/water/oil and a reciprocal chest destroys whatever enters.

I want to test ideas without having to build mining infrastructure and while i know infinte ores exists...i want even simpler. Something that just provides resource signal.

Re: Looking for a magical chest mod

Posted: Thu Sep 19, 2019 6:40 am
by Deadlock989
This is in the base game already. Search for "infinity chest".

Re: Looking for a magical chest mod

Posted: Thu Sep 19, 2019 10:20 am
by darkfrei
mrt144 wrote:
Thu Sep 19, 2019 6:34 am
Basically I want a chest that creates a steady supply of iron ore/copper ore/coal/stone/water/oil and a reciprocal chest destroys whatever enters.
https://mods.factorio.com/mod/CreativeChests

Re: Looking for a magical chest mod

Posted: Fri Sep 20, 2019 2:53 am
by mrt144
Appreciate the direction!

Re: Looking for a magical chest mod

Posted: Fri Sep 20, 2019 6:25 am
by Optera
Factorio includes hidden entities producing or removing items, fluids, power and heat.
Creative Items makes them available in normal games.
If you only want to remove items without feeling too cheaty try Void Chest + and Flare Stack.

Re: Looking for a magical chest mod

Posted: Fri Sep 20, 2019 7:17 am
by eradicator
Optera wrote:
Fri Sep 20, 2019 6:25 am
Factorio includes hidden entities producing or removing items, fluids, power and heat.
Also available in the built-in /editor.

Re: Looking for a magical chest mod

Posted: Fri Sep 20, 2019 8:36 am
by darkfrei
One console command is enough
/c game.player.insert{name=item_name, count=1}

Re: Looking for a magical chest mod

Posted: Fri Sep 20, 2019 10:11 am
by disentius
Don't do that in a game where you want achievements, though:)
the commands:
/c game.player.insert{name="infinity-chest", count=1}
/c game.player.insert{name=infinity-pipe, count=1}

Re: Looking for a magical chest mod

Posted: Fri Sep 20, 2019 10:24 am
by darkfrei
disentius wrote:
Fri Sep 20, 2019 10:11 am
Don't do that in a game where you want achievements, though:)
the commands:
/c game.player.insert{name="infinity-chest", count=1}
/c game.player.insert{name=infinity-pipe, count=1}
Is this code right too?

Code: Select all

/c game.player.insert{{name="infinity-chest", count=1}, {name=infinity-pipe, count=1}}
https://lua-api.factorio.com/latest/Lua ... ory.insert
https://lua-api.factorio.com/latest/Lua ... rol.insert

Re: Looking for a magical chest mod

Posted: Fri Sep 20, 2019 1:56 pm
by disentius
Nope.
this one will insert a stack of each:
/c game.player.insert "infinity-chest" ; game.player.insert "infinity-pipe"
if you want a precise item count, this:
/c game.player.insert{name="infinity-chest", count = 20} ; game.player.insert{name="infinity-pipe", count= 20}

Re: Looking for a magical chest mod

Posted: Sat Sep 21, 2019 1:30 am
by mrt144
disentius wrote:
Fri Sep 20, 2019 10:11 am
Don't do that in a game where you want achievements, though:)
the commands:
/c game.player.insert{name="infinity-chest", count=1}
/c game.player.insert{name=infinity-pipe, count=1}
I definitely don't care about that at this point. I seriously just want to test things modularly without having to muck up a real game so when I finally get around to doing something real I can skip doinking around with efficiency ideas that start to overwhelm me and get in the way of actually building ;)

I did jsut discover that modules and beacons feels like cheating for the purpose of the 1000 SPM challenge, like...I get it because of UPS but just testing out a pretty basic Red Beaker modularly designed factory that thing was pumping out 350/SPM over 10 minute load with full prod 3 modules and 8 beaconed speed 3 modules at every step of production from smelt to train load . I was like...ummmm....that's kind of gross. I'll see how it goes with the next one.

FWIW I did use the method suggested and it is perfect for my purposes.

The 'city block' thing got me thinking about how maybe i need some kinda organizing mechanism to keep me on track and now I feel like I'm desiging little microchips with specific purposes. I dig it!