Compare commits

...

2 commits

Author SHA1 Message Date
Simon Brodtmann
8da7d0cea7 Balance basic robots battery usage 2025-05-23 21:02:16 +02:00
Simon Brodtmann
c968a7e437 Correct items per rocket for belts 2025-05-23 21:02:16 +02:00
3 changed files with 14 additions and 3 deletions

View file

@ -11,9 +11,9 @@ local function robot(color)
result.minable.result = "basic-construction-robot-" .. color
result.max_health = 50
result.speed = early_robots and 0.05 or 0.04
result.max_energy = "1MJ"
result.energy_per_tick = "0.04kJ"
result.energy_per_move = "0.3kJ"
result.max_energy = early_robots and "1.5MJ" or "1MJ"
result.energy_per_tick = early_robots and "0.03kJ" or "0.04kJ"
result.energy_per_move = early_robots and "2kJ" or "2.5kJ"
result.idle.filename = Lignumis.graphics .. "entity/basic-construction-robot/basic-construction-robot-" ..
color .. ".png"
result.in_motion.filename = Lignumis.graphics .. "entity/basic-construction-robot/basic-construction-robot-" ..

View file

@ -21,6 +21,9 @@ Belt.EntityBuilder:new()
})
local splitter_item = Belt.ItemBuilder:new()
:itemsPerRocket("transportBelt", 100)
:itemsPerRocket("undergroundBelt", 50)
:itemsPerRocket("splitter", 50)
:order("0")
:apply()
.splitter

View file

@ -1,5 +1,6 @@
local Technology = require("__cf-lib__/data/Technology")
local Recipe = require("__cf-lib__/data/Recipe")
local Item = require("__cf-lib__/data/Item")
local basic_circuit_board = settings.startup["lignumis-basic-circuit-board"].value
@ -69,6 +70,7 @@ Recipe:new("lab"):replaceIngredient("transport-belt", "wood-transport-belt")
-- Gun turret
data.raw["ammo-turret"]["gun-turret"].attack_parameters.range = 20
Item:new("gun-turret"):itemsPerRocket(50)
-- Agricultural tower
@ -82,6 +84,9 @@ if agricultural_tower.surface_conditions then
end
end
-- Solar panal
Item:new("solar-panel"):itemsPerRocket(50)
-- Wood processing
@ -142,6 +147,9 @@ if settings.startup["lignumis-belt-progression"].value then
Recipe:new("transport-belt"):replaceIngredient("iron-plate", "wood-transport-belt", 2)
Recipe:new("underground-belt"):replaceIngredient("transport-belt", "wood-underground-belt", 2)
Recipe:new("splitter"):replaceIngredient("transport-belt", "wood-splitter", 1)
Item:new("transport-belt"):itemsPerRocket(100)
Item:new("underground-belt"):itemsPerRocket(50)
Item:new("splitter"):itemsPerRocket(50)
end
if settings.startup["lignumis-inserter-progression"].value then