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

Update burgs-and-states.js #1054

Merged
merged 3 commits into from
Mar 5, 2024
Merged

Update burgs-and-states.js #1054

merged 3 commits into from
Mar 5, 2024

Conversation

TheRealStanPines
Copy link
Contributor

@TheRealStanPines TheRealStanPines commented Mar 5, 2024

Khanate title for Mongolian Empires and Kingdoms, Khaganate for Turkic.

Description

Type of change

  • Bug fix
  • New feature
  • Refactoring / style
  • Documentation update / chore
  • Other (please describe)

Versioning

  • Version is updated
  • Changed files hash is updated

Khanate title for Mongolian Empires and Kingdoms, Khaganate for Turkic.
Copy link

netlify bot commented Mar 5, 2024

Deploy Preview for afmg ready!

Name Link
🔨 Latest commit fe4356d
🔍 Latest deploy log https://app.netlify.com/sites/afmg/deploys/65e74458fb98ab0008e74f58
😎 Deploy Preview https://deploy-preview-1054--afmg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@TheRealStanPines
Copy link
Contributor Author

I think there was a problem with Khanate and Khaganate's Form Name Generation. I've fixed it.

@TheRealStanPines TheRealStanPines marked this pull request as draft March 5, 2024 15:36
I also added Beylik form name Generation.
@TheRealStanPines TheRealStanPines marked this pull request as ready for review March 5, 2024 15:44
@@ -859,9 +859,10 @@ window.BurgsAndStates = (function () {
if (P(0.3) && s.diplomacy.includes("Vassal")) return "Protectorate"; // some vassals
}

if (base === 16 && (form === "Empire" || form === "Kingdom")) return "Khaganate"; // Turkic
if (base === 31 && (form === "Empire" || form === "Kingdom")) return "Khanate"; // Mongolian
if (base === 31 && (form === "Principality" )) return "Beylik"; // Turkic
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

31 or 16 ?

@Azgaar
Copy link
Owner

Azgaar commented Mar 5, 2024

Khanate and Khaganate is basically the same, but we can keep it separate it if want, just fix the id, please

@TheRealStanPines
Copy link
Contributor Author

Fixed It!

@TheRealStanPines
Copy link
Contributor Author

SOmebody Please Merge this.

@Azgaar
Copy link
Owner

Azgaar commented Mar 5, 2024

Actually need to update the version as well

@TheRealStanPines
Copy link
Contributor Author

How do you do that? I'm kind of new.

@Azgaar
Copy link
Owner

Azgaar commented Mar 5, 2024

Not a problem, I can do it

@Azgaar Azgaar merged commit 56e6e47 into Azgaar:master Mar 5, 2024
4 checks passed
@TheRealStanPines TheRealStanPines deleted the patch-1 branch March 5, 2024 21:32
@TheRealStanPines
Copy link
Contributor Author

thank you.

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.

2 participants