LilyModzStuff / warband_mod_source

Source for my Warband mod.
19 stars 20 forks source link

Made the land renting system be less insane #83

Open speeder opened 4 years ago

speeder commented 4 years ago

So, while playing with this mod, I noticed I was getting somehow, negative land rents in towns I never visited, when I went to check the land system source, found out it was completely insane, not just "buggy", but as in "make no logical sense why it was coded this way", still, I wanted to keep the original idea intact, where you had to pay upkeep, to discourage excessive land building.

So I rewrote it all, but instead of the old crazy system, now it always charges you 50 denars of upkeep, while giving you a rent based on the properity, as it was orignally coded, except the rent was boosted by 50 denars to compensate the upkeep. (originally, it would charge you upkeep ONLY if your land wasn't rented, so end result is the same, except with less bizarre behaviour).

Also the amount of land that is not rented to you, is proportional to the amount of land not rented overall, meaning if you have zero land it doesn't affect you anymore, and if you have all the land, it will affect only you.

I also changed maximum and mininum population, but that was personal taste, it can be changed back to defaults.

qqqween007 commented 4 years ago

good!