Page 1 of 1

[IDEA] Oil Tanks Deconstructing

Posted: Tue Feb 28, 2017 11:49 am
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.

Re: [IDEA] Oil Tanks Deconstructing

Posted: Tue Feb 28, 2017 11:51 am
by darkfrei
Or it must be in 0.15 vanilla, why not.

Re: [IDEA] Oil Tanks Deconstructing

Posted: Tue Feb 28, 2017 9:17 pm
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?