Follow-up Comment #2, patch #1652 (project freeciv): My idea is to use it for the ruleset file as:
[ruleset_order] ; all bitvectors or list data advance_flags="TF_BONUS_TECH","TF_BRIDGE","TF_RAILROAD","TF_POPULATION_POLLUTION_INC","TF_FARMLAND","TF_BUILD_AIRBORNE" [ruleset_advances] ; only one big table; for flags a string [01] is used for longer lists the indices are saved (as "25,60,3") a={"name","graphic_str","graphic_alt","helptext","bonus_message","reqs","allows","roots","aflags","preset_cost" "Advanced Flight","a.advanced_flight","-","","","63,42","13,69,73","","000000",-1 Thus, the files are small but still human readable _______________________________________________________ Reply to this item at: <http://gna.org/patch/?1652> _______________________________________________ Nachricht geschickt von/durch Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev