User avatar
Citizen X
AGEod Veteran
Posts: 795
Joined: Tue Feb 02, 2010 1:34 pm

Fri Aug 02, 2013 5:08 pm

The rest of the Tripolis deal. Diplomats already paid in the first script of that transfer. Here the two squadrons of merchant ships are handed to Ottoman officials.

Allthough the ships lack any specifications like names etc., it did work perfectly on my machine. Please run one of the next turns.

Code: Select all

SelectFaction = $CMN
SelectRegion = $Cyrenaica

StartEvent = Italian ships for the Ottoman Empire|1|1|NULL|NULL|$Cyrenaica|NULL

Actions
SelectFaction = $ITA
  SelectSubUnits = Region $Cyrenaica;FactionTags ITA;Domains $Naval
  AlterCuSubUnit = ApplytoList;Kill
SelectFaction = $TUR
SelectRegion = $Cyrenaica
 CreateGroup
  Posture = $Defensive
  SetKind = $Nav
  Entranch = 0
  FixType = 0
  Apply
  CreateUnit
  SetType = $uni_TUR_Mer4
  SetLevel = 3
  Apply
  CreateUnit
  SetType = $uni_TUR_Mer4
  SetLevel = 3
  Apply
EndEvent
"I am here already.", said the hedgehog to the hare.

User avatar
Citizen X
AGEod Veteran
Posts: 795
Joined: Tue Feb 02, 2010 1:34 pm

Fri Aug 02, 2013 5:11 pm

This is for changing ownership of the Persian coal mine in Ankara.

Code: Select all

SelectFaction = $CMN
SelectRegion = $Ankara

StartEvent = Persian coalpits to Ottoman Empire|1|1|NULL|NULL|$Kars|NULL

Actions
SelectFaction = $PER

ChangeResStock = $merDiplomat;-1
ChangeResStock = $merCapital;800
ChangeResStock = $merSteel;20
ChangeResStock = $merCoal;4
ChangeResStock = $merGoods;30

SelectRegion = $Ankara
RemoveStructure = ByDefUID $Coal2;RANDOM;SINGLEFAC

SelectFaction = $TUR
ChangeResStock = $merDiplomat;-1
ChangeResStock = $merCapital;-800
ChangeResStock = $merSteel;-20
ChangeResStock = $merCoal;-4
ChangeResStock = $merGoods;-30

SelectRegion = $Ankara
CreateStruc
SetType = $Coal2

SetName = Persian Pit
Apply


EndEvent
"I am here already.", said the hedgehog to the hare.

User avatar
Jonathan Pollard
Major
Posts: 220
Joined: Mon May 26, 2008 4:01 am
Location: Federal Prison
Contact: Website

Sun Aug 04, 2013 6:08 am

Script for the creation of two Chinese merchant ship units (to replace the ones that are posing as gunboats which I will delete manually in-game). I've already tested this script.

Code: Select all

SelectFaction = $CMN
SelectRegion = $Canton
StartEvent = SirG Merchant start for China|1|2|NULL|NULL|$Canton|NULL
Conditions
Actions
SelectFaction = $CHI
SelectRegion = $Canton
CreateGroup
Posture = $Defensive
SetKind = $Nav
Entranch = 0
InCS = 0
FixType = 0
SetName = Mercante
Apply
CreateUnit
SetType = $uni_CHI_Riv2
SetLevel = 0
SetName = Mercante Orientale
Apply
SetBuildFlag = 0
SetHealth = 100
SetCohesion = 100
CreateUnit
SetType = $uni_CHI_Riv2
SetLevel = 0
SetName = Mercante America
Apply
SetBuildFlag = 0
SetHealth = 100
SetCohesion = 100
EndEvent


