texample-cfg - vaccinewars - be a doctor and try to vaccinate the world
 (HTM) git clone git://src.adamsgaard.dk/vaccinewars
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
       texample-cfg (1300B)
       ---
            1 # Anything after a '#' symbol on the same line is treated as a comment
            2 # and is ignored
            3 
            4 /* Multi-line comments are also possible, if this C-style syntax is used to
            5    denote their starting and finishing points
            6    N.B. Whitespace (tabs, space characters) is ignored, as are line breaks
            7         (except for the purpose of terminating '#'-style comments) */
            8 
            9 # An example of setting a numerical value
           10 MaxClients= 6
           11 
           12 /* An example of setting a string (text) value (all strings should be quoted -
           13    double-quotes can also be used, but these interpret C-style escape
           14    sequences (like \t for a tab character) and so should be avoided, e.g, for
           15    Windows path names) */
           16 HiScoreFile= '/var/lib/games/dopewars.sco'
           17 
           18 # An example of setting a string list value
           19 StoppedTo = { 'drink a beer', 'visit a friend',
           20               'smoke a cigar' }
           21 
           22 StartCash=2000000  # Start each player with $2million
           23 StartDebt=0
           24 Port=7904
           25 NumLocation=6
           26 Location[1].Name='Oxford'
           27 Location[2].Name='London'
           28 Location[3].Name='Birmingham'
           29 Location[4].Name='Manchester'
           30 Location[5].Name='Edinburgh'
           31 Location[6].Name='Milton Keynes'
           32 
           33 Drug[1].Name='Smarties'
           34 Drug[1].Cheap=0
           35 Drug[1].Expensive=1
           36 Drug[1].MinPrice=5000
           37 Drug[1].MaxPrice=50000
           38 
           39 Gun[2].Name='Uzi 9mm'
           40 Gun[2].Price=500000
           41 Gun[2].Space=20
           42 Gun[2].Damage=50
           43 
           44 DrugSortMethod=3