Copy-multiple paste ?

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
Post Reply
User avatar
binbinhfr
Smart Inserter
Smart Inserter
Posts: 1524
Joined: Sat Feb 27, 2016 7:37 pm
Contact:

Copy-multiple paste ?

Post by binbinhfr »

Hi,

I have a bunch (200) of requester chests with settings to iron-ore.
I want to change them to copper-ore.
I know about copy paste (shift right but and shift left but), but I do not want to copy 100 times...
Is there a way to make a multiple paste ?
My mods on the Factorio Mod Portal :geek:

Nexela
Smart Inserter
Smart Inserter
Posts: 1828
Joined: Wed May 25, 2016 11:09 am
Contact:

Re: Copy-multiple paste ?

Post by Nexela »

Change a handful and blueprint them. then deconstruct the old and plop down the blueprint. That is the only thing I can think of outside of possible writing a mod to do it if the api supports it.

User avatar
binbinhfr
Smart Inserter
Smart Inserter
Posts: 1524
Joined: Sat Feb 27, 2016 7:37 pm
Contact:

Re: Copy-multiple paste ?

Post by binbinhfr »

Nexela wrote:Change a handful and blueprint them. then deconstruct the old and plop down the blueprint. That is the only thing I can think of outside of possible writing a mod to do it if the api supports it.
I tried this but...
my problem is that these chests are quite full of things. If I deconstructs these hundredth chests, robots will take a lot of time and storage place to empty them before deconstructing them... Just changing the conditions of the chests is what I need.
My mods on the Factorio Mod Portal :geek:

orzelek
Smart Inserter
Smart Inserter
Posts: 3911
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: Copy-multiple paste ?

Post by orzelek »

Maybe try force-placing blueprint with new conditions over old ones and see if it works?

Nexela
Smart Inserter
Smart Inserter
Posts: 1828
Joined: Wed May 25, 2016 11:09 am
Contact:

Re: Copy-multiple paste ?

Post by Nexela »

Well shouldn't be too hard to do with a console script.

something along the lines of

get requester chests in range, and looping through
get_request_slot(slot)
and
set_request_slot(request, slot)

User avatar
binbinhfr
Smart Inserter
Smart Inserter
Posts: 1524
Joined: Sat Feb 27, 2016 7:37 pm
Contact:

Re: Copy-multiple paste ?

Post by binbinhfr »

Yes I guess I'll write another mod for that.
I will finish this one first !
viewtopic.php?f=92&t=29179
My mods on the Factorio Mod Portal :geek:

User avatar
binbinhfr
Smart Inserter
Smart Inserter
Posts: 1524
Joined: Sat Feb 27, 2016 7:37 pm
Contact:

Re: Copy-multiple paste ?

Post by binbinhfr »

orzelek wrote:Maybe try force-placing blueprint with new conditions over old ones and see if it works?
alas it does not work
My mods on the Factorio Mod Portal :geek:

zebediah49
Fast Inserter
Fast Inserter
Posts: 119
Joined: Fri Jun 17, 2016 8:17 pm
Contact:

Re: Copy-multiple paste ?

Post by zebediah49 »

binbinhfr wrote:Hi,
I know about copy paste (shift right but and shift left but), but I do not want to copy 100 times...
Is there a way to make a multiple paste ?
Just checking, are you asking for <shift-right> <shift-left> <shift-left>..... <shift-left>? So that you don't have to keep doing the copy operation?

... Because that's how it already works.

User avatar
binbinhfr
Smart Inserter
Smart Inserter
Posts: 1524
Joined: Sat Feb 27, 2016 7:37 pm
Contact:

Re: Copy-multiple paste ?

Post by binbinhfr »

Oh no, I just laready copy once, but I don't want to shift-left x100... So I wonder if there was a way to multiple select and paste, or anything...
My mods on the Factorio Mod Portal :geek:

Harkonnen604
Filter Inserter
Filter Inserter
Posts: 285
Joined: Thu Jun 09, 2016 5:56 am
Contact:

Re: Copy-multiple paste ?

Post by Harkonnen604 »

If all chests are reachable, you can hold shift, hold running and just click-click-click-click. Not a big deal for 100 chests. But only if all reachable.

User avatar
binbinhfr
Smart Inserter
Smart Inserter
Posts: 1524
Joined: Sat Feb 27, 2016 7:37 pm
Contact:

Re: Copy-multiple paste ?

Post by binbinhfr »

Yes, good idea, I'll try it tonight !!!
My mods on the Factorio Mod Portal :geek:

User avatar
binbinhfr
Smart Inserter
Smart Inserter
Posts: 1524
Joined: Sat Feb 27, 2016 7:37 pm
Contact:

Re: Copy-multiple paste ?

Post by binbinhfr »

Well running is not for me.

So I wrote a mod !

For those who are interested :
viewtopic.php?f=92&t=30163

https://mods.factorio.com/mods/binbinhf ... ttingsTool
My mods on the Factorio Mod Portal :geek:

Post Reply

Return to “Gameplay Help”