mirror of
https://github.com/Refactorio/RedMew.git
synced 2025-01-18 03:21:47 +02:00
Merge pull request #1228 from grilledham/danger_ore_deadlock_updates
Danger ore deadlock updates.
This commit is contained in:
commit
a740a9f9b8
@ -1,6 +1,6 @@
|
||||
local b = require 'map_gen.shared.builders'
|
||||
local start_value = b.euclidean_value(0, 0.35)
|
||||
local value = b.exponential_value(0, 0.06, 1.50)
|
||||
local value = b.exponential_value(0, 0.06, 1.55)
|
||||
|
||||
return {
|
||||
{
|
||||
|
@ -0,0 +1,19 @@
|
||||
local b = require 'map_gen.shared.builders'
|
||||
local value = b.euclidean_value
|
||||
|
||||
local full_oil_shape = b.translate(b.throttle_xy(b.full_shape, 3, 6, 3, 6), -1, -1)
|
||||
full_oil_shape = b.use_world_as_local(full_oil_shape)
|
||||
local oil_shape = b.throttle_world_xy(b.full_shape, 1, 6, 1, 6)
|
||||
|
||||
return {
|
||||
{
|
||||
scale = 1 / 64,
|
||||
threshold = 0.6,
|
||||
resource = b.any{b.resource(oil_shape, 'crude-oil', value(100000, 3500)), full_oil_shape}
|
||||
},
|
||||
{
|
||||
scale = 1 / 72,
|
||||
threshold = 0.66,
|
||||
resource = b.resource(b.full_shape, 'uranium-ore', value(100, 1.55))
|
||||
}
|
||||
}
|
@ -56,7 +56,7 @@ global.config.redmew_qol.loaders = false
|
||||
local map = require 'map_gen.maps.danger_ores.modules.map'
|
||||
local main_ores_config = require 'map_gen.maps.danger_ores.config.deadlock_beltboxes_ores'
|
||||
local resource_patches = require 'map_gen.maps.danger_ores.modules.resource_patches'
|
||||
local resource_patches_config = require 'map_gen.maps.danger_ores.config.vanilla_resource_patches'
|
||||
local resource_patches_config = require 'map_gen.maps.danger_ores.config.deadlock_beltboxes_resource_patches'
|
||||
local water = require 'map_gen.maps.danger_ores.modules.water'
|
||||
local trees = require 'map_gen.maps.danger_ores.modules.trees'
|
||||
local enemy = require 'map_gen.maps.danger_ores.modules.enemy'
|
||||
@ -87,7 +87,7 @@ Config.dump_offline_inventories = {
|
||||
Config.paint.enabled = false
|
||||
|
||||
Event.on_init(function()
|
||||
game.draw_resource_selection = false
|
||||
--game.draw_resource_selection = false
|
||||
game.forces.player.technologies['mining-productivity-1'].enabled = false
|
||||
game.forces.player.technologies['mining-productivity-2'].enabled = false
|
||||
game.forces.player.technologies['mining-productivity-3'].enabled = false
|
||||
@ -106,13 +106,14 @@ Event.on_init(function()
|
||||
game.forces.player.manual_mining_speed_modifier = 1
|
||||
|
||||
RS.get_surface().always_day = true
|
||||
RS.get_surface().peaceful_mode = true
|
||||
end)
|
||||
|
||||
local terraforming = require 'map_gen.maps.danger_ores.modules.terraforming'
|
||||
terraforming({start_size = 8 * 32, min_pollution = 400, max_pollution = 16000, pollution_increment = 5})
|
||||
terraforming({start_size = 8 * 32, min_pollution = 400, max_pollution = 16000, pollution_increment = 6})
|
||||
|
||||
local rocket_launched = require 'map_gen.maps.danger_ores.modules.rocket_launched_simple'
|
||||
rocket_launched({win_satellite_count = 500})
|
||||
rocket_launched({win_satellite_count = 1000})
|
||||
|
||||
local restart_command = require 'map_gen.maps.danger_ores.modules.restart_command'
|
||||
restart_command({scenario_name = 'danger-ore-deadlock-beltboxes'})
|
||||
|
Loading…
x
Reference in New Issue
Block a user