Freeciv

Editing

Editing Effects

1
  • The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit. If you are undoing an edit that is …
Latest revision Your text
Line 67: Line 67:
 
}
 
}
 
</pre>
 
</pre>
  +
  +
===Requirement Types===
  +
:Requirement Type may be one of:
  +
{|style="margin: auto;" cellpadding="4"
  +
|-bgcolor="#e0f0f0"
  +
!bgcolor="#9bc3d1"|Requirement ''type''
  +
!width="35%" bgcolor="#9bc3d1"|Supported Ranges
  +
!width="35%" bgcolor="#9bc3d1"|Explanation
  +
|-valign="top" bgcolor="#e0f0f0"
  +
|'''"None"'''
  +
|align="left"|
  +
|align="left"|(default)
  +
|-valign="top" bgcolor="#e0f0f0"
  +
|'''"Special"'''<br />{{info}}Replaced by "Extra" in 2.6
  +
|align="left"|???
  +
|align="left"|
  +
|-valign="top" bgcolor="#e0f0f0"
  +
|'''"Building"'''
  +
|align="left"|World, Alliance, Team, Player, Continent, Traderoute, City, Local
  +
|align="left"|
  +
|-valign="top" bgcolor="#e0f0f0"
  +
|'''"Gov"'''
  +
|align="left"|Player
  +
|align="left"|
  +
|-valign="top" bgcolor="#e0f0f0"
  +
|'''"MinSize"'''
  +
|align="left"|Traderoute, City
  +
|align="left"|Minimum size of a city required.
  +
|-valign="top" bgcolor="#e0f0f0"
  +
|'''"Nation"'''
  +
|align="left"|World, Alliance, Team, Player
  +
|align="left"|
  +
|-valign="top" bgcolor="#e0f0f0"
  +
|'''"OutputType"'''
  +
|align="left"|Local
  +
|align="left"|
  +
|-valign="top" bgcolor="#e0f0f0"
  +
|'''"Tech"'''
  +
|align="left"|World, Alliance, Team, Player
  +
|align="left"|
  +
|-valign="top" bgcolor="#e0f0f0"
  +
|'''"Terrain"'''
  +
|align="left"|Local, Adjacent, CAdjacent, Traderoute, City
  +
|align="left"|
  +
|-valign="top" bgcolor="#e0f0f0"
  +
|'''"UnitClass"'''
  +
|align="left"|Local
  +
|align="left"|Effect Types "Veteran_Combat" and "Defend_Bonus" only. "Defend_Bonus" evaluates Attacker only.
  +
|-valign="top" bgcolor="#e0f0f0"
  +
|'''"UnitFlag"'''
  +
|align="left"|Local
  +
|align="left"|Effect Types "Veteran_Combat" and "Defend_Bonus" only. "Defend_Bonus" evaluates Attacker only.
  +
|-valign="top" bgcolor="#e0f0f0"
  +
|'''"UnitType"'''
  +
|align="left"|Local
  +
|align="left"|Effect Types "Veteran_Combat" and "Defend_Bonus" only. "Defend_Bonus" evaluates Attacker only.
  +
|-valign="top" bgcolor="#e0f0f0"
  +
|align="center" bgcolor="#9bc3d1"|'''Requirement ''type'''''
  +
|align="center" bgcolor="#9bc3d1"|'''Supported Ranges'''<br />{{info}} '''New in 2.?'''
  +
|align="center" bgcolor="#9bc3d1"|'''Explanation'''
  +
|-valign="top" bgcolor="#e0f0f0"
  +
|'''"CityTile"'''
  +
|align="left"|Local, Adjacent, CAdjacent
  +
|align="left"|
  +
|-valign="top" bgcolor="#e0f0f0"
  +
|'''"MinYear"'''
  +
|align="left"|World
  +
|align="left"|
  +
|-valign="top" bgcolor="#e0f0f0"
  +
|'''"TerrainAlter"'''
  +
|align="left"|Local
  +
|align="left"|
  +
|-valign="top" bgcolor="#e0f0f0"
  +
|'''"UnitClassFlag"'''
  +
|align="left"|Local
  +
|align="left"|Effect Types "Veteran_Combat" and "Defend_Bonus" only. "Defend_Bonus" evaluates Attacker only.
  +
|-valign="top" bgcolor="#e0f0f0"
  +
|align="center" bgcolor="#9bc3d1"|'''Requirement ''type'''''
  +
|align="center" bgcolor="#9bc3d1"|'''Supported Ranges'''<br />{{info}} '''New in 2.2'''
  +
|align="center" bgcolor="#9bc3d1"|'''Explanation'''
  +
|-valign="top" bgcolor="#e0f0f0"
  +
|'''"Base"'''<br />{{info}}Replaced by "Extra" in 2.6
  +
|align="left"|???
  +
|align="left"|
  +
|-valign="top" bgcolor="#e0f0f0"
  +
|'''"AI"'''
  +
|align="left"|Player
  +
|align="left"|AI player difficulty level
  +
|-valign="top" bgcolor="#e0f0f0"
  +
|'''"TerrainClass"'''
  +
|align="left"|Local, Adjacent, CAdjacent, Traderoute, City
  +
|align="left"|Either "Land" or "Oceanic"
  +
|-valign="top" bgcolor="#e0f0f0"
  +
|align="center" bgcolor="#9bc3d1"|'''Requirement ''type'''''
  +
|align="center" bgcolor="#9bc3d1"|'''Supported Ranges'''<br />{{info}} '''New in 2.5'''
  +
|align="center" bgcolor="#9bc3d1"|'''Explanation'''
  +
|-valign="top" bgcolor="#e0f0f0"
  +
|'''"Road"'''<br />{{info}}Replaced by "Extra" in 2.6
  +
|align="left"|???
  +
|align="left"|
  +
|-valign="top" bgcolor="#e0f0f0"
  +
|'''"Resource"'''<br />{{info}}Replaced by "Extra" in 3.0
  +
|align="left"|Local, Adjacent, CAdjacent, Traderoute, City
  +
|align="left"|
  +
|-valign="top" bgcolor="#e0f0f0"
  +
|'''"Nationality"'''
  +
|align="left"|Traderoute, City
  +
|align="left"|
  +
|-valign="top" bgcolor="#e0f0f0"
  +
|'''RoadFlag"'''
  +
|align="left"|Local, Adjacent, CAdjacent, Traderoute, City
  +
|align="left"|
  +
|-valign="top" bgcolor="#e0f0f0"
  +
|'''"TechFlag"'''
  +
|align="left"|World, Alliance, Team, Player
  +
|align="left"|
  +
|-valign="top" bgcolor="#e0f0f0"
  +
|'''"TerrainFlag"'''
  +
|align="left"|Local, Adjacent, CAdjacent, Traderoute, City
  +
|align="left"|
  +
|-valign="top" bgcolor="#e0f0f0"
  +
|align="center" bgcolor="#9bc3d1"|'''Requirement ''type'''''
  +
|align="center" bgcolor="#9bc3d1"|'''Supported Ranges'''<br />{{info}} '''New in 2.6'''
  +
|align="center" bgcolor="#9bc3d1"|'''Explanation'''
  +
|-valign="top" bgcolor="#e0f0f0"
  +
|'''"Achievement"'''
  +
|align="left"|World, Alliance, Team, Player
  +
|align="left"|
  +
|-valign="top" bgcolor="#e0f0f0"
  +
|'''"BaseFlag"'''
  +
|align="left"|Local, Adjacent, CAdjacent, Traderoute, City
  +
|align="left"|
  +
|-valign="top" bgcolor="#e0f0f0"
  +
|'''"DiplRel"'''
  +
|align="left"|World, Alliance, Team, Player, Local
  +
|align="left"|
  +
|-valign="top" bgcolor="#e0f0f0"
  +
|'''"Extra"'''
  +
|align="left"|Local, Adjacent, CAdjacent, Traderoute, City
  +
|align="left"|
  +
|-valign="top" bgcolor="#e0f0f0"
  +
|'''"ExtraFlag"'''
  +
|align="left"|Local, Adjacent, CAdjacent, Traderoute, City
  +
|align="left"|
  +
|-valign="top" bgcolor="#e0f0f0"
  +
|'''"MinCulture"'''
  +
|align="left"|World, Alliance, Team, Player, Traderoute, City
  +
|align="left"|
  +
|-valign="top" bgcolor="#e0f0f0"
  +
|'''"MinMoveFrags"'''
  +
|align="left"|Local
  +
|align="left"|Minimum move fragments the unit must have left
  +
|-valign="top" bgcolor="#e0f0f0"
  +
|'''"Style"'''
  +
|align="left"|Player
  +
|align="left"|Civilization Style
  +
|-valign="top" bgcolor="#e0f0f0"
  +
|'''"UnitState"'''
  +
|align="left"|Local
  +
|align="left"|"Transported", "OnLivableTile",
  +
{{info}}New in 3.0: "Transporting", "OnDomesticTile", "HasHomeCity"
  +
|-valign="top" bgcolor="#e0f0f0"
  +
|align="center" bgcolor="#9bc3d1"|'''Requirement ''type'''''
  +
|align="center" bgcolor="#9bc3d1"|'''Supported Ranges'''<br />{{info}} '''New in 3.0'''
  +
|align="center" bgcolor="#9bc3d1"|'''Explanation'''
  +
|-valign="top" bgcolor="#e0f0f0"
  +
|'''"BuildingGenus"'''
  +
|align="left"|???
  +
|align="left"|"Wonder", "SmallWonder", "Improvement", "Special"
  +
|-valign="top" bgcolor="#e0f0f0"
  +
|'''"MinTechs"'''
  +
|align="left"|???
  +
|align="left"|
  +
|-valign="top" bgcolor="#e0f0f0"
  +
|align="center" bgcolor="#9bc3d1"|'''Requirement ''type'''''
  +
|align="center" bgcolor="#9bc3d1"|'''Supported Ranges'''<br />{{info}} '''???'''
  +
|align="center" bgcolor="#9bc3d1"|'''Explanation'''
  +
|-valign="top" bgcolor="#e0f0f0"
  +
|'''"Age"'''
  +
|align="left"|Local, City
  +
|align="left"|Unknown
  +
|-valign="top" bgcolor="#e0f0f0"
  +
|'''"Specialist"'''
  +
|align="left"|Local
  +
|align="left"|Unknown
  +
|-valign="top" bgcolor="#e0f0f0"
  +
|'''"Topology"'''
  +
|align="left"|World
  +
|align="left"|Unknown: overhead, isometric, hexagonal, isohex?
  +
|}
   
 
===Effect Types===
 
===Effect Types===
  Loading editor
Below are some commonly used wiki markup codes. Simply click on what you want to use and it will appear in the edit box above.

View this template