Naval: Difference between revisions

m Adding revision category for pages potentially improperly "converted".
(9 intermediate revisions by 3 users not shown)
Line 2: Line 2:
|files={{Categ|ini=rules}}
|files={{Categ|ini=rules}}
|values={{values|Booleans}}
|values={{values|Booleans}}
|default=yes
|default=no
|types={{Categ|BuildingTypes}}, {{Categ|VehicleTypes}}
|types={{Categ|BuildingTypes}}, {{Categ|InfantryTypes}}, {{Categ|VehicleTypes}}
|yr=yes
|yr=yes
|ra2=yes
|ra2=yes
}}
}}
==On [[BuildingTypes]]==
==On [[BuildingTypes]]==
If set to yes, this flag forces a {{f|Factory=UnitType|link}} building to only build <tt>VehicleTypes</tt> with a corresponding <tt>Naval=yes</tt> flag set. This flag serves as the only real logical distinction between a land-based vehicle factory and a naval-based ship factory.
If set to yes, this flag forces a {{f|Factory|link}}<tt>=yes</tt> building to only build <tt>VehicleTypes</tt> with a corresponding <tt>Naval=yes</tt> flag set. This flag serves as the only real logical distinction between a land-based vehicle factory and a naval-based ship factory.
 
Naval=yes also prevents this BuildingType from being placed on non-Water tiles, or being deployed from a vehicle on non-Water tiles, regardless of the value of [[WaterBound]].
 
==On [[InfantryTypes]]==
Parasitic units with the tag '''<b>{{f|Naval|yes|Link}}</b>''' But not in the water Will not be able to attack anything on land.
 
If those parasite-type units can enter water But '''<b>{{f|Naval|no|Link}}</b>''' Will die immediately after eliminating the target.
 
Animation of parasites in the water will be hardcoded as '''<u><font style="color:red">Squid Attack (SQDG)</font></u>'''


==On [[VehicleTypes]]==
==On [[VehicleTypes]]==
Line 23: Line 32:


{{f|PrerequisiteOverride|link}} makes this difficult, since a satisfied {{f|PrerequisiteOverride|link}} causes {{f|Prerequisite|link}} to be ignored. If you set {{f|PrerequisiteOverride|link}} to something other than the appropriate factory, you'll get the bug. So it's best to stay away from this tag where possible.
{{f|PrerequisiteOverride|link}} makes this difficult, since a satisfied {{f|PrerequisiteOverride|link}} causes {{f|Prerequisite|link}} to be ignored. If you set {{f|PrerequisiteOverride|link}} to something other than the appropriate factory, you'll get the bug. So it's best to stay away from this tag where possible.
{{Bugs}}
*Adding '''Naval=yes''' to [[BuildingTypes]] on land will prevent the AI ​​from building them (the player can't build them if there are no ponds or seas)and the following effect will occur:<br>
If the AI's '''Allied Power Plant''' has the tag '''Naval=yes''', the AI ​​can build another [[BuildingTypes]] that uses the '''Allied Power Plant''' as a prerequisite for creation.<br>[[File:BuildingTypes On land and Naval=yes.png]]
[[Category:Review for fake conversion and revert if necessary]]