Modding New Policies

Policies are basically just a line in a spreadsheet. In this case that spreadsheet is in \program files\data\simulation\policies.csv, and each row that starts with a '#' in the first column becomes a policy that gets loaded into the game. The key to adding policies is to understand what all those columns do, so here is a breakdown of each one, and what it means. I'm using the titles for each column taken from the very first row to describe them...

Name, GUIName

The Name is the word or words used to reference this object internaly within the game by other objects. This is never shown in the game. The GUIName is actualyl displayed as the name of the policy to the player

Slider

if set to 'default' then the slider for this policy has no specific features. If set to a name, this name is used inside 'sliders.csv' to select a bunch of names for the different slider positions, and optionally to 'clamp' them to a series of fixed options.

Description

This is displayed on the policy details screen to the player.

Flags

Can be blank, or one of a number of presets. UNCANCELLABLE means the cancel button is greyed out and the policy is always implemented at 0.5 strength unless specified at a different level. MULTIPLYINCOME means that when determining the amount of income generated by the policy, the various inputs to the income get multipleid rather than added (see below).

Introduce,Cancel,Raise,Lower

This is the amount of political capital required to introduce this as a new policy, cancel it, and raise or lower the current slider level once it's implemented.

Department

Decides which 'zone' on the screen the icon for this policy will appear in, which category on the new policies screen it will be listed under, and also which cabinet minister will be in charge of the policy, and thus affect the efficiency with which it is implemented.

MinCost, MaxCost

These show the cost of the policy per turn at a levekl of 0 on the slider and at maximum on the slider. This is a fixed value, which then gets multiplied by a set multiplier for each country (specified within the country file) and then adjusted for ministerial competence to get an actual cost for this policy (This is then adjusted by the next column...)

Cost Multiplier

A series of inputs, separated by colons, which determine how we get a 'cost multiplier' for the policy, which is a value by which the final cost of the policy is multiplied. Each entry in the list is either _default_ and a set value or it's an actual effect, as specified here.

Implementation

How many turns it will take for this policy to be fully implemented (or cancelled). This will be adjusted in practice for the competence of the minister in charge of this policy.

MinIncome,MaxIncome

Same ans MinCost,MaxCost but for income

Income Multiplier

Exactly the same as Cost Multiplier, except the flag MULTIPLYINCOME under flags can convert this to be a value where the inputs are multiplied together rather than added.

Effects

This special column marks the start of the effects list (one in each cell) for this policy. These are all 'outputs' from this policy to other items, probably voter groups, situations and simulation values/statistics.

Restricted

This optional entry at the end of the effects has #Restricted as the cell entry. This means that the policy is not available to all policies but only the ones whose object names (not GUINames) are listed in the cells after this in a line. You can have just one entry, several or none, and the #restricted cell is entirely optional.

More Games from Positech

  • Gratuitous Space Battles 2
  • Gratuitous Tank Battles
  • Big Pharma