[IDEA] Oil Tanks Deconstructing

This is the place to request new mods or give ideas about what could be done.
Post Reply
User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2904
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

[IDEA] Oil Tanks Deconstructing

Post by darkfrei »

This mod needs universal barrelling, then I want wait for 0.15

Easy script:

Code: Select all

Event: on pre player deconstructing
If entity is tank
If tank is not empty
If player has empty barrels
Calculating barrels, liquids in tank
Then player loose empty barrels and get full barrels.
End
Update: the same for pipes, but it must be saved in global before the player have enough liquid for one barrel.

Update2: If it was no barrels in inventory or too much liquid in tank and liquid was not water, then we get a lot of pollution, sorry.
Last edited by darkfrei on Tue Feb 28, 2017 10:44 pm, edited 3 times in total.

User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2904
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Re: [IDEA] Oil Tanks Deconstructing

Post by darkfrei »

Or it must be in 0.15 vanilla, why not.

Tym
Long Handed Inserter
Long Handed Inserter
Posts: 66
Joined: Fri Feb 10, 2017 4:55 pm
Contact:

Re: [IDEA] Oil Tanks Deconstructing

Post by Tym »

Possibly this is a request for an ease-of-use mod, but cannot the functionality be accomplished using the oil-2-barrel assembler, a stock of barrels, and a chest?

Post Reply

Return to “Ideas and Requests For Mods”