diff --git a/control.lua b/control.lua index 31150179..c34c3e76 100644 --- a/control.lua +++ b/control.lua @@ -14,7 +14,7 @@ require "score" require "on_tick_schedule" ---- enable modules here ---- -require "maps.tools.cheat_mode" +--require "maps.tools.cheat_mode" --require "maps.modules.hunger" --require "maps.modules.area_unlocked_on_rotated_entity" --require "maps.modules.fish_respawner" diff --git a/maps/junkyard.lua b/maps/junkyard.lua index d1927ad2..ca1eb868 100644 --- a/maps/junkyard.lua +++ b/maps/junkyard.lua @@ -38,18 +38,18 @@ local tile_replacements = { local entity_replacements = { ["tree-01"] = "dead-grey-trunk", - ["tree-02"] = "tree-08-brown", + ["tree-02"] = "tree-06-brown", ["tree-03"] = "dead-grey-trunk", ["tree-04"] = "dry-hairy-tree", ["tree-05"] = "dead-grey-trunk", ["tree-06"] = "tree-06-brown", ["tree-07"] = "dry-hairy-tree", - ["tree-08"] = "tree-08-brown", + ["tree-08"] = "dead-grey-trunk", ["tree-09"] = "tree-06-brown", ["tree-02-red"] = "dry-tree", --["tree-06-brown"] = "dirt", - --["tree-08-brown"] = "dirt", - ["tree-09-brown"] = "tree-08-brown", + ["tree-08-brown"] = "tree-06-brown", + ["tree-09-brown"] = "tree-06-brown", ["tree-09-red"] = "tree-06-brown", ["iron-ore"] = "mineable-wreckage", ["copper-ore"] = "mineable-wreckage", @@ -290,7 +290,7 @@ local function on_chunk_generated(event) if global.spawn_generated then return end if left_top.x < 96 then return end - map_functions.draw_rainbow_patch({x = 0, y = 0}, surface, 16, 2000) + map_functions.draw_rainbow_patch_v2({x = 0, y = 0}, surface, 14, 1500) for _, wreck in pairs (surface.find_entities_filtered({area = {{-10, -10},{10, 10}}, name = "mineable-wreckage"})) do local distance_to_center = math.sqrt(wreck.position.x^2 + wreck.position.y^2) if distance_to_center < 8 then wreck.destroy() end diff --git a/maps/tools/map_functions.lua b/maps/tools/map_functions.lua index 689a3e98..35934b1e 100644 --- a/maps/tools/map_functions.lua +++ b/maps/tools/map_functions.lua @@ -49,8 +49,8 @@ f.draw_rainbow_patch_v2 = function(position, surface, radius, richness) if not radius then return end if not richness then return end local modifier_1 = math_random(2,10) - local modifier_2 = math_random(50,150) * 0.0002 - local modifier_3 = math_random(25,100) * 0.0015 + local modifier_2 = math_random(100,200) * 0.0002 + local modifier_3 = math_random(100,200) * 0.0015 local modifier_4 = math_random(15,30) * 0.01 local seed = game.surfaces[1].map_gen_settings.seed local ores = {"stone", "coal", "iron-ore", "copper-ore"}