Sanity checks in chem code
Sanity checks in chem code

You can no longer add/remove negative amounts.

Removing reagents now ensures you don't remove more of the reagent than
actually exists.

XDTM/tgstation,F-OS/tgstation,Valanthe500/Soteria-v3,MrStonedOne/-tg-station,paprka/-tg-station,feemjmeem/-tg-station,GunHog/-tg-station,Cruix/-tg-station,Profakos/tgstation,TheVekter/-tg-station,neersighted/tgstation,phil235/-tg-station,feemjmeem/-tg-station,neersighted/tgstation,Cruix/-tg-station,InsaneHyena/tgstation,JStheguy/tgstation,GuyonBroadway/HippieStation,Ultimate-Chimera/tgstation,PKPenguin321/-tg-station,Memendia/HippieStation,Jordie0608/-tg-station,Ultimate-Chimera/tgstation,HippieStation/HippieStation,Qwertyon666/Necro,octareenroon91/-tg-station,NicholasM10/-tg-station,Penguaro/tgstation,ShizCalev/tgstation,TheVekter/-tg-station,JJRcop/-tg-station,PJB3005/tgstation,QualityVan/tgstation,xxalpha/-tg-station,Incoming5643/-tg-station,nicbn/tgstation,Incoming5643/-tg-station,Razharas/-tg-station,Razharas/-tg-station,Arianya/tgstation,Tokiko1/tgstation,Profakos/tgstation,Mervill/tgstation,greytide/greytide,Bawhoppen/-tg-station,TheVekter/-tg-station,CosmicScientist/-tg-station,feemjmeem/-tg-station,TehZombehz/-tg-station,Xhuis/tgfork,ike709/FTL13,TehZombehz/-tg-station,TheVekter/-tg-station,HippieStation/HippieStation,CosmicScientist/-tg-station,ZioZan/tgstation,ChayseRamsay/Soteria-v3,posttk421/tgstation,Jalleo/-tg-station,LegendaryPoro/FTL13,Xhuis/-tg-station,MicroWorldwide/SS13-TG-station,F-OS/tgstation,Jordie0608/tgstation,kevinz000/-tg-station,xxalpha/-tg-station,PKPenguin321/-tg-station,Shadowlight213/-tg-station,coiax/-tg-station,feemjmeem/-tg-station,Bawhoppen/-tg-station,Robustin/tgstation,TheVekter/-tg-station,Penguaro/tgstation,paprka/-tg-station,ChangelingRain/-tg-station,kingofkosmos/-tg-station,nicbn/tgstation,Jalleo/-tg-station,Aranclanos/-tg-station,OBA-code/tgstation,neersighted/tgstation,QualityVan/tgstation,chickenboy10/tgstation,MicroWorldwide/SS13-TG-station,anconfuzedrock/tgstation,4dplanner/tgstation,coiax/-tg-station,ohnopigeons/tgstation,feemjmeem/-tg-station,ChangelingRain/-tg-station,nicbn/tgstation,Niknakflak/-tg-station,loqoman/tgstation,4dplanner/tgstation,HippieStation/HippieStation,lzimann/-tg-station,Jordie0608/tgstation,greytide/greytide,TehZombehz/-tg-station,Buggy123/-tg-station,WJohn/-tg-station,feemjmeem/-tg-station,JStheguy/tgstation,kingofkosmos/-tg-station,Thunder12345/-tg-station,greytide/greytide,Xhuis/-tg-station,lordpidey/-tg-station,PKPenguin321/-tg-station,Core0verload/-tg-station,Jalleo/-tg-station,Bawhoppen/-tg-station,MicroWorldwide/SS13-TG-station,Tokiko1/tgstation,Robustin/tgstation,Anonus/-tg-station,tgstation/tgstation,Mark9013100/tgstation-m9,octareenroon91/-tg-station,TheOneForgotten/white,Poojawa/tgstation-fork,CosmicScientist/-tg-station,F-OS/tgstation,Y0SH1M4S73R/-tg-station,Mark9013100/tgstation-m9,Fox-McCloud/-tg-station,paprka/-tg-station,Cruix/-tg-station,Memendia/HippieStation,Cyberboss/tgstation,Core0verload/-tg-station,posttk421/tgstation,JJRcop/-tg-station,Mark9013100/tgstation-m9,Razharas/-tg-station,Arianya/tgstation,securitycopper/-tg-station,Jalleo/-tg-station,paprka/-tg-station,Anonus/-tg-station,Kraseo/-tg-station,Memendia/HippieStation13,ZioZan/tgstation,NicholasM10/-tg-station,McBawbaggings/HippieStation,Expletive/tgstation,octareenroon91/-tg-station,lzimann/-tg-station,Fox-McCloud/-tg-station,4dplanner/tgstation,Penguaro/tgstation,TheVekter/-tg-station,kevinz000/-tg-station,MrStonedOne/tgstation,AuroranAI/FTL13,vcordie/tgstation,loqoman/tgstation,dannno/-tg-station,JStheguy/tgstation,greytide/greytide,dannno/-tg-station,4dplanner/tgstation,TheRealGLH/-tg-station,ZioZan/tgstation,ChayseRamsay/Soteria-v3,Poojawa/tgstation-fork,loqoman/tgstation,Xhuis/tgfork,AnturK/-tg-station,NicholasM10/-tg-station,NicholasM10/-tg-station,Tacolizard/tgstation,AuroranAI/FTL13,Jalleo/-tg-station,TehZombehz/-tg-station,HippieStationCode/HippieStation13,GunHog/-tg-station,Haevacht/tgstation,Shadowlight213/-tg-station,Robustin/tgstation,ToGWtF/yogstation,TheOneForgotten/white,Buggy123/-tg-station,tgstation/-tg-station,WJohn/-tg-station,xxalpha/-tg-station,Cheridan/tgstation,Expletive/tgstation,infinitystation/-tg-station,Niknakflak/-tg-station,Groxic/tgstation,optimumtact/-tg-station,Incoming5643/-tg-station,LegendaryPoro/FTL13,WJohn/-tg-station,Mervill/tgstation,loqoman/tgstation,McBawbaggings/HippieStation,Jalleo/-tg-station,F-OS/tgstation,Aranclanos/-tg-station,Thunder12345/-tg-station,duncathan/-tg-station,WJohn/-tg-station,coiax/-tg-station,CPTANT/-tg-station,duncathan/-tg-station,lzimann/tgstation,erwgd/-tg-station,Groxic/tgstation,Haevacht/tgstation,TehZombehz/-tg-station,HippieStation/HippieStation,blockheads/-tg-station,Xhuis/tgfork,Crexfu/tgstation,Y0SH1M4S73R/-tg-station,Qwertyon666/Necro,nicbn/tgstation,optimumtact/-tg-station,lordpidey/-tg-station,PJB3005/tgstation,lordpidey/-tg-station,Cyberboss/tgstation,securitycopper/-tg-station,neersighted/tgstation,Crexfu/tgstation,xxalpha/-tg-station,kevinz000/-tg-station,AnturK/-tg-station,coiax/-tg-station,CosmicScientist/-tg-station,JStheguy/tgstation,Fox-McCloud/-tg-station,Tokiko1/tgstation,GuyonBroadway/HippieStation,Tacolizard/tgstation,AnturK/-tg-station,GuyonBroadway/HippieStation,Yoshmaster/-tg-station,infinitystation/-tg-station,xxalpha/-tg-station,4dplanner/tgstation,Niknakflak/-tg-station,duncathan/-tg-station,tgstation/tgstation,feemjmeem/-tg-station,Razharas/-tg-station,Tacolizard/tgstation,Poojawa/tgstation-fork,Cyberboss/tgstation,kyrahabattoir/-tg-station,JStheguy/tgstation,Buggy123/-tg-station,NicholasM10/-tg-station,Anonus/-tg-station,kevinz000/-tg-station,Qwertyon666/Necro,GunHog/-tg-station,ToGWtF/yogstation,GunHog/-tg-station,HippieStationCode/HippieStation13,InsaneHyena/tgstation,TheOneForgotten/white,Memendia/HippieStation,Tacolizard/tgstation,Crexfu/tgstation,F-OS/tgstation,XDTM/tgstation,paprka/-tg-station,JJRcop/tgstation,Bawhoppen/-tg-station,Razharas/-tg-station,MrStonedOne/tgstation,neersighted/tgstation,Iamgoofball/-tg-station,Memendia/HippieStation,coiax/-tg-station,Xhuis/tgfork,kingofkosmos/-tg-station,McBawbaggings/HippieStation,AuroranAI/FTL13,Robustin/tgstation,Buggy123/-tg-station,4dplanner/tgstation,lzimann/tgstation,HippieStation/HippieStation,Valanthe500/Soteria-v3,Xhuis/AquaStation,duncathan/-tg-station,CosmicScientist/-tg-station,PKPenguin321/-tg-station,Osokorn/tgstation,Xhuis/AquaStation,OBA-code/tgstation,Arianya/tgstation,PKPenguin321/-tg-station,Xhuis/tgfork,tgstation/tgstation,MrStonedOne/tgstation,Thunder12345/-tg-station,lordpidey/-tg-station,Incoming5643/-tg-station,Y0SH1M4S73R/-tg-station,AnturK/-tg-station,GuyonBroadway/HippieStation,Y0SH1M4S73R/-tg-station,Cruix/-tg-station,Core0verload/-tg-station,WJohn/-tg-station,ike709/FTL13,Bawhoppen/-tg-station,InsaneHyena/tgstation,JJRcop/-tg-station,infinitystation/-tg-station,Robustin/tgstation,ShizCalev/tgstation,lordpidey/-tg-station,tgstation/tgstation,JJRcop/tgstation,GunHog/-tg-station,kevinz000/-tg-station,Osokorn/tgstation,lzimann/-tg-station,Shadowlight213/-tg-station,Xhuis/tgfork,coiax/-tg-station,coiax/-tg-station,TalkingCactus/tgstation,chickenboy10/tgstation,Profakos/tgstation,feemjmeem/-tg-station,CPTANT/-tg-station,Memendia/HippieStation,loqoman/tgstation,Razharas/-tg-station,CPTANT/-tg-station,Cruix/-tg-station,ShizCalev/tgstation,JJRcop/tgstation,Jordie0608/tgstation,TheRealGLH/-tg-station,HippieStationCode/HippieStation13,Incoming5643/-tg-station,TheRealGLH/-tg-station,dannno/-tg-station,Cruix/-tg-station,Cruix/-tg-station,athompson11/Soteria-v3,Cruix/-tg-station,Anonus/-tg-station,Valanthe500/Soteria-v3,Jordie0608/tgstation,nicbn/tgstation,PKPenguin321/-tg-station,Xhuis/tgfork,Shadowlight213/-tg-station,anconfuzedrock/tgstation,tgstation/tgstation,paprka/-tg-station,blockheads/-tg-station,Arianya/tgstation,ShizCalev/tgstation,F-OS/tgstation,paprka/-tg-station,Y0SH1M4S73R/-tg-station,vcordie/tgstation,posttk421/tgstation,riftstation/riftstation,Jalleo/-tg-station,Robustin/tgstation,QualityVan/tgstation,McBawbaggings/HippieStation,infinitystation/-tg-station,HippieStation/HippieStation,Xhuis/AquaStation,Jordie0608/tgstation,phil235/-tg-station,Shadowlight213/-tg-station,MicroWorldwide/SS13-TG-station,JStheguy/tgstation,Memendia/HippieStation13,kyrahabattoir/-tg-station,lzimann/tgstation,Cheridan/tgstation,TheVekter/-tg-station,CosmicScientist/-tg-station,tgstation/tgstation,infinitystation/-tg-station,ChangelingRain/-tg-station,Shadowlight213/-tg-station,Aranclanos/-tg-station,tgstation/-tg-station,riftstation/riftstation,phil235/-tg-station,neersighted/tgstation,TehZombehz/-tg-station,Memendia/HippieStation13,riftstation/riftstation,kingofkosmos/-tg-station,blockheads/-tg-station,riftstation/riftstation,TalkingCactus/tgstation,kingofkosmos/-tg-station,Niknakflak/-tg-station,GuyonBroadway/HippieStation,riftstation/riftstation,CPTANT/-tg-station,Osokorn/tgstation,erwgd/-tg-station,kyrahabattoir/-tg-station,MrStonedOne/tgstation,Jordie0608/tgstation,JJRcop/-tg-station,MrStonedOne/-tg-station,CPTANT/-tg-station,TalkingCactus/tgstation,OBA-code/tgstation,tgstation/-tg-station,Y0SH1M4S73R/-tg-station,Robustin/tgstation,ike709/FTL13,MrStonedOne/tgstation,CPTANT/-tg-station,Tacolizard/tgstation,ohnopigeons/tgstation,Poojawa/tgstation-fork,lordpidey/-tg-station,anconfuzedrock/tgstation,Poojawa/tgstation-fork,MicroWorldwide/SS13-TG-station,SamuelRowe/-tg-station,kevinz000/-tg-station,Tacolizard/tgstation,HippieStationCode/HippieStation13,Yoshmaster/-tg-station,Fox-McCloud/-tg-station,Kraseo/-tg-station,NicholasM10/-tg-station,AuroranAI/FTL13,chickenboy10/tgstation,kingofkosmos/-tg-station,Memendia/HippieStation,Niknakflak/-tg-station,ChayseRamsay/Soteria-v3,neersighted/tgstation,Buggy123/-tg-station,XDTM/tgstation,Xhuis/tgfork,Tokiko1/tgstation,Buggy123/-tg-station,Bawhoppen/-tg-station,paprka/-tg-station,Memendia/HippieStation13,ohnopigeons/tgstation,Memendia/HippieStation,Haevacht/tgstation,octareenroon91/-tg-station,Arianya/tgstation,anconfuzedrock/tgstation,anconfuzedrock/tgstation,F-OS/tgstation,tgstation/-tg-station,CosmicScientist/-tg-station,vcordie/tgstation,PKPenguin321/-tg-station,Jalleo/-tg-station,Iamgoofball/-tg-station,Profakos/tgstation,octareenroon91/-tg-station,Profakos/tgstation,lzimann/-tg-station,GunHog/-tg-station,NicholasM10/-tg-station,Tacolizard/tgstation,tgstation/tgstation,Xhuis/AquaStation,Cheridan/-tg-station,ChangelingRain/-tg-station,Fox-McCloud/-tg-station,GunHog/-tg-station,Haevacht/tgstation,Profakos/tgstation,QualityVan/tgstation,4dplanner/tgstation,tgstation/tgstation,Groxic/tgstation,LegendaryPoro/FTL13,QualityVan/tgstation,Tacolizard/tgstation,XDTM/tgstation,CosmicScientist/-tg-station,Mark9013100/tgstation-m9,Fox-McCloud/-tg-station,Incoming5643/-tg-station,Fox-McCloud/-tg-station,Y0SH1M4S73R/-tg-station,infinitystation/-tg-station,loqoman/tgstation,GuyonBroadway/HippieStation,Ultimate-Chimera/tgstation,Qwertyon666/Necro,Xhuis/-tg-station,JJRcop/tgstation,Kraseo/-tg-station,HippieStation/HippieStation,blockheads/-tg-station,CPTANT/-tg-station,WJohn/-tg-station,nicbn/tgstation,xxalpha/-tg-station,Cyberboss/tgstation,Bawhoppen/-tg-station,nicbn/tgstation,Groxic/tgstation,MrStonedOne/-tg-station,MicroWorldwide/SS13-TG-station,Thunder12345/-tg-station,ShizCalev/tgstation,optimumtact/-tg-station,optimumtact/-tg-station,ToGWtF/yogstation,MrStonedOne/tgstation,MicroWorldwide/SS13-TG-station,QualityVan/tgstation,Mark9013100/tgstation-m9,anconfuzedrock/tgstation,SamuelRowe/-tg-station,QualityVan/tgstation,PJB3005/tgstation,Cheridan/tgstation,Shadowlight213/-tg-station,Razharas/-tg-station,Aranclanos/-tg-station,Thunder12345/-tg-station,loqoman/tgstation,vcordie/tgstation,Mervill/tgstation,JJRcop/tgstation,JJRcop/tgstation,AnturK/-tg-station,Cheridan/tgstation,riftstation/riftstation,MrStonedOne/tgstation,TheOneForgotten/white,OBA-code/tgstation,Poojawa/tgstation-fork,optimumtact/-tg-station,SamuelRowe/-tg-station,Penguaro/tgstation,securitycopper/-tg-station,athompson11/Soteria-v3,erwgd/-tg-station,LegendaryPoro/FTL13,ike709/FTL13,PKPenguin321/-tg-station,MicroWorldwide/SS13-TG-station,Incoming5643/-tg-station,Cheridan/-tg-station,ShizCalev/tgstation,Expletive/tgstation,Thunder12345/-tg-station,Jordie0608/-tg-station,kevinz000/-tg-station,phil235/-tg-station,chickenboy10/tgstation,Mervill/tgstation,Aranclanos/-tg-station,F-OS/tgstation,loqoman/tgstation,neersighted/tgstation,kyrahabattoir/-tg-station,Cyberboss/tgstation,securitycopper/-tg-station,securitycopper/-tg-station,NicholasM10/-tg-station,XDTM/tgstation,anconfuzedrock/tgstation,athompson11/Soteria-v3,Cheridan/-tg-station,Core0verload/-tg-station,Cheridan/-tg-station,Iamgoofball/-tg-station,riftstation/riftstation,JJRcop/tgstation,Bawhoppen/-tg-station,Mark9013100/tgstation-m9,TehZombehz/-tg-station,Valanthe500/Soteria-v3,GuyonBroadway/HippieStation,4dplanner/tgstation,Xhuis/-tg-station,Aranclanos/-tg-station,Profakos/tgstation,XDTM/tgstation,Incoming5643/-tg-station,Niknakflak/-tg-station,Memendia/HippieStation,Mark9013100/tgstation-m9,Niknakflak/-tg-station,Thunder12345/-tg-station,McBawbaggings/HippieStation,McBawbaggings/HippieStation,Expletive/tgstation,optimumtact/-tg-station,XDTM/tgstation,lordpidey/-tg-station,ChangelingRain/-tg-station,xxalpha/-tg-station,TalkingCactus/tgstation,Jordie0608/tgstation,TehZombehz/-tg-station,WJohn/-tg-station,Jordie0608/tgstation,infinitystation/-tg-station,ShizCalev/tgstation,Ultimate-Chimera/tgstation,Cyberboss/tgstation,securitycopper/-tg-station,AnturK/-tg-station,ShizCalev/tgstation,ChangelingRain/-tg-station,riftstation/riftstation,optimumtact/-tg-station,Arianya/tgstation,athompson11/Soteria-v3,Buggy123/-tg-station,PJB3005/tgstation,Shadowlight213/-tg-station,xxalpha/-tg-station,Buggy123/-tg-station,ohnopigeons/tgstation,InsaneHyena/tgstation,Y0SH1M4S73R/-tg-station,CPTANT/-tg-station,Poojawa/tgstation-fork,ToGWtF/yogstation,Kraseo/-tg-station,Jordie0608/-tg-station,Cyberboss/tgstation,kingofkosmos/-tg-station,Yoshmaster/-tg-station,MrStonedOne/-tg-station,Jordie0608/-tg-station,McBawbaggings/HippieStation,Robustin/tgstation,Arianya/tgstation,Aranclanos/-tg-station,AnturK/-tg-station,GuyonBroadway/HippieStation,SamuelRowe/-tg-station,kevinz000/-tg-station,ChayseRamsay/Soteria-v3,lordpidey/-tg-station,infinitystation/-tg-station,JStheguy/tgstation,posttk421/tgstation,dannno/-tg-station,Aranclanos/-tg-station,TheRealGLH/-tg-station,Crexfu/tgstation,MrStonedOne/tgstation,ChangelingRain/-tg-station,Iamgoofball/-tg-station,securitycopper/-tg-station,ChangelingRain/-tg-station,securitycopper/-tg-station,Yoshmaster/-tg-station,McBawbaggings/HippieStation,Razharas/-tg-station