Dancing Hoskuld
Deity
Partisans Mod - by GIR
Current documentation of what happens
Things we need to do
Current documentation of what happens
The number of Partisan units depending on city size (before conquest) and if the loser of the city is stronger or weaker (military power) as the new owner of the city.
city size|Partisan Units if|Partisan Units if|reduce population|
before conquestloser weaker than conquer|loser stronger than conquer|
01-06|1 - 2|0 - 1|none
07-13|2 - 3|1 - 2|- num partisans
14-20|3 - 5|1 - 3|- num partisans
21-27|4 - 6|2 - 4|- num partisans
28-34|5 - 8|2 - 5|- num partisans
35-41|6 - 9|3 - 6|- num partisans
...|...|...|- num partisans
Loser has
- Nationhood civic then +3 units
- Protective trait then +1 unit
- Tech Rifling
Units get promotions based on the losers technological knowledge and the plot types in the work area of the city
technology|plot types|promotions|chanceassembly line |
-|+ drill|100%
industrialism |-| + drill |100%
rocketry |-| + drill |100%
plastics |-| + drill |100%
railroad |-| + flanking I |100%
combustion |-| + flanking II |100%
radio |-| + morale |50%
fascism |-| + combat |50%
computers |-| + combat |100%
robotics |-| + combat |100%
composites |-| + combat |100%
laser |-| + combat |100%
-|forest / jungle| + woodsman I |100%
assembly line |forest / jungle| + woodsman II |75%
industrialism |forest / jungle| + woodsman III |50%
- |hill| + guerilla I |100%
assembly line |hill| + guerilla II |75%
industrialism |hill| + guerilla III |50%
Program logic order
- if the city is barbarian
or loosing player does not have Rifling
or the city is being reconquered by its owner
or it is the last city of a nationexit ie do nothing- otherwise
- calculate the random number of units to spawn
- adjust this number based on the percentage culture in the city belonging to the conquering player
- add the civic and trait adjustments
- identify the plots the partisans spawn in
- identify the promotions the units will have and how much damage they will have taken
- place the units
- reduce the city population
Things we need to do
- Add in all the partisan line
- Add in the new C2C terrains eg Ancient Forest
- Add in promotions for when Terrain Damage option is on
- Add in new promotions
- Work radius of a city needs to be adjusted for C2C's third tier.