var booltest=thefile.get_line()
if(booltest=="False" || booltest==""):
equiped[scan]=false
else:
equiped[scan]=true
I have to write the above code to work around the way bool reads strings.
When saving the bool as a string, that is String() saves a bool as "False". But bool don't read "False" It only reads "" as False. Anything else is read as "True". I spent 5 hours tracking this bug.