command to clear / empty all chest, tank, inventory?

Post all other topics which do not belong to any other category.
Spirch
Burner Inserter
Burner Inserter
Posts: 11
Joined: Sun Jun 05, 2016 1:06 am
Contact:

command to clear / empty all chest, tank, inventory?

Post by Spirch »

is there a command that can be run to clear everything stored?

in chest, tank, inventory
NorwegianBlue
Burner Inserter
Burner Inserter
Posts: 19
Joined: Fri Jul 01, 2016 12:54 pm
Contact:

Re: command to clear / empty all chest, tank, inventory?

Post by NorwegianBlue »

Chest: run over it in a tank.
Tank: destroy it with another tank or rocket launcher.
Inventory: put everything in a chest and run over it with a tank.

:P
User avatar
prg
Filter Inserter
Filter Inserter
Posts: 947
Joined: Mon Jan 19, 2015 12:39 am
Contact:

Re: command to clear / empty all chest, tank, inventory?

Post by prg »

LuaControl.clear_items_inside()

Code: Select all

/c game.player.selected.clear_items_inside()

Code: Select all

/c game.player.character.clear_items_inside()
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!
leblisboa
Manual Inserter
Manual Inserter
Posts: 4
Joined: Mon May 11, 2015 12:20 pm
Contact:

Re: command to clear / empty all chest, tank, inventory?

Post by leblisboa »

I would love a command for that too. Reset the factory to see how things go
Post Reply

Return to “General discussion”