Example #1
0
def cmd_fmt_boollist_var (gamestate, name):
    return name+' '+' '.join(
            [util.bool_to_string(val) 
            for val in gamestate[name]]
        )+'\n'
Example #2
0
def cmd_fmt_bool_var (gamestate, name):
    return name+' '+util.bool_to_string(gamestate[name])+'\n'