 
======================================
* Methods used in <expression> block *
======================================

METHOD:
Commander.GetLevel (int CommanderID)

DESCRIPTION:
Returns level of commander with given ID


===========================================================================
METHOD:
Country.GetAlliance (int CountryID)

DESCRIPTION:
Returns Alliance of country with given ID. Possible returned values are:
0 - neutral country, 
1 - member of Allies, 
2 - member of Axis, 
3 - member of Comintern, 
4 - leader of Allies, 
5 - leader of Axis, 
6 - leader of Comintern


===========================================================================

METHOD:
Country.GetAllianceEntry (int CountryID)

DESCRIPTION:
Returns Alliance Entry of given country


===========================================================================

METHOD:
Country.GetDiplomaticPoints (int CountryID)

DESCRIPTION:
Returns Diplomatic Points of given country


===========================================================================

METHOD:
Country.GetPoliticalStrength (int CountryID)

DESCRIPTION:
Returns Political Strength of given country


===========================================================================

METHOD:
Country.GetProductionPoints (int CountryID)

DESCRIPTION:
Returns Production Points of given country


===========================================================================

METHOD:
Country.GetSocialUnrest (int CountryID)

DESCRIPTION:
Returns Social Unrest of given country


===========================================================================

METHOD:
Country.GetStrategicMovementPoints (int CountryID)

DESCRIPTION:
Returns SMP of given country.


===========================================================================

METHOD:
Country.GetWarEconomy (int CountryID)

DESCRIPTION:
Returns War Economy level of given country (0 to 100)


===========================================================================

METHOD:
Country.HasWarWithCountry (int Country1ID, int Country2ID)

DESCRIPTION:
Returns 1 if there is a war between two given countries, and 0 if there is peace.


===========================================================================

METHOD:
Country.IsActive (int CountryID)

DESCRIPTION:
Returns if given country is active (countries that surrendered become inactive)


===========================================================================

METHOD:
Country.IsAIControlled (int CountryID)

DESCRIPTION:
Returns 1 if given country is controlled by AI, 0 if it is controlled by human.


===========================================================================

METHOD:
Country.IsAtWar (int CountryID)

DESCRIPTION:
Returns 1 if given country is at war with any other country. Otherwise 0 is returned.


===========================================================================

METHOD:
Flag.GetValue (int FlagID)

DESCRIPTION:
Returns the value of given flag. There are 20000 flags available to use. Values of the flags are of integer type.
For new events added to scenario it is recommended to use flags with IDs different from events_list file.


===========================================================================

METHOD:
Hex.ControlledByAliance (int X, int Y, int allianceID)

DESCRIPTION:
Returns 1 if hex at coordinates (X,Y) is controlled by given alliance. 
Allowable allianceID values: 1=allied, 2=axis, 3=comintern


===========================================================================

METHOD:
System.GetRandomNumber (int minRange, int maxRange)

DESCRIPTION:
Returns a random number from given range. MaxRange should not exceed 2^16


===========================================================================

METHOD:
Hex.Occupied (int hexX, int hexY)

DESCRIPTION:
Returns 1 if hex with given coordinates is occupied by a unit (land or air), otherwise returns 0.


===========================================================================

METHOD:
Hex.OccupiedAndControlledByAlliance (int hexX, int hexY, int allianceID)

DESCRIPTION:
Returns 1 if hex with given coordinates is both controlled by given alliance and occupied by a unit (land or air).
Otherwise 0 is returned.
Allowable allianceID values: 1=allied, 2=axis, 3=comintern


===========================================================================

METHOD:
Country.GetUnitPurchasePreferences (int countryID, int unitType)

DESCRIPTION:
Returns purchase preference value of given country given unit type.


===========================================================================

METHOD:
Hex.ControlledByCountry (int X, int Y, int countryID)

DESCRIPTION:
Returns 1 if hex at coordinates (X,Y) is controlled by given country.


===========================================================================

METHOD:
Country.GetMaxNumberOfFrontsForSeaInvasion (int countryID, int value)

DESCRIPTION:
Returns 1 if value is correct.


===========================================================================

METHOD:
Country.GetSTP (int countryID, int STP)

DESCRIPTION:
Returns 1 if value is correct.


===========================================================================

METHOD:
Country.GetAIP (int countryID, int AIP)

DESCRIPTION:
Returns 1 if value is correct.


===========================================================================

METHOD:
Country.GetMudBattle (int countryID, int Value)

DESCRIPTION:
Returns 1 if value is correct.


