Code: Select all
/c game.surfaces[1].create_entity{
name = "logistic-chest-requester", position = {game.player.position.x+3, game.player.position.y},
force=game.player.force, request_filters={ {index=1, name="iron-plate", count=128} }
}
Code: Select all
/c game.surfaces[1].create_entity{ name = "infinity-chest", position = {game.player.position.x+3, game.player.position.y}, force=game.player.force, request_filters={ {index=1, name="iron-plate", count=128} } }