EUWiki

International organization

Jihād

When a band of like-minded countries come together to rid themselves of infidels.

Properties

Has leader country
Yes
Leader type
Country
Has target
Yes
Expel members who are targets of other members
No
Gold
Yes
Payments implemented

jihad treasury contribution

Special statuses implemented

jihad spiritual leader

Conditions

Create visible trigger

  • Never

Invite visible trigger

  • Always

Join defensive wars always

  • the target:
    • If this country's international organization target exists:
      • This is this country's international organization target
    • Otherwise:
      • Never

Join offensive wars always

  • the target:
    • If this country's international organization target exists:
      • This is this country's international organization target
    • Otherwise:
      • Never

Can declare war

  • Always

Potential target trigger

  • Islam:
    • Any religion in religion group:
      • Has more than 0 Countries
  • Is valid target for jihad

Can target trigger

  • None of:
    • Any international organizations target of:
      • Is a Jihād
    • Has Variable: recently declared war on

Can lead trigger

  • Always

Can join trigger

  • The religion's group is Islam
  • Not: Is a Rebel state
  • Knows the target
  • Not (religion group the target's religion's group)
  • Not:
    • Is allied with the target
  • Not:
    • Is at War with the target
  • Not:
    • Is fighting a War together with the target
  • Not:
    • Has a Truce with the target
  • If the recipient exists:
    • the recipient:
      • Leader country:
        • Opinion (this) is more than 0
        • Not:
          • Is at War with this
    • Religion is the recipient's var:religion
  • Otherwise:
    • Always

Can leave trigger

  • Countries cannot leave a jihad directly. Membership ends when the [jihad] disbands, once the war against its target has concluded.

Auto leave trigger

  • Never

Auto disband trigger

  • If var:phase is 2:
    • the target:
      • Not:
        • Is at War with this country's leader country
  • Otherwise:
    • Not: The target exists

Has military access

  • Scope:war
  • The recipient exists
  • The actor exists
  • If the recipient exists:
    • the recipient:
      • Is a member of this
  • If the actor exists:
    • the actor:
      • Is a member of this

Effects

On joined

  • If scope:recipient (var:phase 2):
    • the target:
      • A random current war:
        • Where:
          • Any of:
            • Attacker leader is the recipient's leader country
            • Defender leader is the recipient's leader country
    • If:
      • The crusade war exists
      • Scope:crusade war (attacker leader the recipient's leader country)
    • Then:
      • Joins the crusade war on the side of the crusade war
    • Else if the crusade war exists:
      • Joins the crusade war on the side of the crusade war

On disband

  • Holy war payout war end
  • If:
    • Var:phase is 2
    • Active war exists
  • Then:
    • If any member:
      • the jihad active war ends in a White Peace

Monthly effect

  • If var:phase is 2:
    • Holy war snapshot participation
  • If var:phase is 1:
    • Jihad track contribution
    • If:
      • Var:preparation is at least 100
      • War target exists
    • Then:
      • This country's leader country:
        • Gains a Casus Belli on the jihad target for
        • If not: Is at War with the jihad target:
          • Will declare a War on the jihad target
      • Holy war payout equal share

Modifiers

Technical details
Game id
io:jihad
Defined in
in_game/common/international_organizations/jihad.txt:1

Ai

Ai desire to join
Add
Desc
UNAWARE_OF_TARGET
If
Limit
NOT
Scope:actor
…
Value
−1,000
Desc
BASE
Value
−30
Desc
HOLY_WAR_AGE_DAMPENER
Value
crusade jihad age dampener
Desc
DISTANCE_TO_TARGET
Value
capital.distance_to_squared(scope:target.capital)
Multiply
−0.0004
Desc
TARGET_NOT_RELEVANT_TO_US
If
Limit
NOT
Scope:target
…
Scope:target
…
Value
−40
Desc
ORGANIZATION_ALREADY_LARGE
If
Limit
Exists
scope:recipient
Scope:recipient
Total members
…
Value
−1,000
Desc
HOLY_WAR_ALREADY_OVERWHELMING
If
Limit
Exists
scope:recipient
Scope:recipient
Holy war overwhelms target
Yes
Value
−200
Desc
RECENTLY_PREACHED_TO
If
Limit
Scope:actor
Has variable
recently preached to
Value
40
Desc
OPINION_OF_ACTOR
If
Limit
Opinion
Target
scope:actor
Value
…
Scope:actor
Value
prev opinion of this
Subtract
100
Multiply

2, 0.2

Else
Scope:actor
Value
prev opinion of this
Subtract
100
Multiply
0.2
Desc
OPINION_OF_TARGET
Scope:target
Value
prev opinion of this
Multiply
−0.2
Desc
ANTAGONISM_TOWARDS_TARGET
If
Limit
This
!=
scope:target
Scope:target
prev antagonism towards this
Desc
DIPLOREASON_IN_DEBT
Value
num loans
Multiply
−20
Desc
game concept war exhaustion
Value
war exhaustion
Multiply
−2
Desc
CONQUER_DESIRE
Value
conquer_desire(scope:target)
Desc
RELATIVE_STRENGTH_ROOT
Value
100
Multiply
scope:actor.relative_strength(root)
Subtract
80
Desc
IS_BANKRUPT_TOOLTIP
If
Limit
Is during bankruptcy
Yes
Value
−1,000
Desc
IS_AT_WAR
If
Limit
At war
Yes
Value
−25
Desc
game concept rival
If
Limit
Is rival of
scope:actor
Value
−100
Desc
game concept rival
If
Limit
Is rival of
scope:target
Value
100
Ai desire to allow new member
Add
Desc
WE_WANT_THE_ORGANIZATION_TO_GROW
Value
20

Other

International organization modifier
Unlock contribute to organization treasury
Yes
Variables
Religious zeal
Format
RELIGIOUS_ZEAL_DISPLAY
Change format
VARIABLE_CHANGE_FORMAT
Start
100
Min
0
Max
100
Monthly change
If
Limit
Var:phase
2
Subtract
Desc
WANE_OVER_TIME
Value
1
Add
Desc
NUMBER_OF_MEMBERS
Value
total members
Multiply
0.75
Divide
10
Subtract
0.75
Preparation
Format
PREPARATION_DISPLAY
Change format
VARIABLE_CHANGE_FORMAT
Start
0
Min
0
Max
100
Monthly change
Add
Desc
NATURAL_PREPARATION_PROGRESS
Value
100
Divide
36
Phase
Hidden
Yes
Start
1