Skip to content
New issue

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

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

Already on GitHub? # to your account

Rhodesia charter decision can no longer steal provinces #100

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

Conversation

rogerburks
Copy link
Collaborator

@rogerburks rogerburks commented Jun 3, 2021

References issue #99

UK can no longer steal provinces or, delete cores of existing tags, using the rhodesia_charter decision

The decision rhodesia_charter awards Rhodesian and Malawi provinces to the UK even when other countries own them

2015 = { secede_province = THIS any_pop = { literacy = -0.99 } }
2013 = { secede_province = THIS any_pop = { literacy = -0.99 } }
2014 = { secede_province = THIS any_pop = { literacy = -0.99 } }
2012 = { secede_province = THIS any_pop = { literacy = -0.99 } }
790 = { secede_province = THIS any_pop = { literacy = -0.99 } }
2017 = { secede_province = THIS any_pop = { literacy = -0.99 } }
2016 = { secede_province = THIS any_pop = { literacy = -0.99 } }
2018 = { secede_province = THIS any_pop = { literacy = -0.99 } }
2067 = { secede_province = THIS any_pop = { literacy = -0.99 } }
2066 = { secede_province = THIS any_pop = { literacy = -0.99 } }

The following pair of screenshots were taken on the same game day. Before the decision:

image

After the decision:

image

Potentially, this decision should check if the provinces are empty or not, and if they are part of a colonial race, although truly I do not exactly see why this decision should secede_province at all. The UK will normally outrace all other tags at obtaining these provinces, but if it cannot, then the game should reflect that. For this reason, I suggest that the best solution is to simply remove all of the secede_province statements.

Additionally, the decision removes Matabele cores from provinces that are awarded Rhodesia cores, even if Matabele still exists.

Given all of this, my proposed fix looks like this, with unowned provinces unmodified except for retaining any core addition. This is because provinces need not be owned for claims on them to occur. The UK can no longer take owned provinces away, and Matabele keeps its cores if it exists. The code that I used is experimental from my perspective, but it worked in tests with and without Matabele existing:

image

…sing the `rhodesia_charter` decision

The decision `rhodesia_charter` awards Rhodesian and Malawi provinces to the UK even when other countries own them

https://github.com/moretrim/ccHFM/blob/e0ee2ed03ffa2458f2d42c1409e7e7bba49dcd7a/ccHFM/decisions/ENG.txt#L291-L300

The following pair of screenshots were taken on the same game day. Before the decision:

![image](https://user-images.githubusercontent.com/17787203/120563622-eac5d100-c3bd-11eb-843a-08fbe0f3cc2b.png)

After the decision:

![image](https://user-images.githubusercontent.com/17787203/120563646-f74a2980-c3bd-11eb-8b34-11b50d909dcd.png)

Potentially, this decision should check if the provinces are empty or not, and if they are part of a colonial race, although truly I do not exactly see why this decision should `secede_province` at all. The UK will normally outrace all other tags at obtaining these provinces, but if it cannot, then the game should reflect that. For this reason, I suggest that the best solution is to simply remove all of the `secede_province` statements.

Additionally, the decision removes Matabele cores from provinces that are awarded Rhodesia cores, even if Matabele still exists.

Given all of this, my proposed fix looks like this, with unowned provinces unmodified except for retaining any core addition. This is because provinces need not be owned for claims on them to occur. The UK can no longer take owned provinces away, and Matabele keeps its cores if it exists. The code that I used is experimental from my perspective, but it worked in tests with and without Matabele existing:

![image](https://user-images.githubusercontent.com/17787203/120567073-b6561300-c3c5-11eb-8b29-f6dc7846dfaf.png)
@rogerburks rogerburks requested a review from moretrim June 3, 2021 00:24
@rogerburks rogerburks changed the title UK can no longer steal provinces or, delete cores of existing tags, u… Rhodesia charter decision can no longer steal provinces Jun 7, 2021
@rogerburks rogerburks self-assigned this Feb 15, 2022
@rogerburks rogerburks added the bug Something isn't working label Feb 15, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rhodesia Charter decision hands colonies to the UK even when other tags own them
1 participant