Page 1 of 1

No gold & no science for a government

Posted: Sat Jan 19, 2019 7:52 pm
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.

Re: No gold & no science for a government

Posted: Sat Jan 19, 2019 9:23 pm
by Wahazar
There is effect_max_rates_anarchy set to 100, but it must be hardcoded, that only luxury is produced.

Re: No gold & no science for a government

Posted: Sat Jan 19, 2019 9:37 pm
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.

Re: No gold & no science for a government

Posted: Sat Jan 19, 2019 10:41 pm
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)?

Re: No gold & no science for a government

Posted: Mon Jan 21, 2019 5:42 pm
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).

Re: No gold & no science for a government

Posted: Mon Jan 21, 2019 5:45 pm
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.

Re: No gold & no science for a government

Posted: Tue Jan 22, 2019 1:35 pm
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.