Skip to content

feat: add Spartan tribe, troops, and building support - #177

Open
vinaghost wants to merge 2 commits into
mainfrom
features/support-spartan
Open

vinaghost wants to merge 2 commits into
mainfrom
features/support-spartan

Conversation

@vinaghost

Copy link
Copy Markdown
Owner

feat: add Spartan tribe, troops, and building support

  • add Spartan to tribe/troop enums, including new Spartan unit types
  • update UI mappings for Spartan troop/tribe assets (spartan.png, tribe image mapping)
  • extend building enums with DefensiveWall and Asclepeion
  • update wall logic (IsWall, GetWall) to resolve Spartan walls correctly
  • add/update prerequisite and slot-count logic for Hospital/Asclepeion
  • refactor troop grouping into TroopExtension (GetInfantryTroops, GetCavalryTroops, GetSiegeTroops) and remove duplicate VM switches
  • extend GetTribe() troop-range mapping for Spartan IDs
  • modernize BuildingEnumsExtension with C# collection/spread expressions while preserving existing behavior

- add `Spartan` to tribe/troop enums, including new Spartan unit types
- update UI mappings for Spartan troop/tribe assets (`spartan.png`, tribe image mapping)
- extend building enums with `DefensiveWall` and `Asclepeion`
- update wall logic (`IsWall`, `GetWall`) to resolve Spartan walls correctly
- add/update prerequisite and slot-count logic for `Hospital`/`Asclepeion`
- refactor troop grouping into `TroopExtension` (`GetInfantryTroops`, `GetCavalryTroops`, `GetSiegeTroops`) and remove duplicate VM switches
- extend `GetTribe()` troop-range mapping for Spartan IDs
- modernize `BuildingEnumsExtension` with C# collection/spread expressions while preserving existing behavior
@github-actions

Copy link
Copy Markdown

Version of this build is 2.13.5
Check download link here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant