-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Adding religous city states to unciv! #5136
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
Conversation
does this game have artifacts? |
I'd advise on using the friendbonus and allybonus other city states also use, they can be found in eras.json |
What do you mean by artifacts? |
And I'd even get a bonus for knowing such a city state when I'm at war with them... This is expressly very early and unfinished, so I'll delay further critique. Welcome aboard! |
not yet. @xlenstra I guess he meant archaeology mechanic from bnw and the way antiquity sites work (created on city ruins/barb camps spots/tiles where battle was fought earlier in the game etc.). When you improve them with archaeologist you can dig up an artifact. |
Or maybe they meant build artifacts? As in those expressly excluded from Android Studio? |
Thanks for the PR! As others said look at |
@SomeTroglodyte Damn. Could have swore I put that if statement in |
No, we are not currently doing any BNW stuff |
@SimonCeder okay |
@SimonCeder yeah will work on all that you stated |
@SimonCeder dumb question but what will the statmap accomplish |
|
@SimonCeder ahh so you are saying refractor the code into that module got it |
Yes, you could put the code you wrote in the else clause together with the compatibility code for cultured CS, under the |
@SimonCeder okay |
🤣 I know the feeling, but then I'm already going 144... 🎂 |
@SimonCeder Thanks I don't really know Json's this well. |
@SomeTroglodyte lol |
"perfectly" in IDE and failing the github action is normal, as more build steps are run, among them the unit tests. Usually means you just don't see the "absolutely not perfectly" aspect by not testing enough. "Why" - go look and read the output. Threre's a "Details" link, you browse upwards, there's something like 2 of 60 unit tests failing, scroll some more, you'll see which and maybe some detail. In this case, If you wish, you could try to learn how to run the same level of checks locally - see my scratchpad repo. |
@SomeTroglodyte I did not use by lazy though. I think is must be something to do with the gameinfo class |
There is no good way to find if city states are religious because |
just make them not appear in the cs pool when starting a non religious game, i dont know how it is implemented in this pr but im guessing it directly tries to disable such city states |
There are 3 ways to determine if a city state is religous
|
@interdice
and then, if religion is disabled, |
fixed |
|
||
"declaringWar": "By god's grace we will not allow these atrocities to occur any longer. We declare war!", | ||
"attacked": "May god have mercy on your evil soul.", | ||
"defeated": "I for one welcome our new conquer overlord!", |
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.
Cute :)
Okay, I think this is finally ready! |
Hey guys. I am adding religious city states to unciv. For now this is a draft as I am not done yet.
EDIT: ready for merge
this relates to issue #4290