mirror of
https://github.com/Refactorio/RedMew.git
synced 2025-01-18 03:21:47 +02:00
Additional tweaks and reordered the biomes to be next to each other
This commit is contained in:
parent
4c3a7779ce
commit
533c8572e7
@ -1,31 +1,30 @@
|
||||
local tile_types = {
|
||||
"hazard-concrete-left",
|
||||
"concrete",
|
||||
"deepwater",
|
||||
"deepwater-green",
|
||||
"dirt",
|
||||
"dirt-dark",
|
||||
"stone-path",
|
||||
"hazard-concrete-right",
|
||||
"lab-dark-1",
|
||||
"grass",
|
||||
"grass-medium",
|
||||
"grass-dry",
|
||||
"hazard-concrete-left",
|
||||
"hazard-concrete-right",
|
||||
"lab-dark-1",
|
||||
"lab-dark-2",
|
||||
"dirt",
|
||||
"dirt-dark",
|
||||
"red-desert",
|
||||
"red-desert-dark",
|
||||
"sand",
|
||||
"sand-dark",
|
||||
"stone-path",
|
||||
"lab-dark-2",
|
||||
"water",
|
||||
"deepwater",
|
||||
"water-green",
|
||||
"deepwater-green",
|
||||
"out-of-map",
|
||||
}
|
||||
local cols = 5
|
||||
local rows = 20 / cols
|
||||
|
||||
local tile_width = 64
|
||||
local tile_height = 64
|
||||
local tile_width = 32
|
||||
local tile_height = 32
|
||||
|
||||
local tile_data = {}
|
||||
|
||||
|
@ -15,25 +15,11 @@ function run_place_tiles(params)
|
||||
surface.set_tiles(global._tiles_hold, true)
|
||||
end
|
||||
|
||||
function run_init(params)
|
||||
global._tiles_hold = {}
|
||||
global._decoratives_hold = {}
|
||||
global._entities_hold = {}
|
||||
end
|
||||
|
||||
function run_place_tiles(params)
|
||||
local surface = params.surface
|
||||
surface.set_tiles(global._tiles_hold)
|
||||
end
|
||||
|
||||
function run_place_items(params)
|
||||
local surface = params.surface
|
||||
for _,deco in pairs(global._decoratives_hold) do
|
||||
surface.create_decoratives{check_collision=false, decoratives={deco}}
|
||||
end
|
||||
for _,deco in pairs(global._decoratives_hold) do
|
||||
surface.create_decoratives{check_collision=false, decoratives={deco}}
|
||||
end
|
||||
for _, entity in ipairs(global._entities_hold) do
|
||||
if surface.can_place_entity {name=entity.name, position=entity.position} then
|
||||
surface.create_entity {name=entity.name, position=entity.position}
|
||||
@ -138,9 +124,23 @@ end
|
||||
local decorative_options = {
|
||||
["concrete"] = {},
|
||||
["deepwater"] = {},
|
||||
["deepwater-green"] = {},
|
||||
["dirt"] = {},
|
||||
["dirt-dark"] = {},
|
||||
["deepwater-green"] = {
|
||||
{"brown-carpet-grass", 100},
|
||||
{"brown-cane-cluster", 500},
|
||||
},
|
||||
["dirt"] = {
|
||||
{"brown-carpet-grass", 100},
|
||||
{"brown-cane-cluster", 200},
|
||||
{"red-desert-rock-tiny", 150},
|
||||
},
|
||||
["dirt-dark"] = {
|
||||
{"red-desert-rock-tiny", 150},
|
||||
{"red-asterisk", 45},
|
||||
{"red-desert-bush", 12},
|
||||
{"red-desert-rock-medium", 375},
|
||||
|
||||
|
||||
},
|
||||
["grass"] = {
|
||||
{"green-carpet-grass", 3},
|
||||
{"green-hairy-grass", 7},
|
||||
@ -149,6 +149,7 @@ local decorative_options = {
|
||||
{"green-small-grass", 12},
|
||||
{"green-asterisk", 25},
|
||||
{"green-bush-mini", 7},
|
||||
{"garballo", 20},
|
||||
},
|
||||
["grass-medium"] = {
|
||||
{"green-carpet-grass", 12},
|
||||
@ -160,13 +161,14 @@ local decorative_options = {
|
||||
{"green-bush-mini", 28},
|
||||
},
|
||||
["grass-dry"] = {
|
||||
{"green-carpet-grass", 24},
|
||||
{"green-hairy-grass", 56},
|
||||
{"green-bush-mini", 80},
|
||||
{"green-pita", 48},
|
||||
{"green-small-grass", 96},
|
||||
{"green-asterisk", 200},
|
||||
{"green-bush-mini", 56},
|
||||
{"brown-cane-cluster", 100},
|
||||
{"brown-carpet-grass", 100},
|
||||
},
|
||||
["hazard-concrete-left"] = {},
|
||||
["hazard-concrete-right"] = {},
|
||||
@ -190,7 +192,17 @@ local decorative_options = {
|
||||
{"red-desert-rock-small", 200},
|
||||
{"red-desert-rock-tiny", 150},
|
||||
},
|
||||
["sand-dark"] = {},
|
||||
["sand"] = {
|
||||
{"brown-carpet-grass", 35},
|
||||
{"orange-coral-mini", 45},
|
||||
{"red-asterisk", 45},
|
||||
{"brown-asterisk", 45},
|
||||
},
|
||||
["sand-dark"] = {
|
||||
{"brown-carpet-grass", 35},
|
||||
{"orange-coral-mini", 45},
|
||||
{"brown-asterisk", 45},
|
||||
},
|
||||
["stone-path"] = {},
|
||||
["water"] = {},
|
||||
["water-green"] = {},
|
||||
@ -216,18 +228,48 @@ local entity_options = {
|
||||
["concrete"] = {},
|
||||
["deepwater"] = {},
|
||||
["deepwater-green"] = {},
|
||||
["dirt"] = {},
|
||||
["dirt-dark"] = {},
|
||||
["grass"] = {
|
||||
{"tree-04", 400},
|
||||
["water"] = {},
|
||||
["water-green"] = {},
|
||||
["dirt"] = {
|
||||
{"tree-01", 500},
|
||||
{"tree-06", 300},
|
||||
{"tree-07", 800},
|
||||
{"tree-09", 2000},
|
||||
{"stone-rock", 400},
|
||||
},
|
||||
["dirt-dark"] = {
|
||||
{"tree-06", 150},
|
||||
{"tree-07", 400},
|
||||
{"tree-09", 1000},
|
||||
{"stone-rock", 300},
|
||||
},
|
||||
["grass"] = {
|
||||
{"tree-01", 150},
|
||||
{"tree-04", 400},
|
||||
{"tree-06", 400},
|
||||
{"tree-07", 400},
|
||||
{"tree-09", 1000},
|
||||
{"stone-rock", 400},
|
||||
{"green-coral", 10000},
|
||||
},
|
||||
["grass-dry"] = {},
|
||||
["grass-medium"] = {},
|
||||
["grass-medium"] = {
|
||||
{"tree-02", 400},
|
||||
{"tree-03", 400},
|
||||
{"tree-04", 800},
|
||||
{"tree-06", 300},
|
||||
{"tree-07", 800},
|
||||
{"tree-08", 400},
|
||||
{"tree-09", 2000},
|
||||
{"stone-rock", 400},
|
||||
},
|
||||
["grass-dry"] = {
|
||||
{"tree-04", 800},
|
||||
{"tree-06", 300},
|
||||
{"tree-07", 400},
|
||||
{"tree-09", 1000},
|
||||
{"dry-tree", 1000},
|
||||
{"stone-rock", 200},
|
||||
},
|
||||
["hazard-concrete-left"] = {},
|
||||
["hazard-concrete-right"] = {},
|
||||
["lab-dark-1"] = {},
|
||||
@ -256,11 +298,21 @@ local entity_options = {
|
||||
{"red-desert-rock-huge-01", 400},
|
||||
{"red-desert-rock-huge-02", 400},
|
||||
},
|
||||
["sand"] = {},
|
||||
["sand-dark"] = {},
|
||||
["sand"] = {
|
||||
{"dry-tree", 1000},
|
||||
{"dry-hairy-tree", 1000},
|
||||
{"dead-tree", 1000},
|
||||
{"stone-rock", 150},
|
||||
|
||||
},
|
||||
["sand-dark"] = {
|
||||
{"dead-tree", 1000},
|
||||
{"dry-tree", 1000},
|
||||
{"dry-hairy-tree", 1000},
|
||||
{"stone-rock", 150},
|
||||
|
||||
},
|
||||
["stone-path"] = {},
|
||||
["water"] = {},
|
||||
["water-green"] = {},
|
||||
["out-of-map"] = {},
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user