Due to a sudden burst in spammer activity, account creation has been temporarily disabled. Sorry for the inconvenience to any new potential contributors.

AddDiploItem

From AGEWiki

(Difference between revisions)
Jump to: navigation, search
m (format)
 
Line 9: Line 9:
  BE WARNED: that the command doesn't handle 'high logic', i.e if you set a peace,
  BE WARNED: that the command doesn't handle 'high logic', i.e if you set a peace,
  you must remove war AND that it is possible to have duplicates (i.e adding twice
  you must remove war AND that it is possible to have duplicates (i.e adding twice
-
  the same peace, theoretically). To force a peace while triggering all in game effects and constraints, use instead [[SettleWhitePeace]].
+
  the same peace, theoretically). To force a peace while triggering all in-game
 +
effects and constraints, use instead [[SettleWhitePeace]].
:DIDefUID must be taken from the aliases listed in '''dpl_alias.ini'''
:DIDefUID must be taken from the aliases listed in '''dpl_alias.ini'''

Latest revision as of 12:25, 25 July 2012

AddDiploItem

Syntax  

AddDiploItem = TargetFac; DIDefUID [; StartDate yyyy/mm/dd][;Warscore]

Description

Activate a new Diplomatic Item.

Advanced Diplomacy only (VGN)
BE WARNED: that the command doesn't handle 'high logic', i.e if you set a peace,
you must remove war AND that it is possible to have duplicates (i.e adding twice
the same peace, theoretically). To force a peace while triggering all in-game
effects and constraints, use instead SettleWhitePeace.
DIDefUID must be taken from the aliases listed in dpl_alias.ini



 

Parameters

TargetFac

Faction to be affected

Must be given even if it is self
DIDefUID

Alias of the Diplomatic Item

StartDate

yyyy/mm/dd

Optional
Date the item is activated (or CURRENT for current date)
Warscore

Optional parameter, if you are scripting a war diplomatic item (date is mandatory in this case). This is the WarScore that the "owning" faction has on the "target" faction that is specified by <TargetFac>.

Forums