Building naval units

Contribute, display and discuss rulesets and modpacks for use in Freeciv here.
User avatar
Dino the Dinosore
Veteran
Posts: 54
Joined: Sun Dec 31, 2017 3:41 am

Building naval units

Postby Dino the Dinosore » Sat May 23, 2020 3:17 am

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: 1777
Joined: Tue Jan 29, 2013 6:54 pm

Re: Building naval units

Postby cazfi » Sat May 23, 2020 4:43 am

City must be on, or adjacent to, tile with terrain native for the unit being built, or the unit class must have "BuildAnywhere" flag.

User avatar
Dino the Dinosore
Veteran
Posts: 54
Joined: Sun Dec 31, 2017 3:41 am

Re: Building naval units

Postby Dino the Dinosore » Mon May 25, 2020 3:11 am

Thanx, got it working now.