More flexible government requirement for units

Contribute, display and discuss rulesets and modpacks for use in Freeciv here.
User avatar
Corbeau
Elite
Posts: 1093
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?
--
* Freeciv LongTurn, a community of one-turn-per-day players and developers, contains forum: http://longturn.net
* Longturn Discord server; real-time chatting, discussing, quarrelling, trolling, gaslighting...
* What Is Longturn?

User avatar
Corbeau
Elite
Posts: 1093
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?
--
* Freeciv LongTurn, a community of one-turn-per-day players and developers, contains forum: http://longturn.net
* Longturn Discord server; real-time chatting, discussing, quarrelling, trolling, gaslighting...
* What Is Longturn?

User avatar
Caedo
Elite
Posts: 493
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.

User avatar
Corbeau
Elite
Posts: 1093
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.
--
* Freeciv LongTurn, a community of one-turn-per-day players and developers, contains forum: http://longturn.net
* Longturn Discord server; real-time chatting, discussing, quarrelling, trolling, gaslighting...
* What Is Longturn?