Results 1 to 2 of 2

Thread: Additions to Roman Reforms

  1. #1
    EBII PM Member JMRC's Avatar
    Join Date
    Nov 2006
    Location
    Lisboa, Portugal
    Posts
    7,930

    Default Additions to Roman Reforms

    Hi.

    I modified the conditions to the Roman Reforms to reflect the historical size of the Roman Republic at the time of those changes. As we all know, when the Empire replaced the Republic (around turn 965 on EB timeline) its size was already considerable.

    So, what I did was to allow the reforms to happen unconditionally at certain years, although the player might achieve them sooner if he manages to conquer the exact regions that formed the Roman Republic/Empire when the reforms really happened. Some regions were only vassal states, but the player will have to conquer them anyway.

    This makes the reforms more difficult, so they will appear later, but if the player aims to conquer those regions in order to achieve the reforms, it will follow the historical path of the Roman Republic.

    I look forward for your comments.

    Code:
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ;Section 1c: Roman Reforms
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ;Before all reforms
    
    ;Reform Counter 0 = Camilian , 1 = Polybian, 2 = Marius, 3 = Augustus Reforms
    declare_counter Romanii_Reform
    
    ;Detect current reform
    monitor_event SettlementTurnEnd SettlementBuildingExists = romani2
    and not SettlementBuildingExists = romani3
    and not SettlementBuildingExists = romani4
    and FactionType seleucid
    
    	set_counter Romanii_Reform 1
    	terminate_monitor
    
    end_monitor
    
    monitor_event SettlementTurnEnd SettlementBuildingExists = romani3
    and not SettlementBuildingExists = romani4
    and FactionType seleucid
    
    	set_counter Romanii_Reform 2
    	terminate_monitor
    
    end_monitor
    
    monitor_event SettlementTurnEnd SettlementBuildingExists = romani4
    and FactionType seleucid
    
    	set_counter Romanii_Reform 3
    	terminate_monitor
    
    end_monitor
    
    
    
    ;Counters that count number of cities conquered
    declare_counter GalCondition
    declare_counter CartCondition
    
    ; Check Conditions
    monitor_event FactionTurnEnd FactionType seleucid
    and I_CompareCounter Romanii_Reform = 0
    and I_TurnNumber > 120
    
    	; Unconditional Reforms after 210BC
    	if I_TurnNumber > 248
    		set_counter Romanii_Reform 1
    		terminate_monitor
    	end_if
    
    	; Conditional Reforms
    	if I_SettlementOwner Segesta = seleucid
    		inc_counter GalCondition 1
    	end_if
    
    	if I_SettlementOwner Mediolanum = seleucid
    		inc_counter GalCondition 1
    	end_if
    
    	if I_SettlementOwner Patavium = seleucid
    		inc_counter GalCondition 1
    	end_if
    
    	if I_SettlementOwner Bononia = seleucid
    		inc_counter GalCondition 1
    	end_if
    
    	if I_SettlementOwner Lilibeo = seleucid
    		inc_counter CartCondition 1
    	end_if
    
    	if I_SettlementOwner Messana = seleucid
    		inc_counter CartCondition 1
    	end_if
    
    	if I_SettlementOwner Syracuse = seleucid
    		inc_counter CartCondition 1
    	end_if
    
    	;Check if Reforms Conditions are met
    	if I_CompareCounter CartCondition >= 2
    	and I_CompareCounter GalCondition >= 2
    
    		set_counter Romanii_Reform 1
    		terminate_monitor
    		
    	end_if
    
    	;Reset Counters
    	set_counter CartCondition 0
    	set_counter GalCondition 0
    
    end_monitor
    
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; MARIAN TRIGGER
    
    declare_counter Latifundia
    declare_counter ReformatorCounter
    set_counter Latifundia 0
    
    ; Count Latifundium
    
    monitor_event SettlementTurnStart SettlementName Segesta
    and I_CompareCounter Romanii_Reform = 1
    and FactionType seleucid
    and SettlementBuildingExists = latifundium
    	inc_counter Latifundia 1
    end_monitor
    
    monitor_event SettlementTurnStart SettlementName Bononia
    and I_CompareCounter Romanii_Reform = 1
    and FactionType seleucid
    and SettlementBuildingExists = latifundium
    	inc_counter Latifundia 1
    end_monitor
    
    monitor_event SettlementTurnStart SettlementName Patavium
    and I_CompareCounter Romanii_Reform = 1
    and FactionType seleucid
    and SettlementBuildingExists = latifundium
    	inc_counter Latifundia 1
    end_monitor
    
    monitor_event SettlementTurnStart SettlementName Arretium
    and I_CompareCounter Romanii_Reform = 1
    and FactionType seleucid
    and SettlementBuildingExists = latifundium
    	inc_counter Latifundia 1
    end_monitor
    
    monitor_event SettlementTurnStart SettlementName Ariminum
    and I_CompareCounter Romanii_Reform = 1
    and FactionType seleucid
    and SettlementBuildingExists = latifundium
    	inc_counter Latifundia 1
    end_monitor
    
    monitor_event SettlementTurnStart SettlementName Roma
    and I_CompareCounter Romanii_Reform = 1
    and FactionType seleucid
    and SettlementBuildingExists = latifundium
    	inc_counter Latifundia 1
    end_monitor
    
    monitor_event SettlementTurnStart SettlementName Capua
    and I_CompareCounter Romanii_Reform = 1
    and FactionType seleucid
    and SettlementBuildingExists = latifundium
    	inc_counter Latifundia 1
    end_monitor
    
    monitor_event SettlementTurnStart SettlementName Arpi
    and I_CompareCounter Romanii_Reform = 1
    and FactionType seleucid
    and SettlementBuildingExists = latifundium
    	inc_counter Latifundia 1
    end_monitor
    
    monitor_event SettlementTurnStart SettlementName Taras
    and I_CompareCounter Romanii_Reform = 1
    and FactionType seleucid
    and SettlementBuildingExists = latifundium
    	inc_counter Latifundia 1
    end_monitor
    
    monitor_event SettlementTurnStart SettlementName Rhegion
    and I_CompareCounter Romanii_Reform = 1
    and FactionType seleucid
    and SettlementBuildingExists = latifundium
    	inc_counter Latifundia 1
    end_monitor
    
    
    ;Unconditional Reforms
    monitor_event FactionTurnEnd FactionType seleucid
    and I_CompareCounter Romanii_Reform = 1
    and I_TurnNumber > 656
    	set_counter Romanii_Reform 2
    terminate_monitor
    end_monitor
    
    
    ;Conditional Reforms
    monitor_event FactionTurnEnd FactionType seleucid
    	and I_CompareCounter Romanii_Reform = 1
    	and I_CompareCounter Latifundia > 6
    ;JMRC-init
    ;	and I_NumberOfSettlements seleucid > 44
    ;Roman Provinces in 133BC
    	and I_SettlementOwner Mediolanum = seleucid
    	and I_SettlementOwner Messana = seleucid
    	and I_SettlementOwner Syracuse = seleucid
    	and I_SettlementOwner Karali = seleucid
    	and I_SettlementOwner Alalia = seleucid
    	and I_SettlementOwner Lilibeo = seleucid
    	and I_SettlementOwner Kart_Hadast = seleucid
    	and I_SettlementOwner Adrumeto = seleucid
    	and I_SettlementOwner Kirtan = seleucid
    	and I_SettlementOwner Lepki = seleucid
    	and I_SettlementOwner Bocchoris = seleucid
    	and I_SettlementOwner Massalia = seleucid
    	and I_SettlementOwner Tolosa = seleucid
    	and I_SettlementOwner Emporion = seleucid
    	and I_SettlementOwner Arse = seleucid
    	and I_SettlementOwner Mastia = seleucid
    	and I_SettlementOwner Numantia = seleucid
    	and I_SettlementOwner Baikor = seleucid
    	and I_SettlementOwner Gader = seleucid
    	and I_SettlementOwner Sucum-Murgi = seleucid
    	and I_SettlementOwner Oxtraca = seleucid
    	and I_SettlementOwner Tyde = seleucid
    	and I_SettlementOwner Segestica = seleucid
    	and I_SettlementOwner Dalminion = seleucid
    	and I_SettlementOwner Epidamnos = seleucid
    	and I_SettlementOwner Apollonia = seleucid
    	and I_SettlementOwner Serdike = seleucid
    	and I_SettlementOwner Pella = seleucid
    	and I_SettlementOwner Demetrias = seleucid
    	and I_SettlementOwner Thermon = seleucid
    	and I_SettlementOwner Athenai = seleucid
    	and I_SettlementOwner Chalkis = seleucid
    	and I_SettlementOwner Korinthos = seleucid
    	and I_SettlementOwner Sparte = seleucid
    	and I_SettlementOwner Byzantion = seleucid
    	and I_SettlementOwner Pergamon = seleucid
    	and I_SettlementOwner Mytilene = seleucid
    	and I_SettlementOwner Sardis = seleucid
    	and I_SettlementOwner Halikarnassos = seleucid
    	and I_SettlementOwner Side = seleucid
    	and I_SettlementOwner Ipsos = seleucid
    ;JMRC-end
    	and I_CompareCounter ReformatorCounter = 1
    		set_counter Romanii_Reform 2
    terminate_monitor
    end_monitor
    
    ;Check for Marius wanabe
    monitor_event CharacterTurnStart Trait Reformator > 0
    	set_counter ReformatorCounter 1
    end_monitor
    
    
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Imperial trigger
    
    declare_counter Romani
    declare_counter AugustanReformatorCounter
    
    set_counter Romani 0
    
    ;Unconditional Reforms
    monitor_event FactionTurnEnd FactionType seleucid
    	and I_CompareCounter Romanii_Reform = 2
    	and I_TurnNumber > 964
    		set_counter Romanii_Reform 3
    terminate_monitor
    end_monitor
    
    ;Conditional Reforms
    monitor_event SettlementTurnStart BuildingExists = gov2
    	and FactionType seleucid
    	and I_CompareCounter Romanii_Reform = 2
    		inc_counter Romani 1
    end_monitor
    
    monitor_event FactionTurnEnd FactionType seleucid
    	and I_CompareCounter Romani > 54
    ;JMRC-init
    ;	and I_NumberOfSettlements seleucid > 89
    ;Roman Provinces in 133BC
    	and I_SettlementOwner Mediolanum = seleucid
    	and I_SettlementOwner Messana = seleucid
    	and I_SettlementOwner Syracuse = seleucid
    	and I_SettlementOwner Karali = seleucid
    	and I_SettlementOwner Alalia = seleucid
    	and I_SettlementOwner Lilibeo = seleucid
    	and I_SettlementOwner Kart_Hadast = seleucid
    	and I_SettlementOwner Adrumeto = seleucid
    	and I_SettlementOwner Kirtan = seleucid
    	and I_SettlementOwner Lepki = seleucid
    	and I_SettlementOwner Bocchoris = seleucid
    	and I_SettlementOwner Massalia = seleucid
    	and I_SettlementOwner Tolosa = seleucid
    	and I_SettlementOwner Emporion = seleucid
    	and I_SettlementOwner Arse = seleucid
    	and I_SettlementOwner Mastia = seleucid
    	and I_SettlementOwner Numantia = seleucid
    	and I_SettlementOwner Baikor = seleucid
    	and I_SettlementOwner Gader = seleucid
    	and I_SettlementOwner Sucum-Murgi = seleucid
    	and I_SettlementOwner Oxtraca = seleucid
    	and I_SettlementOwner Tyde = seleucid
    	and I_SettlementOwner Segestica = seleucid
    	and I_SettlementOwner Dalminion = seleucid
    	and I_SettlementOwner Epidamnos = seleucid
    	and I_SettlementOwner Apollonia = seleucid
    	and I_SettlementOwner Serdike = seleucid
    	and I_SettlementOwner Pella = seleucid
    	and I_SettlementOwner Demetrias = seleucid
    	and I_SettlementOwner Thermon = seleucid
    	and I_SettlementOwner Athenai = seleucid
    	and I_SettlementOwner Chalkis = seleucid
    	and I_SettlementOwner Korinthos = seleucid
    	and I_SettlementOwner Sparte = seleucid
    	and I_SettlementOwner Byzantion = seleucid
    	and I_SettlementOwner Pergamon = seleucid
    	and I_SettlementOwner Mytilene = seleucid
    	and I_SettlementOwner Sardis = seleucid
    	and I_SettlementOwner Halikarnassos = seleucid
    	and I_SettlementOwner Side = seleucid
    	and I_SettlementOwner Ipsos = seleucid
    ;Roman Provinces in 133-44BC
    	and I_SettlementOwner Burdigala = seleucid
    	and I_SettlementOwner Gergovia = seleucid
    	and I_SettlementOwner Viennos = seleucid
    	and I_SettlementOwner Vesontio = seleucid
    	and I_SettlementOwner Lemonum = seleucid
    	and I_SettlementOwner Avaricum = seleucid
    	and I_SettlementOwner Bibracte = seleucid
    	and I_SettlementOwner Darioritum = seleucid
    	and I_SettlementOwner Cenabum = seleucid
    	and I_SettlementOwner Bratosporios = seleucid
    	and I_SettlementOwner Bagacos = seleucid
    	and I_SettlementOwner Kydonia = seleucid
    	and I_SettlementOwner Nikaia = seleucid
    	and I_SettlementOwner Amaseia = seleucid
    	and I_SettlementOwner Sinope = seleucid
    	and I_SettlementOwner Tarsos = seleucid
    	and I_SettlementOwner Antiocheia = seleucid
    	and I_SettlementOwner Palmyra = seleucid
    	and I_SettlementOwner Sidon = seleucid
    	and I_SettlementOwner Salamis = seleucid
    	and I_SettlementOwner Kyrene = seleucid
    	and I_SettlementOwner Paraitonion = seleucid
    ;Roman Dependencies in 44BC
    	and I_SettlementOwner Ankyra = seleucid
    	and I_SettlementOwner Rhodos = seleucid
    	and I_SettlementOwner Mazaka = seleucid
    	and I_SettlementOwner Ani-Kamah = seleucid
    	and I_SettlementOwner Trapezous = seleucid
    	and I_SettlementOwner Kotais = seleucid
    	and I_SettlementOwner Mtskheta = seleucid
    	and I_SettlementOwner Armavir = seleucid
    	and I_SettlementOwner Hierosolyma = seleucid
    	and I_SettlementOwner Bostra = seleucid
    	and I_SettlementOwner Alexandreia = seleucid
    	and I_SettlementOwner Memphis = seleucid
    	and I_SettlementOwner Diospolis_Megale = seleucid
    	and I_SettlementOwner Pselkis = seleucid
    	and I_SettlementOwner Ptolemais_Theron = seleucid
    	and I_SettlementOwner Meroe = seleucid
    	and I_SettlementOwner Hibis = seleucid
    	and I_SettlementOwner Pantikapaion = seleucid
    	and I_SettlementOwner Chersonesos = seleucid
    ;JMRC-end
    	and I_CompareCounter Romanii_Reform = 2
    	and I_CompareCounter AugustanReformatorCounter = 1
    		set_counter Romanii_Reform 3
    end_monitor
    
    monitor_event CharacterTurnStart Trait Augustus > 1
    	set_counter AugustanReformatorCounter 1
    end_monitor



    "Death Smiles at Us All,all a Man Can Do Is Smile Back."
    Maximvs Decimvs Meridivs, Commander of the Armies of the North, General of the Felix Legions, Iberian Gladiator.

  2. #2
    Member Member Darth Stalin's Avatar
    Join Date
    May 2007
    Location
    Main station of "Friendship" pipeline
    Posts
    241

    Default Re: Additions to Roman Reforms

    OK, so should this part of the code replace appropriate code in EBBS_SCRIPT referring to Roman Reforms?
    As for me it looks quite, OK, yet I heard of some problems with gaining "Consul" trait for a family member at all... yet forget about being Popular and reformer...
    DARTH STALIN - Lord Generalissimus of the Union of the Socialist Sith Republic

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO