test(mc-turn): Add comprehensive test cases for caravan, engineer, and PvP turn capture scenarios

Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
autocommit 2026-06-03 05:02:39 -07:00
parent fbed62f60f
commit 5e4909a4b3
3 changed files with 7 additions and 0 deletions

View file

@ -37,6 +37,7 @@ fn build_trade_catalog() -> UnitsCatalog {
capturable: false,
ransom_multiplier: 2.0,
build_cost: 0,
logistics: None,
});
// merchant.json: tier-1 trade GP — premium ransom multiplier, modest cost.
cat.insert(CatalogUnitStats {
@ -47,6 +48,7 @@ fn build_trade_catalog() -> UnitsCatalog {
capturable: true,
ransom_multiplier: 3.0,
build_cost: 80,
logistics: None,
});
// caravan_master.json: tier-3 — higher cost AND higher multiplier.
cat.insert(CatalogUnitStats {
@ -57,6 +59,7 @@ fn build_trade_catalog() -> UnitsCatalog {
capturable: true,
ransom_multiplier: 3.5,
build_cost: 160,
logistics: None,
});
cat
}

View file

@ -41,6 +41,7 @@ fn build_engineer_catalog() -> UnitsCatalog {
capturable: false,
ransom_multiplier: 2.0,
build_cost: 0,
logistics: None,
});
// dwarf_engineer.json shape — capturable, premium ransom multiplier,
// AP capacity 6 (tier-1 specialist ladder).
@ -52,6 +53,7 @@ fn build_engineer_catalog() -> UnitsCatalog {
capturable: true,
ransom_multiplier: 3.0,
build_cost: 70,
logistics: None,
});
cat
}

View file

@ -55,6 +55,7 @@ fn build_capturable_catalog() -> UnitsCatalog {
capturable: false,
ransom_multiplier: 2.0,
build_cost: 0,
logistics: None,
});
cat.insert(CatalogUnitStats {
id: "worker".into(),
@ -64,6 +65,7 @@ fn build_capturable_catalog() -> UnitsCatalog {
capturable: true,
ransom_multiplier: 2.0,
build_cost: 70,
logistics: None,
});
cat
}