forked from Apancore.Studio/simple-makes-complex
Create draft biome
This commit is contained in:
@@ -27,10 +27,26 @@ core.register_ore({
|
||||
|
||||
core.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = "soils:clay_soil_baren",
|
||||
place_on = "soils:turf_swamp",
|
||||
sidelen = 8,
|
||||
fill_ratio = 0.1,
|
||||
fill_ratio = 0.4,
|
||||
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
|
||||
@@ -204,14 +204,14 @@ mapGenerator:registerBiome('midgard', 'swamp', {
|
||||
minY = 100,
|
||||
maxY = 0,
|
||||
groundNodes = {
|
||||
soil = 'soils:clay_soil_baren',
|
||||
turf = 'soils:clay_soil_baren',
|
||||
soil = 'soils:rocky_soil_baren',
|
||||
turf = 'soils:turf_swamp',
|
||||
rock = 'rocks:sylite',
|
||||
bottom = 'soils:rocky_soil_baren',
|
||||
},
|
||||
soilHeight = 3,
|
||||
generateRock = generateRock,
|
||||
generateSoil = generateSoil,
|
||||
--generateSoil = generateSoil,
|
||||
})
|
||||
|
||||
return mapGenerator
|
||||
@@ -236,4 +236,18 @@ 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