===========================================================================

METHOD:
Country.GetMudMove (int countryID, int Value)

DESCRIPTION:
Returns 1 if value is correct.


===========================================================================

METHOD:
Country.GetWinterBattle (int countryID, int Value)

DESCRIPTION:
Returns 1 if value is correct.


===========================================================================

METHOD:
Country.GetWinterMove (int countryID, int Value)

DESCRIPTION:
Returns 1 if value is correct.


===========================================================================

METHOD:
AI.IsSeaZonePatrolled (int countryID, int SeaZone, int PatrolType)

DESCRIPTION:
Returns 1 if value is correct, which means that country is patrolling (0 for regular fleet and 1 for raiders) sea zone.


===========================================================================

METHOD:
Country.GetTechInvestment (int countryID, int TechType, int Value)

DESCRIPTION:
Checks tech investment of given tech type type for given country.


===========================================================================

METHOD:
Country.GetTechResearchProgress (int countryID, int TechType, int Value)

DESCRIPTION:
Checks tech research progress of given tech type for given country.


===========================================================================

METHOD:
Country.GetTechLevel (int countryID, int TechType, int Value)

DESCRIPTION:
Checks tech level of given tech type for given country.


===========================================================================

METHOD:
Country.GetZoneOfInfluence (int countryID,)

DESCRIPTION:
Checks zone of influence for given country.


===========================================================================

METHOD:
Country.GetOrientation (int countryID,)

DESCRIPTION:
Checks orientation for given country.


===========================================================================

METHOD:
Country.GetShipsAmountInSeaZone (countryID, zoneID, shipType)

DESCRIPTION:
Checks how many given country in given seazone possess navy groups.

===========================================================================














          
--------------------------          
--------------------------
==========================
*Methods used in <effect>*
==========================
--------------------------






METHOD:
AI.AddCountryToPress (int countryID, int IdOfCountryToAdd)

DESCRIPTION:
Adds information about country to exert pressure on for AI of given country. 

EXAMPLE:
AI.AddCountryToPress (2, 26) means that AI of Germany (ID=2) should try to exert pressure on Romania (ID=26)

===========================================================================

METHOD:
AI.AddInvasionTarget (int countryID, int cityX, int cityY, int invasionStregth)

DESCRIPTION:
Adds new _land_ invasion target for AI of given country. Invasion target must be a city, hence parameters are
coordinates (cityX,cityY). City owner should be neutral and the city itself should be a border city. 
Last parameter tells AI how much strength to concentrate for invasion. Setting this to -1 means 'concentrate
as much strength as possible'. AI of given country can have multiple invasion targets.

EXAMPLE:
AI.AddCountryToPress (2, 134, 110, -1) means that AI of Germany (ID=2) should concentrate in order to
invade Yugoslavia (because hex (134,110) is Yugoslavian city of Lublana). Last parameter tells that there
is no limit of strength to concentrate on border near Lublana. 

===========================================================================

METHOD:
AI.RemoveInvasionTarget (int countryID, int cityX, int cityY)

DESCRIPTION:
Removes new _land_ invasion target for AI of given country. Invasion target must be a city, hence parameters are
coordinates (cityX,cityY). City owner should be neutral and the city itself should be a border city. 

===========================================================================

METHOD:
AI.AddDoNotAttackCity (int CountryID, int cityX, int cityY)

DESCRIPTION
Adds city at given coordinates to the list of cities that given country's AI would not attack. 
If there is no city at given coordinates or the city is not on the do-not-attack list for AI, 
nothing happens. List of cities that AI should not attack is defined in ai_data.csv file.

===========================================================================

METHOD:
AI.RemoveDoNotAttackCity (int CountryID, int cityX, int cityY)

DESCRIPTION
Removes city at given coordinates from the list of cities that given country's AI would not attack. 
If there is no city at given coordinates or the city is not on the do-not-attack list for AI, 
nothing happens. List of cities that AI should not attack is defined in ai_data.csv file.

===========================================================================

METHOD:
AI.SetDesiredStrategicMovementPoints (int CountryID, int desiredSMP)

DESCRIPTION:
Sets desired SMP level for AI of given country. AI wont purchase any new units until it purchases SMP up to the
desired level.

===========================================================================

METHOD:
AI.SetDesiredTechLevel (int countryID, int techID, int desiredLevel)