NOTE TO HOST: According to Sir Garnet, the event will run only once, but he recommends deleting the event after it is run because "if you leave it in then it may surprise you in your next campaign."
"Two suspects are in FBI custody after a truckload of explosives was discovered around the George Washington Bridge...the FBI...says enough explosives were in the truck to do great damage to the George Washington Bridge." Dan Rather of CBS News, 9/11/2001
[SIGPIC][/SIGPIC]

Boernes
Sergeant
Posts: 74
Joined: Tue Feb 28, 2012 11:18 am
Location: Central Europe

Sun Aug 04, 2013 10:01 am

Code: Select all

SelectFaction = $CMN
SelectRegion = $Svealand
StartEvent = Swedish colonial society 1880|1|1|NULL|NULL|$Svealand|NULL

Actions

SelectFaction = $SWE
SelectRegion = $Kigali
ChangeRgnOwner = $POR
ChangeResStock = $merDiplomat;-1
ChangeResStock = $merMoney;-28
ChangeResStock = $merGoods;-11

SelectFaction = $POR
ChangeResStock = $merDiplomat;-1
ChangeResStock = $merMoney;28
ChangeResStock = $merGoods;11

SelectFaction = $SWE
SelectRegion = $Svealand
  ChgRgnDecisionFP = $rgdProsecute;1
  ChgRgnDecisionFP = $rgdPacify;1
  ChgRgnDecisionFP = $rgdRetaliate;1
  ChgRgnDecisionFP = $rgdTelegraph;1
  ChgRgnDecisionFP = $rgdSchool;1
  ChgRgnDecisionFP = $rgdVaccination;1
  ChgRgnDecisionFP = $rgdSanitation;1
  ChgRgnDecisionFP = $rgdSociety;1
  ChgRgnDecisionFP = $rgdImmigrants;1
  ChgRgnDecisionFP = $rgdColony;1
EndEvent



This script changes the official ownership of the region Kigali and compensates Portugal for the depot they have built there. Rwanda is already a swedish protectorate and has full 100% MC but due to the depot I can't gain full control over it.

If nobody objects, the second part of the script is taken from the BEL event file, and adds one of each colonial decision that can raise CP above 45%. IIRC that is what any nation (that either was planned to have colonies or already had them) gets at the beginning of the game. Jonathan Pollard mentioned that China lacks those decisions as well and cant raise CP above 45% ... I suggest China is given something along these lines, but I dont know how much is adequate in that case


€dit:
[s]I cant test the script, somehow the game doesnt want to process the turn and instead just keeps saving it ...[/s]
€dit #2:
okay, it works

Boernes
Sergeant
Posts: 74
Joined: Tue Feb 28, 2012 11:18 am
Location: Central Europe

Wed Aug 07, 2013 4:28 pm

Transfer of Kigali to Sweden

Code: Select all

SelectFaction = $CMN
SelectRegion = $Svealand
StartEvent = Kigali to Sweden 1880|1|1|NULL|NULL|$Svealand|NULL

Actions

SelectFaction = $SWE
SelectRegion = $Kigali
ChangeRgnOwner = $POR
ChangeResStock = $merDiplomat;-1
ChangeResStock = $merMoney;-28
ChangeResStock = $merGoods;-11

SelectFaction = $POR
ChangeResStock = $merDiplomat;-1
ChangeResStock = $merMoney;28
ChangeResStock = $merGoods;11
EndEvent






This next script is still up to discussion, but I will keep it here out of convenience

Code: Select all

SelectFaction = $CMN
SelectRegion = $Svealand
StartEvent = Swedish colonial society 1880|1|1|NULL|NULL|$Svealand|NULL

SelectFaction = $SWE
SelectRegion = $Svealand
  ChgRgnDecisionFP = $rgdProsecute;1
  ChgRgnDecisionFP = $rgdPacify;1
  ChgRgnDecisionFP = $rgdRetaliate;1
  ChgRgnDecisionFP = $rgdTelegraph;1
  ChgRgnDecisionFP = $rgdSchool;1
  ChgRgnDecisionFP = $rgdVaccination;1
  ChgRgnDecisionFP = $rgdSanitation;1
  ChgRgnDecisionFP = $rgdSociety;1
  ChgRgnDecisionFP = $rgdImmigrants;1
  ChgRgnDecisionFP = $rgdColony;1
