Code:
option_names={ "aifill", "airliftingstyle", "allowtake", "alltemperate", "animals", "aqueductloss", "autoattack", "autosaves", "autotoggle", "barbarians", "borders", "citymindist", "citynames", "civilwarsize", "compress", "compresstype", "conquercost", "contactturns", "demography", "diplbulbcost", "diplchance", "diplgoldcost", "diplomacy", "disasters", "dispersion", "ec_chat", "ec_info", "ec_max_size", "ec_turns", "endspaceship", "endturn", "first_timeout", "fixedlength", "flatpoles", "foggedborders", "fogofwar", "foodbox", "freecost", "fulltradesize", "gameseed", "generator", "globalwarming", "gold", "happyborders", "homecaughtunits", "huts", "kicktime", "killcitizen", "killstack", "killunhomed", "landmass", "mapseed", "mapsize", "maxconnectionsperhost", "maxplayers", "mgr_distance", "mgr_foodneeded", "mgr_nationchance", "mgr_turninterval", "mgr_worldchance", "migration", "minplayers", "nationset", "naturalcitynames", "nettimeout", "netwait", "notradesize", "nuclearwinter", "occupychance", "onsetbarbs", "persistentready", "phasemode", "pingtime", "pingtimeout", "plrcolormode", "rapturedelay", "razechance", "restrictinfra", "revealmap", "revolen", "revolentype", "savefrequency", "savename", "savepalace", "saveturns", "sciencebox", "scorefile", "scorelog", "scoreloglevel", "separatepoles", "shieldbox", "singlepole", "size", "specials", "startcity", "startpos", "startunits", "steepness", "team_pooled_research", "teamplacement", "techlevel", "techlossforgiveness", "techlossrestore", "techlost_donor", "techlost_recv", "techpenalty", "temperature", "tilesperplayer", "timeaddenemymove", "timeout", "tinyisles", "topology", "trademindist", "trading_city", "trading_gold", "trading_tech", "traitdistribution", "turnblock", "unitwaittime", "unreachableprotects", "victories", "wetness", "xsize", "ysize"}for i = 1, #option_names, 1 dolog.error("%s",option_names[ i ] .. string.rep( " ", ( 21 - string.len( option_names[ i ] ) ) ) .. "\t=\t" .. server.setting.get( option_names[ i ] ) )end
Code:
aifill =5airliftingstyle =allowtake =HAhadOoalltemperate =DISABLEDanimals =20aqueductloss =0autoattack =DISABLEDautosaves =TURN|GAMEOVER|QUITIDLE|INTERRUPTautotoggle =DISABLEDbarbarians =NORMALborders =ENABLEDcitymindist =2citynames =PLAYER_UNIQUEcivilwarsize =10compress =6compresstype =BZIP2conquercost =0contactturns =20demography =NASRLPEMOCqrbdiplbulbcost =0diplchance =80diplgoldcost =0diplomacy =ALLdisasters =10dispersion =0ec_chat =ENABLEDec_info =DISABLEDec_max_size =256ec_turns =1endspaceship =ENABLEDendturn =5000first_timeout =-1fixedlength =DISABLEDflatpoles =100foggedborders =DISABLEDfogofwar =ENABLEDfoodbox =100freecost =0fulltradesize =1gameseed =0generator =SCENARIOglobalwarming =ENABLEDgold =50happyborders =NATIONALhomecaughtunits =ENABLEDhuts =15kicktime =1800killcitizen =ENABLEDkillstack =ENABLEDkillunhomed =0landmass =30mapseed =0mapsize =FULLSIZEmaxconnectionsperhost=4maxplayers =150mgr_distance =0mgr_foodneeded =ENABLEDmgr_nationchance =50mgr_turninterval =5mgr_worldchance =10migration =DISABLEDminplayers =1nationset =naturalcitynames =ENABLEDnettimeout =10netwait =4notradesize =0nuclearwinter =ENABLEDoccupychance =0onsetbarbs =60persistentready =DISABLEDphasemode =ALLpingtime =20pingtimeout =60plrcolormode =PLR_ORDERrapturedelay =1razechance =20restrictinfra =DISABLEDrevealmap =revolen =5revolentype =RANDOMsavefrequency =15savename =freecivsavepalace =ENABLEDsaveturns =1sciencebox =100scorefile =freeciv-score.logscorelog =DISABLEDscoreloglevel =ALLseparatepoles =ENABLEDshieldbox =100singlepole =DISABLEDsize =4specials =250startcity =DISABLEDstartpos =DEFAULTstartunits =ccwwxsteepness =30team_pooled_research =ENABLEDteamplacement =CLOSESTtechlevel =0techlossforgiveness =-1techlossrestore =50techlost_donor =0techlost_recv =0techpenalty =100temperature =50tilesperplayer =100timeaddenemymove =0timeout =0tinyisles =DISABLEDtopology =trademindist =9trading_city =ENABLEDtrading_gold =ENABLEDtrading_tech =ENABLEDtraitdistribution =FIXEDturnblock =ENABLEDunitwaittime =0unreachableprotects =ENABLEDvictories =SPACERACE|ALLIEDwetness =50xsize =92ysize =46
When the contents of the 'code' section are added to a scenario file's [script]code=$$ section, the above displays the values of all known scenario [settings] (Freeciv 2.6.4 to 2.6.11 at least) whether or not they are listed in the scenario itself.
This is for development and testing rather than a game feature.
Statistics: Posted by Molo_Parko — Sun Dec 01, 2024 4:28 pm