DESCRIPTION:
Sets desired level of given technology for AI of given country. Only when desired tech level is greater than
current level AI will spend PP on respective research field, so this method is very important, in fact, using 
it is the only way to make the AI do any research! Current levels of technology can be checked in countries.csv
while desired levels of techs are in ai_data.csv.

techID parameters:
0: artillery
1: tanks
2: not used anymore...
3: combat aircrafts
4: submarines
5: naval units
6: nuclear weapons

Using techID out of 0 to 6 range is not handled and will result in game crash when firing event.

===========================================================================

METHOD:
AI.SetMakesSeaInvasionsParameter (int CountryID, int Value)

DESCRIPTION
Sets MakesSeaInvasion parameter for AI of given country. Value set to 0 means that country will not plan 
and execute sea invasions. Any other value means that it will.

===========================================================================

METHOD:
City.SetProductionPoints (int cityX, cityY, float PPValue)

DESCRIPTION:
Sets Production Points in city at given coordinates. If no city exists at given coords, nothing happens. Do not
set Production Points to negative value.


===========================================================================

METHOD:
City.ChangeProductionPoints (int cityX, cityY, float change)

DESCRIPTION:
Changes Production Points in city at given coordinates by given value. If no city exists at given coords
nothing happens. Be careful while decreasing Production Points: it is advised that PP in a city should be >=0.

===========================================================================

METHOD:
Country.ChangeAllianceEntry (int countryID, int change)

DESCRIPTION:
Changes Alliance Entry of given Country by given value. If Alliance entry exceeds 100 country joins alliance
automatically (no further operations needed)

===========================================================================

METHOD:
Country.ChangeDiplomaticPoints (int countryID, int change)

DESCRIPTION:
Changes DP of given Country by given value. 

===========================================================================

METHOD:
Country.ChangeOwnershipOfAllNavalUnits (int countryID, int newOwnerCountryID)

DESCRIPTION
Changes ownership of all fleets & naval units of given country to a new owner. 
This includes transports and amphibias!

===========================================================================

METHOD:
Country.ChangeProductionPoints (int countryID, int change)

DESCRIPTION:
Changes PP of given Country by given value. 

===========================================================================

METHOD:
Country.ChangePoliticalStrength (int countryID, int change)

DESCRIPTION:
Changes Political Strength of given Country by given value. 

===========================================================================

METHOD:
Country.ChangeSocialUnrest (int countryID, int change)

DESCRIPTION:
Changes Social Unrest of given Country by given value. 

===========================================================================

METHOD:
Country.ChangeWarEconomy (int countryID, int change)

DESCRIPTION:
Changes War Economy of given Country by given value. 

===========================================================================

METHOD:
Country.DeclareWarOnCountry (int countryID, int targetCountryID)

DESCRIPTION:
Country with given ID declares war on target country. All game rules needed to declare such war must be met
otherwise event will do nothing. There is one exception however: declaring war by this method does not
require any Diplomatic Points.

===========================================================================

METHOD:
Country.KillAllAirUnits (int countryID)

DESCRIPTION
Deletes immediately all air units of given country that are on map. Use Country.KillAllUnitsInReserve to
delete all units in reserve.

===========================================================================

METHOD:
Country.KillAllLandUnits (int countryID)

DESCRIPTION
Deletes immediately all land units of given country. This includes land units on map and
being carried by transports/amphibs. Use Country.KillAllUnitsInReserve to
delete all units in reserve.

===========================================================================

METHOD:
Country.KillAllUnitsInReserve (int countryID)

DESCRIPTION
Deletes all units (land and air) in reserve for given country.

===========================================================================

METHOD:
Country.SetActive (int countryID, int activeFlag)

DESCRIPTION
Sets if the country is active or not. ActiveFlag==0 means country is inactive, 1 = active. 
Countries are by default deactivated when they surrender. Deactivating manually from event
must be done carefully! Example of deactivating country is Vichy France event.

===========================================================================

METHOD:
Country.SetAllianceEntry (int countryID, int value)

DESCRIPTION:
Sets Alliance Entry of given Country to a given value. If Alliance entry is set to 100, country joins alliance
automatically (no further operations needed)

===========================================================================

METHOD:
Country.SetDiplomaticPoints (int countryID, int value)

DESCRIPTION:
Sets DP of given Country to a given value. 

===========================================================================

METHOD:
Country.SetFreezeLevelForAllFreezedUnits (int countryID, int value)

DESCRIPTION:
Sets Freeze level (number of turns unit should remain freezed) for freezed units of given country to a given
value. Setting freeze level to 10000 will be displayed to player as "permanent" freeze. Note that this 
method does not affect un-freezed units.