EndEvent

User avatar
Jim-NC
Posts: 2981
Joined: Wed Feb 25, 2009 4:21 pm
Location: Near Region 209, North Carolina

Thu Aug 08, 2013 3:23 am

Britain Announces the Sale of 7 Squadrons of Ironclad Ships to the Ottoman Empire:

SelectFaction = $CMN
SelectRegion = $Antalya
StartEvent = Selling of 7 British Ironclads to Ottoman Empire |1|2|NULL|NULL|NULL|NULL

Conditions

Actions

SelectFaction = $GBR
SelectRegion = $Antalya
ChangeResStock = $merMoney;800
SelectSubUnits = Region $Antalya;FactionTags GBR
AlterCuSubUnit = ApplyToList;Kill
ChgVPCount = 0
ChangeResStock = $merDiplomat;-1

SelectFaction = $TUR
SelectRegion = $Antalya
ChangeResStock = $merMoney;-800
CreateGroup
Posture = $Defensive
SetKind = $Nav
Entranch = 0
InCS = 0
FixType = 0
SetName = Ironclad I
Apply
CreateUnit
SetType = $uni_TUR_War3
SUFlavorName = IC1|IC2|IC3|IC4
SetLevel = 3
SetName = 1st Ironclads
Apply
SetBuildFlag = 1
SetHealth = 100
SetCohesion = 100
SelectFaction = $TUR
SelectRegion = $Antalya
CreateGroup
Posture = $Defensive
SetKind = $Nav
Entranch = 0
InCS = 0
FixType = 0
SetName = Ironclad II
Apply
CreateUnit
SetType = $uni_TUR_War3
SUFlavorName = IC5|IC6|IC7|IC8
SetLevel = 3
SetName = 2nd Ironclads
Apply
SetBuildFlag = 1
SetHealth = 100
SetCohesion = 100
SelectFaction = $TUR
SelectRegion = $Antalya
CreateGroup
Posture = $Defensive
SetKind = $Nav
Entranch = 0
InCS = 0
FixType = 0
SetName = Ironclad III
Apply
CreateUnit
SetType = $uni_TUR_War3
SUFlavorName = IC9|IC10|IC11|IC12
SetLevel = 3
SetName = 3rd Ironclads
Apply
SetBuildFlag = 1
SetHealth = 100
SetCohesion = 100
SelectFaction = $TUR
SelectRegion = $Antalya
CreateGroup
Posture = $Defensive
SetKind = $Nav
Entranch = 0
InCS = 0
FixType = 0
SetName = Ironclad IV
Apply
CreateUnit
SetType = $uni_TUR_War3
SUFlavorName = IC13|IC14|IC15|IC16
SetLevel = 3
SetName = 4th Ironclads
Apply
SetBuildFlag = 1
SetHealth = 100
SetCohesion = 100
SelectFaction = $TUR
SelectRegion = $Antalya
CreateGroup
Posture = $Defensive
SetKind = $Nav
Entranch = 0
InCS = 0
FixType = 0
SetName = Ironclad V
Apply
CreateUnit
SetType = $uni_TUR_War3
SUFlavorName = IC17|IC18|IC19|IC20
SetLevel = 3
SetName = 5th Ironclads
Apply
SetBuildFlag = 1
SetHealth = 100
SetCohesion = 100
SelectRegion = $Antalya
CreateGroup
Posture = $Defensive
SetKind = $Nav
Entranch = 0
InCS = 0
FixType = 0
SetName = Ironclad VI
Apply
CreateUnit
SetType = $uni_TUR_War3
SUFlavorName = IC21|IC22|IC23|IC24
SetLevel = 3
SetName = 6th Ironclads
Apply
SetBuildFlag = 1
SetHealth = 100
SetCohesion = 100
SelectRegion = $Antalya
CreateGroup
Posture = $Defensive
SetKind = $Nav
Entranch = 0
InCS = 0
FixType = 0
SetName = Ironclad VII
Apply
CreateUnit
SetType = $uni_TUR_War3
SUFlavorName = IC25|IC26|IC27|IC28
SetLevel = 3
SetName = 7th Ironclads
Apply
SetBuildFlag = 1
SetHealth = 100
SetCohesion = 100
ChangeResStock = $merDiplomat;-1
EndEvent
Remember - The beatings will continue until morale improves.
[SIGPIC][/SIGPIC]

