1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-01-03 22:52:13 +02:00

Changed position of the barrage chest

- Suggestion by Pumba
- Moved the barrage chest for better symmetry of the loaders (apparently)
This commit is contained in:
Jayefuu 2022-03-10 18:47:53 +00:00
parent ec4fc1cf98
commit ac46e22836
2 changed files with 4 additions and 4 deletions

View File

@ -510,11 +510,11 @@ function Public.control(config)
end
-- Check that the chest is where it should be.
local entities = s.find_entities_filtered {position = {2.5, -1.5}, type = 'logistic-container', limit = 1}
local entities = s.find_entities_filtered {position = {-3.5, -7.5}, type = 'logistic-container', limit = 1}
local dropbox = entities[1]
if dropbox == nil then
player.print("Chest not found. Replace it here: [gps=2.5,-1.5,redmew]")
player.print("Chest not found. Replace it here: [gps=-3.5,-7.5,redmew]")
return
end

View File

@ -862,6 +862,7 @@ local function init(config)
[1] = {
market = market,
chest = chest,
[5] = {entity = {name = 'logistic-chest-requester', force = 'player', callback = 'chest'}},
[29] = {entity = {name = 'market', force = 'neutral', callback = 'market'}},
[32] = {entity = {name = 'steel-chest', force = 'player', callback = 'chest'}}
},
@ -873,7 +874,6 @@ local function init(config)
[3] = {entity = {name = 'logistic-chest-requester', force = 'player', callback = 'chest'}},
[25] = {entity = {name = 'burner-inserter', direction = 2, callback = 'inserter'}},
[27] = {entity = {name = 'electric-furnace', callback = 'factory'}},
[51] = {entity = {name = 'logistic-chest-requester', force = 'player', callback = 'chest'}}
}
}
@ -898,7 +898,7 @@ Global.register_init(
-- Sprites for the spawn chests. Is there a better place for these?
rendering.draw_sprite{sprite = "item.poison-capsule", target = {2.5, -8.5}, surface = game.surfaces["redmew"], tint={1, 1, 1, 0.1}}
rendering.draw_sprite{sprite = "item.explosive-rocket", target = {2.5, -2.5}, surface = game.surfaces["redmew"], tint={1, 1, 1, 0.1}}
rendering.draw_sprite{sprite = "item.explosive-rocket", target = {-3.5, -8.5}, surface = game.surfaces["redmew"], tint={1, 1, 1, 0.1}}
local surface = game.surfaces[1]
surface.map_gen_settings = {width = 2, height = 2}