===========================================================================

METHOD:
Country.SetProductionPoints (int countryID, int value)

DESCRIPTION:
Sets PP of given Country to a given value. 

===========================================================================

METHOD:
Country.SetPoliticalStrength (int countryID, int value)

DESCRIPTION:
Sets Political Strength of given Country to a given value. 

===========================================================================

METHOD:
Country.SetSocialUnrest (int countryID, int value)

DESCRIPTION:
Sets Social Unrest of given Country to a given value. 

===========================================================================

METHOD:
Country.SetWarEconomy (int countryID, int value)

DESCRIPTION:
Sets War Economy of given Country to a given value. 

===========================================================================

METHOD:
Country.UnFreezeAllUnits (int countryID)

DESCRIPTION:
Un-freezes all units of given country.  

===========================================================================

METHOD
Commander.ChangeLevel

NOT IMPLEMENTED

===========================================================================

METHOD
Commander.SetLevel

NOT IMPLEMENTED

===========================================================================

METHOD:
Flag.ChangeValue (int flagID, int change)

DESCRIPTION:
Changes value of given flag by given value.  

===========================================================================

METHOD:
Flag.SetValue (int flagID, int value)

DESCRIPTION:
Sets value of given flag.  

===========================================================================

METHOD:
Hex.SetFortLevel (int x, int y, int newLevel)

DESCRIPTION:
Sets fortification level of given hex. Be careful, range is not checked, so entering incorrect hex coordinates 
will cause game to crash. Fort level should be in range from 0 (no fortification) to 9 (max fortification).

===========================================================================

METHOD:
HexStripe.ChangeControllerAndOwner (int hexX, int hexY, int stripeHeight, int newOwnerID)

DESCRIPTION: 
This method changes controller and owner of a vertical hex stripe, beginning from hex 
with coordinates (hexX, hexY). Hex stripe height is specified by third parameter 
(stripeHeight), hexes are changed from start hex going south. Owner and Controller
of hex is changed to a country specified with 4th parameter (newOwnerID). Additional
effect: each unit not owned by specified country or its allies and standing on
changed hex is automatically transferred to its owner's reserve pool. 

EXAMPLE:
<effect method="HexStripe.ChangeControllerAndOwner" param1="10" param2="24" param3="3" param4="7" />
Three hexes: (10,24) (10,25) and (10,26) will change their owner and controller to
country with id=7.

===========================================================================

METHOD:
HexStripe.ChangeControllerOwnerAndOriginalOwner (int hexX, int hexY, int stripeHeight, int newOwnerID)

DESCRIPTION:
Identical to HexStripe.ChangeControllerAndOwner but this one also changes original owner of hex stripe.

===========================================================================

METHOD:
Unit.Teleport (int sourceX, int sourceY, int destinationX, int destinationY)

DESCRIPTION:
This method teleports unit from hex (sourceX,sourceY) to (destinationX,destinationY). If no unit 
is present at source hex or destination hex is occupied - nothing happens. NOTE: teleportation does not 
check who controls destination hex and after unit is teleported destination hex controller remains unchanged!

===========================================================================


METHOD:
Unit.Unfreeze (int unitX, int unitY)

DESCRIPTION
Un-freezes unit at given coordinates. If no unit is present at given coordinates or present unit is 
not freezed - nothing happens.

===========================================================================


METHOD:
Hex.KillUnit (int hexX, int hexY)

DESCRIPTION
Kills the unit that occupies hex with given coordinates. If no unit is present on the hex - nothing happens. If 
the coordinates are out of range, game will crash, so be careful.
===========================================================================

METHOD:
Country.ChangeEffectivityOfAllUnits (int countryID, int allianceID, int changeValue)

DESCRIPTION
Changes the effectivity of all units of given alliance (Allowable allianceID values: 1=axis, 2=allied, 3=comintern, 4=neutrals) in the area ORIGINALLY controlled by given country (countryID) to the end of the next turn. ChangeValue is a percentage change it may be positive (increased eff.) or negative. 

EXAMPLE:
Country.ChangeEffectivityOfAllUnits (3, 1, -35)

This will decrease the effectivity of all axis units on the territory that was originally owned by USSR.

===========================================================================

METHOD:
Area.ChangeEffectivityOfAllUnits (int topLeftX, int topLeftY, int bottomRightX, int bottomRightY, int allianceID, int changeValue)

