Skip to content

Commit

Permalink
Better document the behaviour of Inspire_Partisans
Browse files Browse the repository at this point in the history
Including new changes.
  • Loading branch information
lmoureaux authored and jwrober committed Feb 10, 2024
1 parent 27120bf commit 88df939
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/Modding/Rulesets/effects.rst
Original file line number Diff line number Diff line change
Expand Up @@ -809,6 +809,14 @@ Has_Senate

Inspire_Partisans
Partisan units (defined in :file:`units.ruleset`) may spring up when this player's cities are taken.
The number of partisans created is a function of the city size.
When multiple unit types have the Partisan flag, the game tries to choose one the player can build. If
the player cannot build any, the first Partisan unit type is used. If the created partisans units have a
non-zero ``pop_cost``, the city will lose citizens accordingly.

Note that this effect can create units that the player could normally not build (because the tech hasn't
been researched or the ``NoBuild`` flag is set. It is your responsibility to set the appropriate
requirements to avoid creating advanced units if a city is conquered in the early game.

.. _effect-happiness-to-gold:

Expand Down

0 comments on commit 88df939

Please sign in to comment.