Owner: Difference between revisions
Line 28: | Line 28: | ||
Specifies a list of countries which should be able to construct this object (or gain this object as a multiplayer starting unit, if it also has {{TTL|AllowedToStartInMultiplayer|yes}}). | Specifies a list of countries which should be able to construct this object (or gain this object as a multiplayer starting unit, if it also has {{TTL|AllowedToStartInMultiplayer|yes}}). | ||
If a player owns a | If a player owns a {{TTL|Factory}}=({{TTL|UnitType}}, {{TTL|InfantryType}} or {{TTL|BuildingType}}) building with at least 1 compatible Owner= country, then given you fulfill all the other prerequisites you can build the unit in question. | ||
If this list includes one country from Side A, it should also include the other countries of Side A. | If this list includes one country from Side A, it should also include the other countries of Side A. | ||
More granular permissions should be applied via {{TTL|Prerequisite}}, {{TTL|RequiredHouses}} and {{TTL|ForbiddenHouses}}. | More granular permissions should be applied via {{TTL|Prerequisite}}, {{TTL|RequiredHouses}} and {{TTL|ForbiddenHouses}}. | ||
[[BuildingTypes]] generally include all multiplay-avaliable countries in this list. This is not completely necessary, but it can help new modders avoid the [[New Construction Options]] | [[BuildingTypes]] generally include all multiplay-avaliable countries in this list. This is not completely necessary, but it can help new modders avoid the [[New Construction Options|New Construction Options Bug]] in some cases if they keep this format. | ||
If a country has the proper | If a country has the proper [[Prerequisite|Prerequisites]] but does not have a listing in a unit's Owner= list this will result in the [[New Construction Options|New Construction Options Bug]]. | ||
== See Also == | == See Also == | ||
* [[The Prerequisite System]] | * [[The Prerequisite System]] |