[DEV] Reserved names and ranges - SoM-Team/Sons-of-Mobius GitHub Wiki

Reserved names and ranges

Description

Sometimes you need to reserve a range of numbers for events or variable names. Leave them on this page. This will allow developers to avoid intersection of tokens.

Examples:

    Event ID range
    
    Start: koa.300
    End: koa.399
    
    Reserved by: Artyom Kushnaryov (sonikku42ru)
    Used for: KOA events triggered by foreign policy focuses.
    Variables
    
    TAG.rings
    
    Reserved for common use
    Used for: storing the number of country's rings.
    Flags
    
    KOA_Sally_Queen
    
    Reserved for common use
    Used for: indicating that Sally became Queen of Kingdom of Acorn.
    Leader IDs

    ID: 110
    Name: Vladimir Acorn
    Country: KOA
    Type: Corps Commander

Separate all entries with "===" lines.

Reserved event ID's

Add occupied event ID's here.

Start: koa.100
End: koa.199

Occupied by: Artyom Kushnaryov (sonikku42ru)
Not for shared use
Used for: KOA events triggered by King Max, King Elias and Sally Acorn focuses (left side of focuses window).

===

Start: koa.300
End: koa.399

Occupied by: Artyom Kushnaryov (sonikku42ru)
Not for shared use
Used for: KOA events triggered by foreign policy focuses.

===

Start: inf.200
End: inf.207

Occupied by: Nikita Kovrizhnykh (Valrael)
Not for shared use
Used for: INF events triggered by Infinite weakening enemies mechanic.

Reserved variables

Add occupied variables here.

Available for any scopes

TAG.rings

Occupied for common use
Used for: storing the number of country's rings.

===

TAG.chaos

Occupied for common use
Used for: storing value of chaos in TAG-target of Infinite's weakening enemies mechanics
Value: 0 ... 999

===

TAG.legacy_of_roboticization_level

Occupied for indication the current level of
"Legacy of Deroboticization" focuses, which
allows us to swap ideas using meta-effects.
This variable represents the current level of
"Legacy of Deroboticiation" idea in the current
scope.
Values: 1 .. 4

===

TAG.legacy_of_roboticization_level_new

Occupied for indication the current level of
"Legacy of Deroboticization" focuses, which
allows us to swap ideas using meta-effects.
This variable represents the new level of
"Legacy of Deroboticiation" idea that should
be set in the current scope.
Values: 1 .. 4

===

Trade embargo mechanics

TAG.opinion_modifier_action
TAG.embargo_target
TAG.embargo_initiator

Occupied for switching trade embargo.
opinion_modifier_action: 0 - disable, 1 - enable
embargo_target: A tag of country on which trade embargo will be applied.
embargo_initiator: A tag of country that applies trade embargo.

Kingdom of Acorn (KOA) scope

"Nobles vs populist" mechanics

KOA.nobles_influence

Occupied for common use
Used for: storing the nobles influence value which is used in "Nobles vs Populist"
mechanic.
Values range: 0 ... 100
Initial value: 50

===

KOA.populist_influence

Occupied for common use
Used for: storing the populist influence value which is used in "Nobles vs Populist"
mechanic.
Values range: 0 ... 100
Initial value: 50

===

KOA.KOA_new_populist_idea_level

Occupied for common use
Used for: switching populist ideas using KOA_Switch_Populist_Idea scripted effect.
Values range: 0 ... 10
Initial value: 0

===

KOA.KOA_new_nobles_idea_level

Occupied for common use
Used for: switching nobles ideas using KOA_Switch_Nobles_Idea scripted effect.
Values range: 0 ... 10
Initial value: 0

===

Some switchable ideas

KOA.KOA_new_empire_idea_level

Occupied for common use
Used for: switching New Empire ideas using KOA_Switch_Empire_Idea_Meta scripted effect.

Jackalstan (INF) scope

INF.INF_Ruby_Energy

Occupied for common use
Used for: storing value of Phantom Ruby energy
Values range: 0 ... 100
Initial value: 100 

===

INF.INF_Ruby_Energy_refill

Occupied for common use
Used for: storing value of passive refilling of Phantom Ruby energy per day
Initial value: 5 (constant)

===

INF.victim

Occupied by: Nikita Kovrizhnykh (Valrael)
Used for: storing tag id of Phantom Ruby victim, in which civil war was provoked.
Initial value: TAG.id 

===

INF.victim_rebels

Occupied by: Nikita Kovrizhnykh (Valrael)
Used for: storing tag id of rebels in country, in which civil war was provoked by Phantom Ruby.
Initial value: TAG.id

Eggman Empire (EGG) scope

EGG.DEL_#_Submission
# - number from 1 to 4 that stands for one of the DEL countries.
1 - Central DEL
2 - Northamer DEL
3 - Great Desert DEL
4 - Desert Kingdom DEL

Occupied for common use
Used for: storing of DELs submission
Values range: 0 ... 100
Initial values:
EGG.DEL_1_Submission = 84
EGG.DEL_2_Submission = 56
EGG.DEL_3_Submission = 41
EGG.DEL_4_Submission = 63

Reserved flags

Add occupied flags here.

KOA_Sally_Queen

Occupied for common use
Used for: indicating that Sally became Queen of Kingdom of Acorn.

===

KOA_Elias_Despot_King

Occupied for common use
Used for: indicating that Elias became despotic King of Kingdom of Acorn.

===

KOA_Elias_Reformer_King

Occupied for common use
Used for: indicating that Elias became democratic King of Kingdom of Acorn.

Reserved leader IDs

Add leader IDs here.

Kingdom of Acorn scope

ID: 101
Name: Armand d'Colette
Country: KOA
Type: Corps Commander

===

ID: 102
Name: Sally Acorn
Country: KOA
Type: Corps Commander

===

ID: 103
Name: Elias Acorn
Country: KOA
Type: Corps Commander

===

ID: 107
Name: Amadeus Prower
Country: KOA
Type: Corps Commander

===

ID: 110
Name: Vladimir Acorn
Country: KOA
Type: Corps Commander