User avatar
Citizen X
AGEod Veteran
Posts: 795
Joined: Tue Feb 02, 2010 1:34 pm

Sino-turcish golddeal

Fri Aug 16, 2013 11:22 am

Code: Select all

SelectFaction = $CMN
SelectRegion = $Constantinople

StartEvent = Sino-turcish golddeal|1|1|NULL|NULL|$Constantinople|NULL

Actions
SelectFaction = $CHI
ChangeResStock = $merGold;180
SelectFaction = $TUR
ChangeResStock = $merGold;-180
Apply


EndEvent
"I am here already.", said the hedgehog to the hare.

User avatar
Citizen X
AGEod Veteran
Posts: 795
Joined: Tue Feb 02, 2010 1:34 pm

Lybian transfer

Fri Aug 16, 2013 11:23 am

Code: Select all

SelectFaction = $CMN
SelectRegion = $Cyrenaica

StartEvent = Lybian transfer|1|1|NULL|NULL|$Cyrenaica|NULL

Actions
SelectFaction = $ITA
SelectRegion = $Cyrenaica
SetColonialPen = 0
SelectFaction = $TUR
SelectRegion = $Cyrenaica
ChangeRgnOwner = $ITA
EndEvent
"I am here already.", said the hedgehog to the hare.

User avatar
bjfagan
General of the Army
Posts: 631
Joined: Sun Dec 30, 2007 11:03 pm
Location: Los Angeles, USA

Mon Sep 02, 2013 10:52 pm

Here is the script I used to transfer the structures in Shanghai. After the fact, I realized that I cut and pasted part of the script from a USA-China script and did not change the diplomat cost from China to Germany. I will make another script to correct this and give back China their diplomat.



Code: Select all

SelectFaction = $USA
SelectRegion = $Shanghai

StartEvent = Return of Seized Shanghai Structures to the Germany|1|1|NULL|NULL|$Shanghai|NULL

Actions

SelectFaction = $USA
SelectRegion = $Shanghai
RemoveStructure = ByDefUID $Rice1;RANDOM;SINGLEFAC
SelectFaction = $GER
SelectRegion = $Shanghai
CreateStruc
SetType = $Rice1
SetName = German Rice
Apply

SelectFaction = $USA
SelectRegion = $Shanghai
RemoveStructure = ByDefUID $Rice1;RANDOM;SINGLEFAC
SelectFaction = $GER
SelectRegion = $Shanghai
CreateStruc
SetType = $Rice1
SetName = German Rice
Apply

SelectFaction = $USA
SelectRegion = $Shanghai
RemoveStructure = ByDefUID $Rice1;RANDOM;SINGLEFAC
SelectFaction = $GER
SelectRegion = $Shanghai
CreateStruc
SetType = $Rice1
SetName = German Rice
Apply

SelectFaction = $USA
SelectRegion = $Shanghai
RemoveStructure = ByDefUID $Tea2;RANDOM;SINGLEFAC
SelectFaction = $GER
SelectRegion = $Shanghai
CreateStruc
SetType = $Tea2
SetName = German Tea
Apply

