SLIC-Reference : Functions : Diplomacy : Action
CTP2 Bureau
The Modding
Knowledgebase
WePlayCiv: CtP2 Downloads
WePlayCiv: Call To Power forum
Apolyton Call To Power forums
Civilization Fanatics: Call To Power

SLIC-Reference : Functions : Diplomacy : Action

Entries:

- CTP1 - messages only
- CTP2 - can be triggered (events)
- CTP2 Apolyton Edition  
  - tested
- broken, obsolete - working

Accept void     Accepts the diplomatic request associated with this message
BreakAgreement (agreement_index) void   Break a diplomatic agreement which is set in the context - obviously unimplemented in CTP2 AE
BreakAlliance (player) void   Break an alliance between the current player and the specified player
BreakLeaveOurLands void   Break a stop trespassing agreement between player.1 and player.2
BreakNoPiracy void   Break a no piracy agreement between player.1 and player.2
CancelAgreement (player1, player2, int-agreement) int   Same as break agreement?
ChangeDiplomaticState (player1, player2) void       Actually changes diplomatic state according to consideration (ConsiderDiplomaticState)
ChangeGlobalRegard (player, delta, explain_id[, duration]) void   Change the players global regard by delta
ChangeRegardLevel (player1, (delta)level, player2) void     Unimplemented according to the original documentation - supposed to change player 1's regard level toward player 2 by (delta)level
ConsiderDiplomaticState (player1, player2, priority, diplostate, spystr_id, advicestr_id, newsstr_id) void       Player 1 considers his diplomatic state towards player 2 from DiplomacyDB-index with given priority
ConsiderMotivation (player, priority, type[, player|unit|advance]) void   Makes the player consider a motivation with given priority - type is a MOTIVATION_TYPE (valid values: see source). Certain MOTIVATION_TYPEs require additional parameters: player, advance or unit.
ConsiderNewProposal (player1, player2, priority, first_type, second_type, strid1, strid2, strid3) void       Makes first player consider sending a proposal of the given type with the given priority to second player - additional parameters may be needed depending on proposal type
ConsiderResponse (player1, player2, priority, response_type[, optional_parameters_see_source]) void       Makes player 1 consider the response indicated by type with the given priority - optional parameters allow for adding of counter proposals or threats
DeclareWar (player, foreigner) void   Player declares war upon foreigner
DemandWarFromAllies (demandingplayer, againstplayer) void   Send a diplomatic request demanding that all allies of demanding player declare war on againstplayer
ForceRegard (ofPlayer, forPlayer, toRegard) void   Force the regard ofPlayer forPlayer toRegard - obviously unimplemented in CTP2 AE
RecomputeRegard (player) void   Recomputes regard of player towards all other players?
Reject void   Reject a diplomatic request from the context
SetEmbargo (player, foreigner, state) void   Toggle player to have an embargo against foreigner using 1 = on, 0 = off - actually this will threaten to set an embargo
SetNewProposal (player1, player2, priority, first_type, second_type, strid1, strid2, strid3) void   As ConsiderNewProposal, probably doesn't make the first player just consider sending the proposal but send it immediately?
SetResponse (player1, player2, priority, response_type[, optional_parameters_see_source]) void   As ConsiderResponse (but priority should be set to 0 ?)
SetTrust (player1, player2) void   Sets first player's trust towards second player to int (which normally should be 0 <= int <= 1000)
Surrender (player) void   Unimplemented according to the original documentation

Latest update: 24.11.2010  ( - recently updated)
  Administration
This site is currently maintained by: BureauBert (Webmaster)  Maquiladora (Manager)  Legal Notice: Legal Notice Statistics: 71623 unique users since 02.05.2004 (» Site Statistics) Hosted by: WebhostOne
Share this page:  VK Facebook Twitter LiveJournal OK MR Google+ LinkedIn tumblr Pinterest Blogger Digg Evernote