International organization

Middle Kingdom

The Middle Kingdom refers to China, considered the cultural center of Far East Asia since Antiquity, and therefore in the center — or middle — of the world.

Properties

Situation relevant
100
Has target
No
Unique
Yes
Show on diplomatic map
Yes
Expel members who are targets of other members
No
Land ownership rule
Middle kingdom land ownership
Antagonism modifier for taking land from fellow member
0.5
Has leader country
Yes
Leader type
Leader title key
EMPEROR_CHINA
Title is suffix
Yes
Override ruler title
Yes
Only leader country joins defensive wars
Yes
Payments implemented

middle kingdom tribute

Special statuses implemented

celestial governor

Conditions

Join defensive wars auto call

  • the target:
    • Is not a member of this

Create visible trigger

  • Never

Invite visible trigger

  • Always

Can declare war

  • Always

Can lead trigger

  • Is leader of Middle Kingdom

Can join trigger

  • Not: Is at War
  • Any of:
    • Is a Subject of the recipient's leader country
    • Not: Is a Subject of another Country
    • Capital (continent Asia)
    • The culture:
      • Any of:
        • Belongs to the Chinese Group
        • Belongs to the Confucian-Influenced Group
    • The religion:
      • Any of:
        • Group is Asian Folk Religions
        • Group is Buddhism
  • Is not Empire
  • If:
    • Japanese Shogunate exists
    • Is a member of Japanese Shogunate
  • Then:
    • Is leader of Japanese Shogunate

Can leave trigger

  • None of:
    • Is a Subject of the recipient's leader country
    • Is leader of the recipient

Auto leave trigger

  • Is not leader of the recipient
  • The recipient's leader country exists
  • Is at War with the recipient's leader country

Auto disband trigger

  • Never

Effects

On joined

  • If the recipient's leader country is not this:
    • Creates a exclusive trade rights with isolated with the recipient's leader country

On left

  • If:
    • The recipient's leader country exists
    • The recipient's leader country is not this
  • Then:
    • exclusive trade rights with isolated is ended with the recipient's leader country

Monthly effect

  • Leader country:
    • Every subject:
      • Where:
        • Is not a member of this
      • This country:
        • Add country to international organization: the other party

Modifiers

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

Ai

Ai desire to join
Add
Desc
OPINION_OF_CHINESE_EMPEROR
Value
Scope:recipient
Leader country
Root
…
Desc
EMPEROR_DIP_REPUTATION
Scope:recipient
Value
leader_country.modifier:diplomatic_reputation
Multiply
2
Desc
DISTANCE_FROM_CHINA
Value
border_distance_to(scope:recipient.leader_country)
Multiply
−0.05
Min
−1,000
If
Limit
Opinion
Target
scope:recipient.leader_country
Value
<
−20
Add
Desc
POOR_RELATIONS
Value
−1,000
Limit
NOT
Within diplomatic range
scope:recipient.leader_country
Add
Desc
OUTSIDE_OF_DIP_RANGE
Value
−1,000
Limit
At war
Yes
Add
Desc
IS_AT_WAR
Value
−1,000
Ai desire to allow new member
Add
Desc
WE_WANT_THE_ORGANIZATION_TO_GROW
Value
20
Desc
CURRENT_CELESTIAL_AUTHORITY
Root
Value
var:celestial_authority
Multiply
0.05
If
Limit
Leader country
Is during bankruptcy
Yes
Add
Desc
WE_EXPERIENCE_BANKRUPTCY
Value
−1,000
Scope:actor
Add
Desc
ECONOMIC_SIZE
Value
monthly income trade and tax
Multiply
−1
If
Limit
Is subject of
root.leader_country
Add
Desc
NOT_SUBJECT_OF_EMPEROR
Value
−25

Other

Leader color
define:NMapColors|INTERNATIONAL_ORGANIZATION_LEADER_COLOR
Leader
Leader country
?=
If
Limit
Has regent
Yes
Has heir
Yes
Heir
Add to list
Leaders
Else
Ruler
?=
…
Variables
Num of celestial governors
Min
0
Max
4
Start
1
Monthly change hidden
Yes
Celestial authority
Format
celestial_authority_DISPLAY
Change format
CELESTIAL_AUTHORITY_CHANGE_FORMAT
Min
0
Max
100
Start
70
Monthly change
Subtract
Desc
BASE_DECAY
Value
0.1
Add
If
Limit
…
Add
…
Add
Desc
NUMBER_OF_TRIBUTARIES
Value
0
Every international organization member
…
If
Limit
NOT
…
Add
Desc
IO_MONTHLY_CELESTIAL_AUTHORITY
Value
leader_country.modifier:monthly_celestial_authority