How do I create entity with an item inside?
Posted: Tue Dec 19, 2017 12:05 pm
This command creates the chest empty:
How to create a chest with a robot inside?
Code: Select all
/c game.surfaces[1].create_entity{name = "wooden-chest", position= {0, -1}, insert={name='construction-robot', count=50}, force = game.forces.player}