Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trigger "Enemy City" tutorial when I disbanded all my units. #11575

Open
1 task done
Orange23333 opened this issue May 9, 2024 · 2 comments
Open
1 task done

Trigger "Enemy City" tutorial when I disbanded all my units. #11575

Orange23333 opened this issue May 9, 2024 · 2 comments

Comments

@Orange23333
Copy link

Orange23333 commented May 9, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Game Version

4.11.9

Describe the bug

While I was tring to reproduce my last issus #11574 , I found them when I disbanded all the units of the only two civilizations (another uncontrolled city-state still had units). Then, Enemy City tutorial was triggered.

Steps to Reproduce

  1. Create a world with 2 civilizations and 1 city-state.
  2. Normal develop two of them until both of civilizations meet each other and the city-state.
  3. Disbanded all units of both civilizations.

Screenshots

No response

Link to save file

No response

Operating System

Windows

Additional Information

By the way, the translation of Cities can be conquered by reducing their health to 1, and entering the city with a melee unit... in Simplified and Traditional Chinese looks obsolete. Comparing to English version, it has an extra part 您已经包围了敌人的一座城市! in Simplified Chinese and 您已經包圍了敵人的一座城市! in Traditional Chinese at the beginning of the text, which means You have surrounded an enemy city. If it's useless now, just remove them.

@SomeTroglodyte
Copy link
Collaborator

Normal develop two of them

??? How? Console, multiplayer, hotseat, ??? OR - just supply a save which would answer that question too.

        displayTutorial(TutorialTrigger.EnemyCity) {
            viewingCiv.getKnownCivs().filter { viewingCiv.isAtWarWith(it) }
                    .flatMap { it.cities.asSequence() }.any { viewingCiv.hasExplored(it.getCenterTile()) }
        }
  • Read "try triggering that tutorial if you're at war with somebody and have explored any of their city tiles" -> units play no role except exploration, and disbanding does not explore tiles. So - sounds impossible, unless there's a factor you did not mention. Might be marginally interesting to debug - but not worth the extra minutes to recreate the situation if you already got it.

@Orange23333
Copy link
Author

Okay, I'm trying to reproduce.

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

No branches or pull requests

2 participants