SelectFaction = $USA
SelectRegion = $Shanghai
RemoveStructure = ByDefUID $Silk2;RANDOM;SINGLEFAC
SelectFaction = $GER
SelectRegion = $Shanghai
CreateStruc
SetType = $Silk2
SetName = German Silk
Apply

SelectFaction = $USA
SelectRegion = $Shanghai
RemoveStructure = ByDefUID $Silk2;RANDOM;SINGLEFAC
SelectFaction = $GER
SelectRegion = $Shanghai
CreateStruc
SetType = $Silk2
SetName = German Silk
Apply

SelectFaction = $USA
 ChangeResStock = $merDiplomat;-1
 SelectFaction = $CHI
 ChangeResStock = $merDiplomat;-1

EndEvent

User avatar
Citizen X
AGEod Veteran
Posts: 795
Joined: Tue Feb 02, 2010 1:34 pm

Mon Sep 30, 2013 8:07 pm

The following script revokes ownership of Cali goldmines, should Colombia have seized them.

Code: Select all

SelectFaction = $CMN
SelectRegion = $Constantinople
StartEvent = Reinstate ownership of Cali mines|1|1|NULL|NULL|$Cali|NULL
Actions
SelectFaction = $CLM
SelectRegion = $Cali
RemoveStructure = ByDefUID $Gold2;ALL;SINGLEFAC
SelectFaction = $TUR
SelectRegion = $Cali
CreateStruc
SetType = $Gold2
SetName = Ottoman Gold 1
Apply
CreateStruc
SetType = $Gold2
SetName = Ottoman Gold 2
Apply
EndEvent
"I am here already.", said the hedgehog to the hare.

User avatar
Citizen X
AGEod Veteran
Posts: 795
Joined: Tue Feb 02, 2010 1:34 pm

Mon Sep 30, 2013 8:08 pm

The following script revokes ownership of Kilikya wool ranches, should Turkey seize them.

Code: Select all

SelectFaction = $CMN
SelectRegion = $Constantinople
StartEvent = Kilikya wool ranches|1|1|NULL|NULL|$Kilikya|NULL
Actions
SelectFaction = $TUR
SelectRegion = $Kilikya
RemoveStructure = ByDefUID $Wool2;ALL;SINGLEFAC
SelectFaction = CLM
ChangeResStock = $merDiplomat;-1
SelectFaction = $CLM
SelectRegion = $Kilikya
CreateStruc
SetType = $Wool2
SetName = Rancho Colombiano Uno
Apply
CreateStruc
SetType = $Wool2
SetName = Rancho Colombiano Dos
Apply
CreateStruc
SetType = $Wool2
SetName = Rancho Colombiano Tres
Apply
EndEvent
"I am here already.", said the hedgehog to the hare.

User avatar
Jonathan Pollard
Major
Posts: 220
Joined: Mon May 26, 2008 4:01 am
Location: Federal Prison
Contact: Website

Thu Oct 03, 2013 7:05 pm

This script is to transfer two units of merchant ships from Austria to China. The first four lines of the actions section deducts a diplomat and kills any Austrian ships currently in Canton. I have already tested this script.

Code: Select all

SelectFaction = $CMN
SelectRegion = $Canton

StartEvent = Austrian merchant ships for China|1|1|NULL|NULL|$Canton|NULL

Actions
SelectFaction = $AUS
  ChangeResStock = $merDiplomat;-1
  SelectSubUnits = Region $Canton;FactionTags AUS;Domains $Naval
  AlterCuSubUnit = ApplytoList;Kill
SelectFaction = $CHI
ChangeResStock = $merDiplomat;-1
SelectRegion = $Canton
CreateGroup
Posture = $Defensive
SetKind = $Nav
Entranch = 0
InCS = 0
FixType = 0
SetName = Mercante2
Apply
CreateUnit
SetType = $uni_CHI_Riv2
SetLevel = 0
SetName = Mercante Europe
Apply
SetBuildFlag = 0
SetHealth = 100
SetCohesion = 100
CreateUnit
SetType = $uni_CHI_Riv2
SetLevel = 0
SetName = Mercante S. America
Apply
SetBuildFlag = 0
SetHealth = 100
SetCohesion = 100
EndEvent
"Two suspects are in FBI custody after a truckload of explosives was discovered around the George Washington Bridge...the FBI...says enough explosives were in the truck to do great damage to the George Washington Bridge." Dan Rather of CBS News, 9/11/2001

