Game
Empires in Ruins - The bastard child of 4X and Tower Defense

6 years ago

Each turn during the EiR campaign, the provinces tend to lose more or less stability to the Rebellion according to the way they are managed...


Each turn during the EiR campaign, the provinces tend to lose more or less stability to the Rebellion according to the way they are managed.

Rebellion is the value that determines the occurrence of rebellious events that can range from almost harmless ones (Someone drawing mustaches on the princess’ statue) to catastrophic ones (A riot and your governor being hanged).

In this blog entry we do explain how all this is calculated by the algorithms turn by turn.  A province heavily out of control will soon become a huge pain in the arse for your campaign, requiring constant attention, fights, and causing loss of money and resources.

The chance for rebellion to increase at each turn is determined with the following formula:
ChanceOfIncrease = Clamp(CeilToInt(100-Authority/1.5-Happiness/2),5,90)

Some factors do influence the chance additionally, for example:

  • +3 per neighbor province belonging to Kingdom of Krovan

  • +1 per neighbor province belonging to the Rebels

  • -3 per neighbor province belonging to the player

Therefore the chance is strongly influenced by the province authority value, happiness influences it but has a lesser impact, and no matter what, the chance will never bew lower than 5% and higher than 90%.

5d093e192924c.png
5d093e1cf2628.png

Before a new turn starts, we generate a random value between 0 and 99 (included) and compare it with the chance of rebellion increase in the following way:
If the roll is lower than the chance of rebellion increase by at least 5 points, rebellion will increase in the province during the current turn. The increase is a random number between 1 and 5 (included).
If the roll is high than the chance of rebellion increase by at least 5 points, rebellion will decrease in the province during the current turn. The decrease is a random number between 1 and CeilToInt(Authority/10).
If the roll is between 5 points lower and 5 points higher than the chance to increase, nothing will happen instead.

5d093e2279884.png

Once we determined if the rebellion increased or not, we do figure out if an event is gonna happen the next turn. This is determined by generating one random value between 0 and 99 (included) and comparing it with the Rebellion statistic of the province. The difference between the roll and Rebellion will determine the type of event (the lower the roll, the more serious the event).If the roll is greater than the rebellion value, no event will occur.

  • With a difference of 0 to 25 -> Soft event

  • With a difference of 26 to 45 -> Medium event

  • With a difference of 46 to 65 -> Hard event

  • With a difference of 66 or more -> Catastrophic event

5d093e264e517.png
5d093e2a140a7.png

To rise Authority in the province:

  • Hire a governor with good social skills

  • Build a Command Post or Guard Post and level it up

  • Distribute your men, assigning more to the guards and less to the army (it will lower your military but increase authority)

  • Move the HQ to the province to provide Heimer’s authority bonuses

5d093e2dc549a.png

Soon a few more details on HQ, Heimer’s skills and Rebellious events!
Cheers,Dr.H, Lead Designer & Dev



0 comments

Loading...

Next up

A bit of summary of stuff we made in the last month

Brew. Try. Brew again🧐 With persistence and skill, our ales might make it to the podium yet, Abbess Teresa!🍻⛪

A challenge most welcome, Ale Competitions are already in the works. What are you brewing first?😉

#indiegame #screenshotsaturday #pixelart

Judging by the awards, it seems like a certain someone's determined to win all their Ale Competitions over the weekend!🍻⛪

#indiegame #tycoon #pixelart #screenshotsaturday

The "Goblet of Patient Scoundrels" for Ale Abbey's Trophies' Cabinet (to be added), gives some serious Last Crusade vibes🍻⛪ We dig!🤩

What do you think this trinket will be all about?

#indiegame #pixelart #screenshotsaturday

Have you tried the latest beta?

In Ale Abbey's upcoming Foam & Fame update, you'll sometimes be called to choose sides in some of its new World Events🍻⛪

These Guild Wars will give you, even momentarily, reasons to focus on certain brewing takes!😉

#indiegame #pixelart #screenshotsaturday

Try explaining to the rest of the monastery that a goat ate your recipe... 🍻⛪

#indiegame #pixelart #screenshotsaturday

Wanna sneak a peek at what Chapter 1 and Chapter 2 battlefields look like? Wanna Join our Discord to try them? http://bit.ly/eir_discord

Sketching some new styled promo assets, what do you guys think?

With the temperatures rising, oh great Oak Barrel, bring our cellars' coolness to Ale Abbey's ales🍻⛪ So we may grant our brewers the chilled respite they deserve!🙏 Pretty please?🥵

#indiegame #pixelart #screenshotsaturday