1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-14 10:13:13 +02:00
RedMew/map_gen/maps/venice.lua

49 lines
1.3 KiB
Lua
Raw Normal View History

2018-05-08 22:23:07 +02:00
local b = require "map_gen.shared.builders"
local ScenarioInfo = require 'features.gui.info'
local Event = require 'utils.event'
2018-02-13 18:48:04 +02:00
local pic = require "map_gen.data.presets.venice"
ScenarioInfo.set_map_name('Venice')
ScenarioInfo.set_map_description(
[[
A terrain full of beautiful water channels and numerous bridges
poses a nice logistical puzzle when planning a good rail network.
]]
)
ScenarioInfo.add_map_extra_info(
[[
Pollution spreads faster over water and slows down considerably in forests.
Will you take advantage of the effect of the forests when it comes to expanding,
or do you prefer to go hunting for the most mineral-rich mines, devastating
any enemy you find in your path?
Will you use the larger bridges to get your trains into the central area
or do you prefer to leave the train stations on the outskirts and use
conveyor belts and/or robots for the journey inside?
]]
)
ScenarioInfo.set_new_info(
[[
2020-08-25 - Abarel
- Added map descriptions
- Disabled landfill to prevent cheating
]]
)
pic = b.decompress(pic)
2018-05-08 22:23:07 +02:00
local map = b.picture(pic)
2018-02-13 18:48:04 +02:00
2018-05-08 22:23:07 +02:00
map = b.translate(map, 90, 190)
2018-02-13 18:48:04 +02:00
2018-05-08 22:23:07 +02:00
map = b.scale(map, 2, 2)
2018-02-13 18:48:04 +02:00
2018-05-08 22:23:07 +02:00
map = b.change_tile(map, false, "deepwater")
2018-02-13 18:48:04 +02:00
local function on_init()
local player_force = game.forces.player
player_force.technologies['landfill'].enabled = false -- disable landfill
end
Event.on_init(on_init)
return map