Skip to content

Civ5-style setup teams (Phase 0+1) - #15338

Open
Fanfblrik wants to merge 1 commit into
yairm210:masterfrom
Fanfblrik:feature/setup-teams-phase1
Open

Civ5-style setup teams (Phase 0+1)#15338
Fanfblrik wants to merge 1 commit into
yairm210:masterfrom
Fanfblrik:feature/setup-teams-phase1

Conversation

@Fanfblrik

Copy link
Copy Markdown
Contributor

Summary

  • Implements Phase 0+1 of Civ5-style setup teams (Design: Civ5-style team play (opt-in via teamId at setup) #15246): Player/Civilization.teamId, New Game Team button, permanent DoF between teammates, no mutual war/denounce, war pull-in for both sides' teammates, shared fog/explored.
  • Default remains FFA: unique positive teamIds (and old-save migration when all majors still have 0) → no gameplay change.
  • Unit tests in SetupTeamsTests. Shared research (Phase 2) is out of scope.

Test plan

  • New Game: all unique teams → same as before (can declare war on everyone you meet)
  • Assign two humans Team 1, third Team 2 → no Declare war / Denounce between the pair; DoF present
  • Team 1 declares on Team 2 member → both Team 1 at war with both Team 2
  • Teammates share explored tiles / current vision
  • ./gradlew tests:test --tests com.unciv.logic.civilization.diplomacy.SetupTeamsTests

Opt-in teamId at New Game: shared war, permanent DoF, shared fog/explored.
Unique teamIds keep FFA behavior unchanged. See yairm210#15246.

Co-authored-by: Cursor <cursoragent@cursor.com>
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