Negative values for tile property_* flags

What would you like to see in Freeciv? Do you have a good idea what should be improved or how?
Wahazar
Elite
Posts: 362
Joined: Mon Jul 02, 2018 1:49 pm

Negative values for tile property_* flags

Postby Wahazar » Wed Dec 02, 2020 6:04 pm

Currenlty map generater takes terrain properties (such as property_dry, property_wet, property_tropical etc) as alternatives, if some different properties are defined, terrain would spawn if one of them falls into conditions.
But it is often hard or even impossible to define terrain, which would not spawn in given region.
Thus I propose to allow negative numbers for terrain property_* flags:
negative number will decrease probability of spawning given terrain, if such terrain criterion is meet (-100 exclude such terrain if given property is more than zero).
Augmented2 ruleset/modpack for freeciv2.6: viewtopic.php?f=11&t=91047

Ignatus
Elite
Posts: 492
Joined: Mon Nov 06, 2017 12:05 pm
Location: St.Petersburg, Russia
Contact:

Re: Negative values for tile property_* flags

Postby Ignatus » Wed Dec 02, 2020 6:31 pm

What problem do you experiense? I haven't seen tundra on equator.

Wahazar
Elite
Posts: 362
Joined: Mon Jul 02, 2018 1:49 pm

Re: Negative values for tile property_* flags

Postby Wahazar » Thu Dec 03, 2020 11:33 am

For example savana hills, which should spawn in tropical+dry+mountainous, or snowy mountains only in cold/frozen and mountainous.
Augmented2 ruleset/modpack for freeciv2.6: viewtopic.php?f=11&t=91047