Vinifera icon indicating copy to clipboard operation
Vinifera copied to clipboard

Implements `WaterClass` for UnitTypes.

Open CCHyper opened this issue 3 years ago • 3 comments

Closes #64

This pull request implements a new key for UnitTypes to control their image when they enter any land with water properties.

[UnitType] WaterClass=<UnitType> The graphic class to switch to when this unit enters water. Defaults to <none>.

NOTE: The original logic for the GDI Amphibious APC's graphic switching is retained if the unit's name matches APC and does not have WaterClass set.

CCHyper avatar Oct 28 '21 16:10 CCHyper