mirror of
https://github.com/Refactorio/RedMew.git
synced 2025-01-18 03:21:47 +02:00
further tile name changes
This commit is contained in:
parent
adda0b94a5
commit
9cffe0e5e8
@ -126,10 +126,10 @@ function run_island( params )
|
||||
--Placement of Island Tiles
|
||||
|
||||
if noise_island_oil_and_uranium > 0.53 then
|
||||
tile_to_insert = "red-desert-0"
|
||||
tile_to_insert = "red-desert-1"
|
||||
end
|
||||
if noise_island_oil_and_uranium < -0.53 then
|
||||
tile_to_insert = "red-desert-0-dark"
|
||||
tile_to_insert = "red-desert-0"
|
||||
end
|
||||
|
||||
if noise_island_stone_and_coal > 0.47 then
|
||||
@ -167,14 +167,14 @@ function run_island( params )
|
||||
if tile_to_insert == "sand-3" then
|
||||
tree = "dry-hairy-tree"
|
||||
end
|
||||
if tile_to_insert == "red-desert-0" then
|
||||
if tile_to_insert == "red-desert-1" then
|
||||
tree = "dry-tree"
|
||||
end
|
||||
if tile_to_insert == "red-desert-0-dark" then
|
||||
if tile_to_insert == "red-desert-0" then
|
||||
if math.random(1,3) == 1 then
|
||||
tree = "red-desert-0-rock-huge-01"
|
||||
tree = "red-desert-rock-huge-01"
|
||||
else
|
||||
tree = "red-desert-0-rock-big-01"
|
||||
tree = "red-desert-rock-big-01"
|
||||
end
|
||||
end
|
||||
if math.random(1,8) == 1 then
|
||||
@ -219,19 +219,19 @@ function run_island( params )
|
||||
if tile_to_insert == "sand-3" then
|
||||
decorative = "green-asterisk"
|
||||
end
|
||||
if tile_to_insert == "red-desert-0" then
|
||||
if tile_to_insert == "red-desert-1" then
|
||||
decorative = "red-asterisk"
|
||||
end
|
||||
if tile_to_insert == "red-desert-0-dark" then
|
||||
if tile_to_insert == "red-desert-0" then
|
||||
decorative = "red-asterisk"
|
||||
end
|
||||
if math.random(1,5) == 1 then
|
||||
table.insert(global.island_decoratives_hold, {name=decorative, position={pos_x,pos_y}, amount=1})
|
||||
end
|
||||
end
|
||||
if tile_to_insert == "red-desert-0-dark" then
|
||||
if tile_to_insert == "red-desert-0" then
|
||||
if math.random(1,50) == 1 then
|
||||
table.insert(global.island_decoratives_hold, {name="red-desert-0-rock-medium", position={pos_x,pos_y}, amount=1})
|
||||
table.insert(global.island_decoratives_hold, {name="red-desert-rock-medium", position={pos_x,pos_y}, amount=1})
|
||||
end
|
||||
end
|
||||
end
|
||||
@ -274,7 +274,7 @@ function run_island( params )
|
||||
end
|
||||
end
|
||||
|
||||
if tile_to_insert == "red-desert-0" or tile_to_insert == "red-desert-0-dark" then
|
||||
if tile_to_insert == "red-desert-1" or tile_to_insert == "red-desert-0" then
|
||||
if noise_island_oil_and_uranium > 0.55 and noise_island_resource > 0.25 then
|
||||
if surface.can_place_entity {name="crude-oil", position={pos_x,pos_y}} then
|
||||
if math.random(1,60) == 1 then
|
||||
|
@ -352,7 +352,7 @@ function run_combined_module(event)
|
||||
local place_tree_number
|
||||
|
||||
if noise_terrain_1 < 8 + terrain_smoothing + noise_terrain_2 + noise_terrain_3 + noise_terrain_4 then
|
||||
tile_to_insert = "red-desert"
|
||||
tile_to_insert = "red-desert-1"
|
||||
if noise_water_1 + noise_water_2 + noise_sand-1 > -10 and noise_water_1 + noise_water_2 + noise_sand-1 < 25 and noise_terrain_1 < -52 + noise_terrain_2 + noise_terrain_3 + noise_terrain_4 + noise_terrain_5 then
|
||||
tile_to_insert = "sand-1"
|
||||
place_tree_number = math.random(3,#tree_to_place)
|
||||
@ -442,7 +442,7 @@ function run_combined_module(event)
|
||||
end
|
||||
end
|
||||
else
|
||||
tile_to_insert = "red-desert-dark"
|
||||
tile_to_insert = "red-desert-0"
|
||||
end
|
||||
if resource_entity_placed == false and noise_resources_coal_and_uranium + noise_resources < -72 and noise_terrain_1 > 65 + noise_terrain_2 + noise_terrain_3 + noise_terrain_4 then
|
||||
if surface.can_place_entity {name="uranium-ore", position={pos_x,pos_y}} then
|
||||
|
@ -192,7 +192,7 @@ function run_planet( params )
|
||||
local place_tree_number
|
||||
|
||||
if noise_terrain_1 < 8 + terrain_smoothing + noise_terrain_2 + noise_terrain_3 + noise_terrain_4 then
|
||||
tile_to_insert = "red-desert"
|
||||
tile_to_insert = "red-desert-1"
|
||||
if noise_water_1 + noise_water_2 + noise_sand-1 > -10 and noise_water_1 + noise_water_2 + noise_sand-1 < 25 and noise_terrain_1 < -52 + noise_terrain_2 + noise_terrain_3 + noise_terrain_4 + noise_terrain_5 then
|
||||
tile_to_insert = "sand-1"
|
||||
place_tree_number = math.random(3,#tree_to_place)
|
||||
@ -282,7 +282,7 @@ function run_planet( params )
|
||||
end
|
||||
end
|
||||
else
|
||||
tile_to_insert = "red-desert-dark"
|
||||
tile_to_insert = "red-desert-0"
|
||||
end
|
||||
if resource_entity_placed == false and noise_resources_coal_and_uranium + noise_resources < -72 and noise_terrain_1 > 65 + noise_terrain_2 + noise_terrain_3 + noise_terrain_4 then
|
||||
if surface.can_place_entity {name="uranium-ore", position={pos_x,pos_y}} then
|
||||
|
Loading…
x
Reference in New Issue
Block a user