DESCRIPTION:
Changes the effectivity of all units of given alliance (Allowable allianceID values: 1=axis, 2=allied, 3=comintern, 4=neutrals) in the rectangle area set by (topLeftX, topleftY)-(bottomRightX,bottomRightY) to the end of the next turn. ChangeValue is a percentage change it may be positive (increased eff.) or negative. 



===========================================================================

METHOD:
Country.AddConvoy (int countryID, int convoyType, int value, int departurePortX, int departurePortY, int targetPortX, int targetPortY)

DESCRIPTION:
Adds a convoy of given type for given country. Set ConvoyType parameter to 0 for supply convoy, and 1 for resource convoy. If convoy is a resource convoy, use value parameter to set an amount of PP sent otherwise value parameter can have any value. Set both departure and target port coordinates, if these coordinates are incorrect convoy won't be executed, if they are out of range, game will crash.

EXAMPLE:
Country.AddConvoy (53, 1, 50, 7, 78, 205, 4) will create a resource convoy for USA, from New York (7,78) to Archangelsk (205,4) carrying 50 PP. 


============================

METHOD:
Hex.AddLandUnit (int hexX, int hexY, int countryID, int unitType, int unitLevel, int unitStrength, string name)

DESCRIPTION:
Adds a land unit to pointed hex or to unit pool (if hexX and hexY == -1) for given country with given type, level, strength and name.


============================

METHOD:
Hex.AddMulberry (int countryID, int hexX, int hexY, string name)

DESCRIPTION:
Adds a mulberry unit for given country to pointed hex, with a specific name


============================

METHOD:
Country.NewUnitPurchasePreferences (int countryID, int unitType, intWeight)

DESCRIPTION:
Changes purchase preference of given country for given unit type to given weight value.


============================

METHOD:
Hex.AddNavalUnit (int countryID, string name, int unitType)

DESCRIPTION:
Adds a naval unit for given country with given name and type.


============================

METHOD:
Hex.AddAirUnit (int countryID, int hexX, int hexY, int unitType, int unitLevel, int unitStrength, string name)

DESCRIPTION:
Adds an air unit for given country to pointed hex or to unit pool (if hexX and hexY == -1) with given type, level, strength and name.


============================

METHOD:
AI.AddExtraCityToGarrison (int countryID, int cityX, int cityY)

DESCRIPTION:
Add city that should be garrisoned by AI of given country.  


===========================================================================

METHOD:
AI.SetMaxNumberOfFrontsForSeaInvasion (int countryID, int value )

DESCRIPTION:
Sets number of fronts when AI will plan invasion.  


===========================================================================

METHOD:
Country.ChangeSTP (int countryID, int value )

DESCRIPTION:
Changes STP value by given amount.  


===========================================================================

METHOD:
Country.ChangeAIP (int countryID, int value )

DESCRIPTION:
Changes AIP value by given amount.  


===========================================================================

METHOD:
AI.AddSeaZoneToPatrolList (int countryID, int SeaZone, int PatrolType )

DESCRIPTION:
Adds sea zone to be patrolled as regular fleet (0) or raider (1).  


===========================================================================

METHOD:
AI.RemoveSeaZoneToPatrolList (int countryID, int SeaZone, int PatrolType )

DESCRIPTION:
Removes sea zone from patrolling list as regular fleet (0) or raider (1).  


===========================================================================

METHOD:
Country.SetTechInvestment (int countryID, int TechType, int Value)

DESCRIPTION:
Sets tech investment of given type for give country.


===========================================================================

METHOD:
Country.SetWinterBattle (int countryID, int Value)

DESCRIPTION:
Sets winter battle modifier for specific country by given amount.


===========================================================================

METHOD:
Country.SetWinterMove (int countryID, int Value)

DESCRIPTION:
Sets winter movement modifier for specific country by given amount.


===========================================================================

METHOD:
Country.SetMudBattle (int countryID, int Value)

DESCRIPTION:
Sets mud battle modifier for specific country by given amount.


===========================================================================

METHOD:
Country.SetMudMove (int countryID, int Value)

DESCRIPTION:
Sets mud movement modifier for specific country by given amount.


===========================================================================

METHOD:
Country.SetTechResearchProgress (int countryID, int TechType, int Value)

DESCRIPTION:
Sets tech research progress of given tech type for given country.


===========================================================================

METHOD:
Country.SetTechLevel (int countryID, int TechType, int Value)

DESCRIPTION:
Sets tech level of given tech type for given country.


===========================================================================

METHOD:
Country.ChangeTechLevel (int countryID, int TechType, int Value)

