Update surface properties

This commit is contained in:
Simon Brodtmann 2025-02-04 18:24:30 +01:00
parent e7e654cd9c
commit db4ef37a8f
2 changed files with 5 additions and 1 deletions

View file

@ -49,7 +49,10 @@ PlanetsLib:extend({
departure = { "default-rocket-a" } departure = { "default-rocket-a" }
}, },
surface_properties = { surface_properties = {
["day-night-cycle"] = 2 * minute ["day-night-cycle"] = 2 * minute,
["gravity"] = 4,
["pressure"] = 900,
["solar-power"] = 120
}, },
asteroid_spawn_influence = 1, asteroid_spawn_influence = 1,
asteroid_spawn_definitions = asteroid_util.spawn_definitions(nauvis_lignumis, 0.9), asteroid_spawn_definitions = asteroid_util.spawn_definitions(nauvis_lignumis, 0.9),

View file

@ -98,6 +98,7 @@ local tree_plant = data.raw.plant["tree-plant"]
tree_plant.growth_ticks = 5 * minute tree_plant.growth_ticks = 5 * minute
tree_plant.minable.results = { { type = "item", name = "wood", amount = 5 } } tree_plant.minable.results = { { type = "item", name = "wood", amount = 5 } }
tree_plant.minable.count = nil tree_plant.minable.count = nil
tree_plant.surface_conditions[1].min = 900
table.insert(tree_plant.autoplace.tile_restriction, "natural-gold-soil") table.insert(tree_plant.autoplace.tile_restriction, "natural-gold-soil")
table.insert(data.raw["assembling-machine"]["assembling-machine-1"].crafting_categories, "wood-processing-or-assembling") table.insert(data.raw["assembling-machine"]["assembling-machine-1"].crafting_categories, "wood-processing-or-assembling")