Building naval units

Contribute, display and discuss rulesets and modpacks for use in Freeciv here.
Post Reply
Dino the Dinosore
Hardened
Posts: 171
Joined: Sun Dec 31, 2017 3:41 am

Building naval units

Post by Dino the Dinosore »

What controls whether a city can build naval units? Is there anything a ruleset can do to control that, or is it hard-coded? I'm experimenting with the unitclass:RiverShip from the Multiplayer II (MP2) ruleset, within a freeciv 2.6.2 context, and it's not letting me build any of them, even in a coastal city.
cazfi
Elite
Posts: 3077
Joined: Tue Jan 29, 2013 6:54 pm

Re: Building naval units

Post by cazfi »

City must be on, or adjacent to, tile with terrain native for the unit being built, or the unit class must have "BuildAnywhere" flag.
Dino the Dinosore
Hardened
Posts: 171
Joined: Sun Dec 31, 2017 3:41 am

Re: Building naval units

Post by Dino the Dinosore »

Thanx, got it working now.
Post Reply