-
Notifications
You must be signed in to change notification settings - Fork 0
TORdiplomacy #7
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
Open
Z3rca
wants to merge
37
commits into
development
Choose a base branch
from
diplomacy
base: development
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
TORdiplomacy #7
+5,394
−130
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ecisions are not setup now
10-15 frames won, even with much more kingdoms. good trade-off
Honor Alliance VoluntaryCallToWar
Replace the coarse ReligionAffinity enum (Order, Chaos, Vampire, Destruction) with a more granular Pantheon system representing racial/cultural groupings: - Human (Empire, Bretonnia) - Elven (Asrai, Eonir, Druchii) - Dwarven (Dawi) - Undead (Sylvania, Mousillon) - Greenskin - Chaos (Warriors, Beastmen) Key changes: - Add Pantheon enum and property to ReligionObject - Remove ReligionAffinity enum and Affinity property - Add ReligionObjectHelper with GetPantheon() and GetPantheonCompatibility() - Rename GetSimilarityScore to GetHostilityFactor (now additive bonus) - Add CalculateReligionCompatibility() combining Pantheon + hostility - Update tor_religions.xml with Pantheon attributes - Simplify IsCultureCompatibleWithShrine using Pantheon matching - Add tuning constants to diplomacy models This enables more nuanced diplomatic interactions based on race/culture rather than broad moral alignment.
Z3rca
commented
Jan 20, 2026
Contributor
Author
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Request by Jojabo, to make Mousillon and Sylvania as well as Athel Loren and Eonir survive and join each other if they get defeated.
renaming using constant ids, removig debug information removing unwanted custom configuration on the project file
too many agreements made, reduced significantly
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Allow for forming alliances and triggering diplomatic decisions for kingdoms (player and AI)
Key differences:
alliances work a little bit TWWH esque: when ally gets attacked , you have to solve a "Honor the Allaince" request. which either let you join the ally in his war, or break the alliance with them. This should prevent a too passive gameplay.
Religion: changing from "allignment" to "Pantheon" for a more fine granular diplomacy. e.g Elves and dwarfs can now have "distrust" which makes alliances with them less likely. this was previously not possible. also it removes some rather hacky code regarding shrines. each race has to stick now to their pantheon instead of the alignment. there is no human that worships dwarfs and no elf worshipping human gods.
since Taleworlds did not add a logic to form alliances for AIs, i implemented a rudimentary basic behavior that does the trick
Bandit population has been reduced significantly to keep up with the amount of wars that are not arising
Wars are back on the menu.