More flexible government requirement for units

Contribute, display and discuss rulesets and modpacks for use in Freeciv here.
User avatar
Corbeau
Elite
Posts: 834
Joined: Mon Jan 13, 2014 11:13 pm

More flexible government requirement for units

Postby Corbeau » Fri Sep 07, 2018 8:40 pm

I would like to make it impossible for migrants to be built under Republic and Democracy. Would this be possible to do in a relatively elegant way, without defining a different Migrant unit for each government?

User avatar
Corbeau
Elite
Posts: 834
Joined: Mon Jan 13, 2014 11:13 pm

Re: More flexible government requirement for units

Postby Corbeau » Mon Sep 10, 2018 6:51 am

So, nothing here?

User avatar
Caedo
Elite
Posts: 463
Joined: Sun Feb 10, 2013 10:21 pm
Location: Stuttgart, Germany

Re: More flexible government requirement for units

Postby Caedo » Mon Sep 10, 2018 8:56 am

No, not currently. In Freeciv 3.1, there will be a voodoo method using lua script, but until then, you're out of luck.
~S.C. L.

User avatar
Corbeau
Elite
Posts: 834
Joined: Mon Jan 13, 2014 11:13 pm

Re: More flexible government requirement for units

Postby Corbeau » Mon Sep 10, 2018 9:14 am

Thanks.