DESCRIPTION:
Changes tech level of given tech type for given country by given value.


===========================================================================

METHOD:
Country.MakePeace (int countryID, int GiveTerrain)

DESCRIPTION:
Given country finish all wars, and can secede all lost terrains to conquerors (0/1 for no/yes).


===========================================================================

METHOD:
Country.SetZoneOfInfluence (int countryID, int zone)

DESCRIPTION:
Sets zone of influence for given country. Possible choices are: 0 - none, 1 - Allies, 2 - Axis, 3 - Commitern.


===========================================================================

METHOD:
Country.SetOrientation (int countryID, int orient)

DESCRIPTION:
Sets orientation for given country. Possible choices are: 0 - Firm Democracy, 1 - Axis Regime, 2 - Communists Regime, 3 - Pro Allied, 4 - Pro Axis, 5 - Pro Communists.


===========================================================================

METHOD:
Country.RemoveConvoy (int countryID, int convoyType, int departurePortX, int departurePortY, int targetPortX, int targetPortY)

DESCRIPTION:
Removes a convoy of given type for given country. Set both departure and target port coordinates, if these coordinates are incorrect convoy won't be deleted if they are out of range, game will crash.


===========================================================================

METHOD:
AI.RemoveInvasionTarget (int countryID, int cityX, int cityY)

DESCRIPTION:
Removes invasion target for AI of given country. Invasion target must be a city, hence parameters are coordinates (cityX,cityY). City owner should be neutral and the city itself should be a border city and it should be already add to ai_data.


===========================================================================

METHOD:
AI.AddPortForObligatoryInvasion (int countryID, int portX, int portY, int pushFront)

DESCRIPTION
Adds city to a list of possible sea invasion targets. . Take a note that AI will make this invasion only if it's calculates there is nothing else better to invade. Last parameter tells should the port be added as first (1) or as last (0) to the list.


===========================================================================

METHOD:
AI.RemovePortForObligatoryInvasion (int CountryID, int cityX, int cityY)

DESCRIPTION
Removes city from a list of possible sea invasion targets.


===========================================================================

METHOD:
AI.TransportUnitsToFrontsBySea (int CountryID, int value)

DESCRIPTION
Allows AI country to transport units to fronts or not (0 for no, 1 for yes).


===========================================================================

METHOD:
Unit.Freeze (int unitX, int unitY, intTurns)

DESCRIPTION
Freezes unit at given coordinates for given number of turns. If no unit is present at given coordinates nothing happens.


===========================================================================

METHOD:
Hex.ChangeFortLevel (int x, int y, int Level)

DESCRIPTION:
Changes fortification level of given hex. 


===========================================================================

METHOD:
City.SetType (int cityX, cityY, int type)

DESCRIPTION:
Changes type of the city. 0 - Main Supply Source; 1 - city; 2 - MSS with port; 3 - port; 4 - resources


===========================================================================

METHOD:
Hex.AddUnitAndPassControlOverHexIfEmpty (int hexX, int hexY, int countryID, int unitType, int unitLevel, int unitStrength, name)

DESCRIPTION:
Adds a land unit to pointed hex for given country with given type, level, strength and name.
If at hex already other unit is presented, nothing happens
If hex is controlled by other country then a control over hex goes to countryID


===========================================================================

METHOD:
AI.SetMultipleSideAttackPreferences (int countryID, int 1, int 2, int 3)

DESCRIPTION:
Changes multiple side attack preferences for given country


===========================================================================

METHOD:
AI.SetOneSideAttackPreferences (int countryID, int 1, int 2, int 3)

DESCRIPTION:
Changes one side attack preferences for given country


===========================================================================

METHOD:
Country.ChangeTerritoryControllerOwnerAndOriginalOwner(idOldOwner, idNewOwner)

DESCRIPTION:
Secedes all terrain (all hexes) from given country to given country


===========================================================================

METHOD:
City.FirePartisans(int cityX, int cityY, int countryID, int unitType, int unitLevel, int unitStrength, name)

DESCRIPTION:
Deploys a unit of a given country up to five hexes from given city


===========================================================================

METHOD:
Unit.FreezeIfOwnedByCountry (int hexx, int hexy, int turns, id owner)

DESCRIPTION:
Freezes for a given amount of turn a unit on a given hex if it's owned by given country


===========================================================================

METHOD:
Country.ChangeSMP (Country ID, int Value)

DESCRIPTION:
Changes SMP of given country by given value










