2018-05-08 22:23:07 +02:00
|
|
|
local b = require "map_gen.shared.builders"
|
2020-08-25 05:11:49 +02:00
|
|
|
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"
|
2020-08-25 05:11:49 +02:00
|
|
|
|
|
|
|
ScenarioInfo.set_map_name('Venice')
|
|
|
|
ScenarioInfo.set_map_description(
|
|
|
|
[[
|
2020-08-27 20:56:16 +02:00
|
|
|
A terrain full of beautiful water channels and numerous bridges
|
2020-08-25 05:11:49 +02:00
|
|
|
poses a nice logistical puzzle when planning a good rail network.
|
|
|
|
]]
|
|
|
|
)
|
|
|
|
ScenarioInfo.add_map_extra_info(
|
|
|
|
[[
|
2020-08-27 20:56:16 +02:00
|
|
|
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
|
2020-08-25 05:11:49 +02:00
|
|
|
any enemy you find in your path?
|
2020-08-27 20:56:16 +02:00
|
|
|
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
|
2020-08-25 05:11:49 +02:00
|
|
|
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
|
|
|
|
]]
|
|
|
|
)
|
|
|
|
|
2019-01-16 20:44:55 +02:00
|
|
|
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
|
|
|
|
2020-08-25 05:11:49 +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)
|
|
|
|
|
2019-01-16 20:44:55 +02:00
|
|
|
return map
|