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