add units in config files

This commit is contained in:
2026-06-06 12:13:05 +02:00
parent 66cf9ae23a
commit 6b95619806
24 changed files with 198 additions and 194 deletions

View File

@@ -712,7 +712,7 @@ static int totalSalvageCurrent(EntityAdmin& admin, entt::entity ship)
TEST_CASE("BehaviorSystem: salvage module does not collect scrap beyond its collection range",
"[behavior]")
{
// collection_range_formula = "50"; scrap at distance 55 must not be collected.
// collection_range_m_formula = "50"; scrap at distance 55 must not be collected.
Fixture f;
const ShipLayoutConfig salvageLayout = makeSingleModuleLayout("salvager");
const entt::entity ship = f.ships.spawn("salvage_ship", 1, QVector2D(0.0f, 0.0f),
@@ -728,7 +728,7 @@ TEST_CASE("BehaviorSystem: salvage module does not collect scrap beyond its coll
TEST_CASE("BehaviorSystem: salvage module collects scrap within its collection range",
"[behavior]")
{
// collection_range_formula = "50"; scrap at distance 45 must be collected.
// collection_range_m_formula = "50"; scrap at distance 45 must be collected.
Fixture f;
const ShipLayoutConfig salvageLayout = makeSingleModuleLayout("salvager");
const entt::entity ship = f.ships.spawn("salvage_ship", 1, QVector2D(0.0f, 0.0f),