1) are identifiers case sensitive?
2) if not, what prevents adding a 'upper case' identifier to allow _more_ resources/specials?
I am interested in 'distribution/placement' as discussed here: https://forum.freeciv.org/f/viewtopic. ... 6a#p104733
I am somehow wary of recurring to the 'trick' of listing a resource several times to allow it to appear more 'easily'... Thus, how about having a more resources, identified by ... uhm... a different identifier?
In other words: 'u' and 'U' and of course 'i' and 'I'.
Example follows. Does that makes sense?
EDIT: for sake of discussion, I am using my terrain.ruleset as a base for the example.
Code: Select all
[omero@naldvras:~/freeciv269/share/freeciv/orxperimental]
$egrep identifier terrain.ruleset | sed -e 's@identifier.[[:blank:]]*=@identifier =@'
Code: Select all
; Roughly sorted by identifier.
; identifier = single-character identifier used in savegames. This
identifier = "i"
identifier = "+"
identifier = " "
identifier = ":"
identifier = "a"
identifier = "d"
identifier = "f"
identifier = "g"
identifier = "h"
identifier = "j"
identifier = "m"
identifier = "p"
identifier = "s"
identifier = "t"
; Roughly sorted by identifier.
; identifier = single-character identifier used in savegames. This
identifier = "$"
identifier = "/"
identifier = "e"
identifier = "d"
identifier = "u"
identifier = "c"
identifier = "y"
identifier = "f"
identifier = "g"
identifier = "h"
identifier = "b"
identifier = "j"
identifier = "o"
identifier = "O"
identifier = "a"
identifier = "p"
identifier = "r"
identifier = "i"
identifier = "L"
identifier = "s"
identifier = "t"
identifier = "T"
identifier = "S"
identifier = "v"
identifier = "U"
identifier = "P"
identifier = "w"
identifier = "x"
Code: Select all
$egrep reserved terrain.ruleset
; "h" reserved for strategic horses
; "k" reserved for (cane) sugar
; "l" reserved for tobacco
; "m" reserved for marble
; "r" reserved for rubber
; "u" reserved for uranium
I have been 'orxperimenting' a little and so far... all seems fine (v2.6) but unsure of potential consequences/conflicts in case of modpack release?
I want deserts to offer Barrel Cacti (plural of a cactus) and Barrelcactiplus (yes, its a codeword for ... more Cacti). I would like swamps to offer more than Peat and Spice (Marshplant and Marshplantplus)... That would help with more diverse distribution of resources.
All that is needed is ... More identifiers? Instead of LUA tricks.