[SIGPIC][/SIGPIC]

User avatar
bjfagan
General of the Army
Posts: 631
Joined: Sun Dec 30, 2007 11:03 pm
Location: Los Angeles, USA

Fri Oct 11, 2013 8:53 pm

This script is not working. I am not sure if there is a problem with the script or if the real name for Memelland in the data files is different than what is displayed on the map.


Code: Select all

SelectFaction = $CMN
SelectRegion = $Brandenburg
StartEvent = Transfer of Ownership in Memelland Back to Russia - Revised|1|1|NULL|NULL|$Brandenburg|NULL

Actions

SelectFaction = $RUS
SelectRegion = $Memelland
  ChangeRgnOwner = GER

EndEvent

Boernes
Sergeant
Posts: 74
Joined: Tue Feb 28, 2012 11:18 am
Location: Central Europe

Fri Oct 11, 2013 9:19 pm

If its not the name of the region, then it is the nation tags being the wrong way around.

IIRC you first select the nation who controls the region, then you say which nation -should- control it

User avatar
Citizen X
AGEod Veteran
Posts: 795
Joined: Tue Feb 02, 2010 1:34 pm

Tue Oct 22, 2013 11:05 am

No diplomat is charged because it should have been part of the ingame peace offer.


Code: Select all

SelectFaction = $CMN
SelectRegion = $Constantinople
 StartEvent = French-Ottoman peace bailout |1|1|NULL|NULL|$Constantinople|NULL
Actions
SelectFaction = FRA
ChangeResStock = $merMoney;-2000
SelectFaction = TUR
ChangeResStock = $merMoney;2000
EndEvent
"I am here already.", said the hedgehog to the hare.

User avatar
Jim-NC
Posts: 2981
Joined: Wed Feb 25, 2009 4:21 pm
Location: Near Region 209, North Carolina

Wed Nov 27, 2013 4:18 am

Minor Contentment improvement (for Uruguay, Switzerland, and most of Central America + areas near South Africa and a few other areas). This script must be run no later either late Dec, or late Jun. That way the contentment will be changed in time for the next contentment check (check is late Jan and late Jul). Note, this will add points to the current contentment of the region (that is why they are at different levels). A region that has major strikes or rioting (and is at 0% contentment) generally moves to demonstrations, even with contentment at 55%.

SelectFaction = $CMN
SelectRegion = $Anglia
StartEvent = Minor_Contentment_Increase_1884|1|1|NULL|NULL|$Anglia|NULL
Conditions

Actions

SelectFaction = $HON
SelectRegion = $SAN PEDRO SULA
ChgPopContent = 55
SelectRegion = $TRUJILLO
ChgPopContent = 55
SelectRegion = $TEGUCIGALPA
ChgPopContent = 55

SelectFaction = $NIC
SelectRegion = $CORINTO
ChgPopContent = 55
SelectRegion = $MANAGUA
ChgPopContent = 55

SelectFaction = $COS
SelectRegion = $GUANACASTE
ChgPopContent = 55
SelectRegion = $LIMON
ChgPopContent = 55
SelectRegion = $SAN JOSE
ChgPopContent = 55

SelectFaction = $VEN
SelectRegion = $CORO
ChgPopContent = 30
SelectRegion = $CARACAS
ChgPopContent = 55

SelectFaction = $URU
SelectRegion = $RIVERA
ChgPopContent = 55
SelectRegion = $PAYSANDU
ChgPopContent = 55
SelectRegion = $COLONIA
ChgPopContent = 55
SelectRegion = $MONTEVIDEO
ChgPopContent = 55
SelectRegion = $BENTOS
ChgPopContent = 55

