e83ae87461
So #54797 changed addiction_list to instantiate as a null instead of a list. Turns out a few things relied on the list existing! Things like health analyser/medical kiosk chem and addiction scans broke, and smokers would no longer get addicted! Made a few places check if addiction_list is null before continuing. (Lemon's note, refactored some code to make it cleaner/removed some unneeded loop typechecks)