Editing Mod API Reference:StructureType

Jump to: navigation, search

Warning: You are not logged in.

Your IP address will be recorded in this page's edit history.
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.
Latest revision Your text
Line 1: Line 1:
An enum that represents types of structures that can exist on a territory.   These are displayed as icons on the map. The possible values are listed below.  Currently, only City has an effect on the actual gameplay, as [[cities]] are used in [[commerce]] games.  The rest of the items have no effect on the game except as defined by mods.
+
An enum that represents types of structures that can exist on a territory. Currently, the only valid value is WL.StructureType.City, which is used for [[cities]] in [[commerce]] games. This value was created as an enum for possible future structures that may be added to the game.
 
+
* WL.StructureType.City:  Used for [[cities]] in [[commerce]] games.
+
* WL.StructureType.ArmyCamp
+
* WL.StructureType.Mine
+
* WL.StructureType.Smelter
+
* WL.StructureType.Crafter
+
* WL.StructureType.Market
+
* WL.StructureType.ArmyCache
+
* WL.StructureType.MoneyCache
+
* WL.StructureType.ResourceCache
+
* WL.StructureType.MercenaryCamp
+
* WL.StructureType.Power
+
* WL.StructureType.Draft
+
* WL.StructureType.Arena
+
* WL.StructureType.Hospital
+
* WL.StructureType.DigSite
+
* WL.StructureType.Attack
+
* WL.StructureType.Mortar
+
* WL.StructureType.Recipe
+
 
+
 
+
Note that cities will "collapse" when more than 3 of them are on a single territory and show the number of them as a digit followed by a single city icon.  The rest of the icons do not collapse.  Therefore, you should strive to avoid having more than 3 icons on a territory since it will not display well.
+
 
+
Note that all icons, other than City, were added in [[Mod_API_Reference:IsVersionOrHigher|5.17.0]]
+
 
+
 
[[Category:Mod API Reference]]
 
[[Category:Mod API Reference]]

Please note that all contributions to Warzone Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Warzone Wiki:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox