No gold & no science for a government

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

No gold & no science for a government

Post by Corbeau »

Under Anarchy there is no gold nor science gain from Trade. Is this a coded feature? I can't find it anywhere in the ruleset.
--
* Freeciv LongTurn, a community of one-turn-per-day players and developers
* LongTurn Blog - information nexus with stuff and stuff and stuff
* Longturn Discord server; real-time chatting, discussing, quarrelling, trolling, gaslighting...
Wahazar
Elite
Posts: 362
Joined: Mon Jul 02, 2018 1:49 pm

Re: No gold & no science for a government

Post by Wahazar »

There is effect_max_rates_anarchy set to 100, but it must be hardcoded, that only luxury is produced.
Augmented2 ruleset/modpack for freeciv2.6: http://forum.freeciv.org/f/viewtopic.php?f=11&t=91047
Ignatus
Elite
Posts: 644
Joined: Mon Nov 06, 2017 12:05 pm
Location: St.Petersburg, Russia
Contact:

Re: No gold & no science for a government

Post by Ignatus »

Yes, it's hardcoded in common/city.c that the government governments.during_revolution spends 100% on luxuries (checked for 2.5 and 3.0). This parameter is set in governments.ruleset.
User avatar
Corbeau
Elite
Posts: 1291
Joined: Mon Jan 13, 2014 11:13 pm

Re: No gold & no science for a government

Post by Corbeau »

Thanks.

Similar topic question so I won't open a new thread: if some (or all) cities are in revolt (more unhappy than happy citizens), does it in any way make it difficult or impossible to make a transition from Anarchy to a selected government if all conditions are met (enough turns have passed and government is available)?
--
* Freeciv LongTurn, a community of one-turn-per-day players and developers
* LongTurn Blog - information nexus with stuff and stuff and stuff
* Longturn Discord server; real-time chatting, discussing, quarrelling, trolling, gaslighting...
Wahazar
Elite
Posts: 362
Joined: Mon Jul 02, 2018 1:49 pm

Re: No gold & no science for a government

Post by Wahazar »

Forcing revolts in a Anarchy is a bad idea, imagine poor country invaded and capital is taken - not only is broke apart, but you can't continue building anything including palace.
We have more subtle methods: Empire_Size_Base (set it 10 or smth) and Empire_Size_Step (propose 8 or smth) - small country would not suffer much from Anarchy, while big one can't abuse it.
Additionally you probably need to adjust Luxury Output_Bonus for Anarchy (-80 sound reasonable).
Augmented2 ruleset/modpack for freeciv2.6: http://forum.freeciv.org/f/viewtopic.php?f=11&t=91047
User avatar
Corbeau
Elite
Posts: 1291
Joined: Mon Jan 13, 2014 11:13 pm

Re: No gold & no science for a government

Post by Corbeau »

Wahazar, this is a technical discussion about how to do something. Whether it should be done or not is discussed in another place ;) Among other things, because this other place lists other things that go along with the change.
--
* Freeciv LongTurn, a community of one-turn-per-day players and developers
* LongTurn Blog - information nexus with stuff and stuff and stuff
* Longturn Discord server; real-time chatting, discussing, quarrelling, trolling, gaslighting...
Ignatus
Elite
Posts: 644
Joined: Mon Nov 06, 2017 12:05 pm
Location: St.Petersburg, Russia
Contact:

Re: No gold & no science for a government

Post by Ignatus »

As I can see from cityturn code, even if city disorder is set to cause a revolt during revolutionary government, the revolution length counter is not reset, and you probably can't revolt the turn revolution ended; but the code seems rather complicated and I am not sure.
Post Reply