Re: issue with multiple variables in if statement
I mean I think you're overthinking it a bit. I would also map things to dictionaries where it would make sense. Also packing variables where it makes sense.
Doing that and unpacking from function, like if I had a function that I knew would return information about the player's health like their current and max, to say, maybe calculate a percentage of their health to take rather than a hard number, I could be like:
curhealth, maxhealth = player.get_health()
-- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector