You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/extensions.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -96,6 +96,7 @@ Additionally, triggers such as technology triggers no longer suffer from having
96
96
position = free_trade
97
97
}
98
98
```
99
+
-`diplo_points = ...` : Will add the number to the currently stored diplomatic points of the nation in scope. (Note: so you can use a negative number to subtract points. Diplomatic points can not be reduced to less than zero.)
99
100
100
101
As for `build_xxx_in_capital`, the game doesn't allow custom defined buildings to be used in this mode as an effect.
101
102
@@ -146,6 +147,7 @@ build_bank_in_capital = {
146
147
position = free_trade
147
148
}
148
149
```
150
+
-`diplo_points = ...` : This trigger condition is true if the nation in scope has saved diplomatic points greater than or equal to the given number.
149
151
150
152
### FROM bounce
151
153
FROM bouncing is a technique where before, modders would do:
"diplo_points effect used in an incorrect scope type " + slot_contents_to_string(context.main_slot) + " (" + err.file_name + ", line " + std::to_string(line) + ")\n";
0 commit comments