Aumentar Recursos
En este video os muestro como aumentar los recursos existentes de nuestro mapa. Espero que os guste ;)
Aqui os dejo el script para que podais usarlo.
/c local resources = {"iron-ore", "copper-ore", "stone", "coal", "crude-oil"}; local border = 1000; local maxAmount = 5000; local minAmount = 1000; local maxYield = 800; local minYield = 500; local cteYield = 75; local xPlayer = game.local_player.position.x; local yPlayer = game.local_player.position.y; local topRectangle = {xPlayer - border, yPlayer - border}; local bottomRectangle = {xPlayer + border, yPlayer + border}; for i, resource in pairs(resources) do for j, entity in pairs(game.local_player.surface.find_entities_filtered{area = {topRectangle, bottomRectangle}, name = resource}) do if entity.name == "crude-oil" then entity.amount=math.random(minYield*cteYield, maxYield*cteYield); else entity.amount=math.random(minAmount, maxAmount); end end end
Rellenar Tanques
En este video os muestro como rellenar los tanques de fluidos existentes de nuestro mapa. Espero que os guste ;)
Aqui os dejo el script para que podais usarlo.
/c local amountPerTank = 2500; local border = 10; local xPlayer = game.local_player.position.x; local yPlayer = game.local_player.position.y; local topRectangle = {xPlayer-border,yPlayer-border}; local bottomRectangle = {xPlayer+border,yPlayer+border}; for i, entity in pairs(game.local_player.surface.find_entities_filtered{area = {topRectangle, bottomRectangle}, name= "storage-tank"}) do local fluidBox = entity.fluidbox[1]; fluidBox.amount = amountPerTank; entity.fluidbox[1] = fluidBox; end
Mejorar Cintas Transportadoras
En este video os muestro como remplazar las cintas transportadoras existentes de nuestro mapa. Espero que os guste ;)
Aqui os dejo el script para que podais usarlo.
/c local transportBelts = {"basic-transport-belt", "fast-transport-belt", "basic-transport-belt-to-ground", "fast-transport-belt-to-ground", "basic-splitter", "fast-splitter"} local border = 100; local xPlayer = game.local_player.position.x; local yPlayer = game.local_player.position.y; local topRectangle = {xPlayer-border,yPlayer-border}; local bottomRectangle = {xPlayer+border,yPlayer+border}; for i, transportBelt in pairs(transportBelts) do for j, entity in pairs(game.local_player.surface.find_entities_filtered{area = {topRectangle, bottomRectangle}, name= transportBelt}) do local oldPosition = entity.position; local oldDirection = entity.direction; local oldforce = entity.force; local oldName = entity.name; if oldName == "basic-transport-belt" or oldName == "fast-transport-belt" then entity.destroy(); game.local_player.surface.create_entity{name = "express-transport-belt", position = oldPosition, direction = oldDirection, force = oldforce}; elseif oldName == "basic-transport-belt-to-ground" or oldName == "fast-transport-belt-to-ground" then local oldGround = entity.belt_to_ground_type; entity.destroy(); game.local_player.surface.create_entity{name = "express-transport-belt-to-ground", position = oldPosition, direction = oldDirection, force = oldforce, type = oldGround}; elseif oldName == "basic-splitter" or oldName == "fast-splitter" then entity.destroy(); game.local_player.surface.create_entity{name = "express-splitter", position = oldPosition, direction = oldDirection, force = oldforce}; end end end
Source: https://steamcommunity.com/sharedfiles/filedetails/?id=691393219
More Factorio guilds
- All Guilds
- Train builder for FACTORIO (ENG)
- 1188 (11 to 88 Flow Line Blueprints)
- Unpatched Bugs List as of Version 1.1.107
- Alternative Atmospherics
- Factorio Guide 842
- Haxard's Blueprint Book v1.1
- Achievements - Saved games
- Factorio
- 22 . Factorio | F
- FACTORIO (UA)