Create draft biome
This commit is contained in:
@@ -27,10 +27,26 @@ core.register_ore({
|
|||||||
|
|
||||||
core.register_decoration({
|
core.register_decoration({
|
||||||
deco_type = "simple",
|
deco_type = "simple",
|
||||||
place_on = "soils:clay_soil_baren",
|
place_on = "soils:turf_swamp",
|
||||||
sidelen = 8,
|
sidelen = 8,
|
||||||
fill_ratio = 0.1,
|
fill_ratio = 0.4,
|
||||||
decoration = "plants:plants",
|
decoration = "plants:plants",
|
||||||
})
|
})
|
||||||
|
|
||||||
|
core.register_decoration({
|
||||||
|
deco_type = "simple",
|
||||||
|
place_on = "soils:turf_swamp",
|
||||||
|
sidelen = 8,
|
||||||
|
fill_ratio = 0.05,
|
||||||
|
decoration = "plants:plant0",
|
||||||
|
})
|
||||||
|
|
||||||
|
core.register_decoration({
|
||||||
|
deco_type = "simple",
|
||||||
|
place_on = "soils:turf_swamp",
|
||||||
|
sidelen = 8,
|
||||||
|
fill_ratio = 0.01,
|
||||||
|
decoration = "plants:plant2",
|
||||||
|
})
|
||||||
|
|
||||||
return mapGenerator
|
return mapGenerator
|
||||||
@@ -204,14 +204,14 @@ mapGenerator:registerBiome('midgard', 'swamp', {
|
|||||||
minY = 100,
|
minY = 100,
|
||||||
maxY = 0,
|
maxY = 0,
|
||||||
groundNodes = {
|
groundNodes = {
|
||||||
soil = 'soils:clay_soil_baren',
|
soil = 'soils:rocky_soil_baren',
|
||||||
turf = 'soils:clay_soil_baren',
|
turf = 'soils:turf_swamp',
|
||||||
rock = 'rocks:sylite',
|
rock = 'rocks:sylite',
|
||||||
bottom = 'soils:rocky_soil_baren',
|
bottom = 'soils:rocky_soil_baren',
|
||||||
},
|
},
|
||||||
soilHeight = 3,
|
soilHeight = 3,
|
||||||
generateRock = generateRock,
|
generateRock = generateRock,
|
||||||
generateSoil = generateSoil,
|
--generateSoil = generateSoil,
|
||||||
})
|
})
|
||||||
|
|
||||||
return mapGenerator
|
return mapGenerator
|
||||||
@@ -237,3 +237,17 @@ soilFactory:registerItems({
|
|||||||
},
|
},
|
||||||
|
|
||||||
}, true)
|
}, true)
|
||||||
|
|
||||||
|
---@type TileSheet
|
||||||
|
local tsT = TileSheet:new("soils_turfs_sheet.png", 16, 16)
|
||||||
|
|
||||||
|
Node:new({
|
||||||
|
settings = {
|
||||||
|
name = 'soils:turf_swamp',
|
||||||
|
tiles = {tsT:t(0,0), ts:t(6, 0), ts:t(6,0)..'^'..tsT:t(0,1)},
|
||||||
|
groups = {
|
||||||
|
dig_immediate = 2,
|
||||||
|
soil_fertiliry = 100, -- Soil fertility for agriculture
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
BIN
mods/GAME/ITEMS/soils/textures/sheets/soils_turfs_sheet.png
Normal file
BIN
mods/GAME/ITEMS/soils/textures/sheets/soils_turfs_sheet.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 22 KiB |
Reference in New Issue
Block a user