Unit Type Role Flags
Every unit type (e.g. a unit such as a Phalanx) in a ruleset can be given zero or more roles by
ruleset modders. Each role gives additional features to the unit type that has been
assigned the flag. A reader can find the roles by looking at the units.ruleset
file in any ruleset
directory. The following roles are used in all of the rulesets shipped by the Freeciv21 developers.
- AttackFastStartUnit
Can be designated as an attacking unit at game start.
- AttackStrongStartUnit
Can be designated as a strong attacking unit at game start.
- Barbarian
Can be created as land Barbarian.
- BarbarianTech
Can be created as land Barbarian, if someone has researched its technology requirements.
- BarbarianBoat
Can be created as boat for sea Barbarian.
- BarbarianBuild
Can be built by barbarians.
- BarbarianBuildTech
Can be built by barbarians if someone has researched its technology requirements.
- BarbarianLeader
This unit is the Barbarian Leader. Only one can be defined once.
- BarbarianSea
Can be created as a Barbarian that disembarks from a barbarian boat.
- BarbarianSeaTech
Can be created as a Barbarian that disembarks from a barbarian boat if someone has researched its technology requirements.
- BorderPolice
Can peacefully expel certain foreign units. See
Expellable
.- CitiesStartUnit
Can be designated as city founding unit at game start.
- DefendGood
AI hint: Good for defending with.
- DefendGoodStartUnit
Can be designated as an good defending unit at game start.
- DefendOk
AI hint: Ok for defending with.
- DefendOkStartUnit
Can be designated as an ok defending unit at game start.
- DiplomatStartUnit
Can be designated as Diplomat unit at game start.
- Expellable
Can be peacefully expelled from foreign tiles. See
BorderPolice
.- Explorer
This unit performs Explorer functions.
- ExplorerStartUnit
Can be designated as an Explorer unit at game start.
- Ferryboat
AI hint: Useful for ferrying.
- FerryStartUnit
Can be designated as a ferry boat unit at game start.
- FirstBuild
First to be built when a city is founded.
- HeavyWeight
Airliftable from Airport after you learn Fusion Power.
- Hut
Can be found in a hut.
- HutTech
Can be found in a hut.
- Partisan
Can be created as a Partisan. Only one unit can have this flag.
- LightWeight
Airliftable once you learn Flight.
- MediumWeight
Airliftable from Airport after you learn Advanced Flight.
- Settlers
Acts as a Settler type unit.
- WorkerStartUnit
Can be designated as a Worker unit at game start.