SelectFaction = $SWI
SelectRegion = $SVIZZERA
ChgPopContent = 55
SelectRegion = $SCHWEIZ
ChgPopContent = 55
SelectRegion = $SUISSE
ChgPopContent = 55

SelectFaction = $OFS
SelectRegion = $KIMBERLEY
ChgPopContent = 55
SelectRegion = $PHILIPPOLIS
ChgPopContent = 55
SelectRegion = $BLOEMFONTEIN
ChgPopContent = 55

SelectFaction = $TRV
SelectRegion = $KLERKSDORP
ChgPopContent = 55
SelectRegion = $WINBURG
ChgPopContent = 55
SelectRegion = $LYDENBURG
ChgPopContent = 55
SelectRegion = $MOSEGA
ChgPopContent = 55
SelectRegion = $THOBOYANDU
ChgPopContent = 55

EndEvent


PS - I don't know that I explained very well. This script will add points to the current contentment of the region. So if the region is at 0% contentment, then 0+55 = 55%. If the region is at 25% contentment, then 25+55=80%. If not careful, you can get values over 100% (which will cause an error, but set the contentment to 100% for the region.
Remember - The beatings will continue until morale improves.

[SIGPIC][/SIGPIC]

User avatar
Citizen X
AGEod Veteran
Posts: 795
Joined: Tue Feb 02, 2010 1:34 pm

Italy sells Lybia to Austria

Mon Jan 13, 2014 10:59 pm

SelectFaction = $CMN
SelectRegion = $Tripolitania
StartEvent = Italy sells Lybia|1|1|NULL|NULL|$Tripolitania|NULL
Actions
SelectFaction = $ITA
ChangeResStock = $merDiplomat;-1
SelectFaction = $AUS
ChangeResStock = $merDiplomat;-1

//Austria recieves Lybia as Colony

SelectRegion = $Tripolitania
ChangeRgnOwner = $ITA
SelectRegion = $Misurata
ChangeRgnOwner = $ITA
SelectRegion = $Sirt
ChangeRgnOwner = $ITA
SelectRegion = $Amal
ChangeRgnOwner = $ITA
SelectRegion = $Benghazi
ChangeRgnOwner = $ITA
SelectRegion = $Cyrenaica
ChangeRgnOwner = $ITA
SelectRegion = $Salloum
ChangeRgnOwner = $ITA
SetColStatus = $Tripolitania;2

// Ottoman CP reset to roughly original values

SelectFaction = $TUR
SelectRegion = $Benghazi
SetColonialPen = 50
SelectRegion = $Cyrenaica
SetColonialPen = 50
SelectRegion = $Salloum
SetColonialPen = 50
EndEvent
"I am here already.", said the hedgehog to the hare.

User avatar
Jim-NC
Posts: 2981
Joined: Wed Feb 25, 2009 4:21 pm
Location: Near Region 209, North Carolina

Thu Feb 27, 2014 3:08 am

Here is the script to end the Austro-Montenegrin war, with the diplomat charge.

SelectFaction = $AUS
SelectRegion = $Montenegro
StartEvent = evt_nam_End_of_War_Austria_vs_Montenegro|1|1|eNULL|NULL|$Kabul|NULL

Conditions

Actions
SelectFaction = $AUS
SelectRegion = $Montenegro

SelectRegion = $Montenegro
ChangeRgnOwner = MON
SetControl = 100

SelectFaction = $AUS
SettleWhitePeace = MON

SelectFaction = $AUS
ChangeResStock = $merDiplomat;-1

EndEvent
Remember - The beatings will continue until morale improves.

[SIGPIC][/SIGPIC]

Return to “PON Conflict in Europe - Redux”

Who is online

Users browsing this forum: No registered users and 4 guests