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

[1861/1867] Restart major companies with 70% ownership limit in two-player games #11377

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ollybh
Copy link
Collaborator

@ollybh ollybh commented Nov 23, 2024

Implementation Notes

If a major company is nationalised and then restarted it defaults to a 60% player ownership limit. This is wrong for the two-player variants, which allow a player to own up to 70% of a company.

Fixes #11246.

From testing, there is just one game that is broken after this patch is applied, game ID 147977 (there's an assumed pass when a player reaches 60% ownership in a merger round, which no long applies). This can be fixed by pinning or migrating.

Before clicking "Create"

  • Branch is derived from the latest master
  • Add the pins or archive_alpha_games label if this change will break existing games
  • Code passes linter with docker compose exec rack rubocop -a
  • Tests pass cleanly with docker compose exec rack rake

If a major company is nationalised and then restarted it defaults to a
60% player ownership limit. This is wrong for the two-player variants,
which allow a player to own up to 70% of a company.

Fixes tobymao#11246.
@ollybh ollybh added 1867 1861 migrate_game Requires migrate game script to be executed labels Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1861 1867 migrate_game Requires migrate game script to be executed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[1861-2p variant] - Limit of 60% when starting company from President's cert
1 participant