Fixes timer id collision (#29437)
Fixes timer id collision (#29437)

The list of active timers timer_id_dict identifies timers by their numerical id as a string. However this was done using embedded expressions inside the string, which calls num2text with a default of 6 significant figures. This means anything at or above 1 million is expressed in scientific notation.

"timer[1000000]" -> "timer1e+06"
"timer[1000001]" -> "timer1e+06"

Calling num2text manually with 8 significant figures kicks the collision problem down the road to 2^24 (16 million).

nextid is now selectively incremented and is looped back to 1 when reaching the 2^24 threshold.
Also now includes collision checking.
loqoman/tgstation,Robustin/tgstation,PKPenguin321/-tg-station,loqoman/tgstation,Buggy123/-tg-station,infinitystation/-tg-station,Shadowlight213/-tg-station,MrStonedOne/tgstation,4dplanner/tgstation,4dplanner/tgstation,XDTM/tgstation,JStheguy/tgstation,Y0SH1M4S73R/-tg-station,octareenroon91/-tg-station,lzimann/-tg-station,Robustin/tgstation,PKPenguin321/-tg-station,TheVekter/-tg-station,erwgd/-tg-station,AnturK/-tg-station,McBawbaggings/HippieStation,Jordie0608/tgstation,Tacolizard/tgstation,4dplanner/tgstation,optimumtact/-tg-station,Y0SH1M4S73R/-tg-station,4dplanner/tgstation,TheRealGLH/-tg-station,securitycopper/-tg-station,JJRcop/-tg-station,ChangelingRain/-tg-station,Cyberboss/tgstation,TalkingCactus/tgstation,Bawhoppen/-tg-station,QualityVan/tgstation,NicholasM10/-tg-station,InsaneHyena/tgstation,lzimann/-tg-station,XDTM/tgstation,Aranclanos/-tg-station,GunHog/-tg-station,Y0SH1M4S73R/-tg-station,xxalpha/-tg-station,coiax/-tg-station,MicroWorldwide/SS13-TG-station,Thunder12345/-tg-station,coiax/-tg-station,ZioZan/tgstation,paprka/-tg-station,GuyonBroadway/HippieStation,JJRcop/tgstation,Razharas/-tg-station,Mark9013100/tgstation-m9,ShizCalev/tgstation,PKPenguin321/-tg-station,Jalleo/-tg-station,Niknakflak/-tg-station,Aranclanos/-tg-station,chickenboy10/tgstation,Bawhoppen/-tg-station,Fox-McCloud/-tg-station,ToGWtF/yogstation,OBA-code/tgstation,tgstation/-tg-station,Niknakflak/-tg-station,4dplanner/tgstation,Tacolizard/tgstation,kingofkosmos/-tg-station,Robustin/tgstation,MrStonedOne/tgstation,Cruix/-tg-station,Cruix/-tg-station,Anonus/-tg-station,WJohn/-tg-station,McBawbaggings/HippieStation,lordpidey/-tg-station,infinitystation/-tg-station,loqoman/tgstation,Aranclanos/-tg-station,TehZombehz/-tg-station,Jordie0608/-tg-station,QualityVan/tgstation,Razharas/-tg-station,JJRcop/tgstation,paprka/-tg-station,JStheguy/tgstation,Thunder12345/-tg-station,anconfuzedrock/tgstation,Bawhoppen/-tg-station,Thunder12345/-tg-station,Tacolizard/tgstation,JJRcop/-tg-station,ZioZan/tgstation,Niknakflak/-tg-station,xxalpha/-tg-station,CPTANT/-tg-station,Xhuis/tgfork,MrStonedOne/-tg-station,lzimann/-tg-station,neersighted/tgstation,Poojawa/tgstation-fork,Jalleo/-tg-station,Aranclanos/-tg-station,NicholasM10/-tg-station,Bawhoppen/-tg-station,octareenroon91/-tg-station,Iamgoofball/-tg-station,F-OS/tgstation,nicbn/tgstation,chickenboy10/tgstation,feemjmeem/-tg-station,loqoman/tgstation,GunHog/-tg-station,Memendia/HippieStation,Jordie0608/-tg-station,xxalpha/-tg-station,HippieStation/HippieStation,octareenroon91/-tg-station,Fox-McCloud/-tg-station,JStheguy/tgstation,Mark9013100/tgstation-m9,Y0SH1M4S73R/-tg-station,Shadowlight213/-tg-station,WJohn/-tg-station,anconfuzedrock/tgstation,ToGWtF/yogstation,erwgd/-tg-station,JStheguy/tgstation,securitycopper/-tg-station,Razharas/-tg-station,TheVekter/-tg-station,Shadowlight213/-tg-station,GuyonBroadway/HippieStation,Jordie0608/-tg-station,tgstation/tgstation,CPTANT/-tg-station,HippieStation/HippieStation,ToGWtF/yogstation,Arianya/tgstation,TehZombehz/-tg-station,4dplanner/tgstation,coiax/-tg-station,Memendia/HippieStation,Robustin/tgstation,lzimann/-tg-station,tgstation/tgstation,Cruix/-tg-station,lordpidey/-tg-station,Anonus/-tg-station,lordpidey/-tg-station,Memendia/HippieStation,XDTM/tgstation,tgstation/-tg-station,neersighted/tgstation,feemjmeem/-tg-station,Profakos/tgstation,MrStonedOne/-tg-station,QualityVan/tgstation,infinitystation/-tg-station,duncathan/-tg-station,octareenroon91/-tg-station,WJohn/-tg-station,optimumtact/-tg-station,Xhuis/tgfork,xxalpha/-tg-station,OBA-code/tgstation,TehZombehz/-tg-station,MicroWorldwide/SS13-TG-station,ShizCalev/tgstation,MicroWorldwide/SS13-TG-station,PKPenguin321/-tg-station,nicbn/tgstation,TheVekter/-tg-station,TheVekter/-tg-station,Penguaro/tgstation,Cyberboss/tgstation,Thunder12345/-tg-station,paprka/-tg-station,Incoming5643/-tg-station,Buggy123/-tg-station,TehZombehz/-tg-station,TheRealGLH/-tg-station,duncathan/-tg-station,Bawhoppen/-tg-station,paprka/-tg-station,tgstation/-tg-station,WJohn/-tg-station,nicbn/tgstation,NicholasM10/-tg-station,HippieStation/HippieStation,neersighted/tgstation,tgstation/tgstation,coiax/-tg-station,QualityVan/tgstation,coiax/-tg-station,Arianya/tgstation,Xhuis/tgfork,lzimann/tgstation,GuyonBroadway/HippieStation,CPTANT/-tg-station,xxalpha/-tg-station,HippieStation/HippieStation,WJohn/-tg-station,Xhuis/tgfork,Incoming5643/-tg-station,lordpidey/-tg-station,ToGWtF/yogstation,Jordie0608/tgstation,Penguaro/tgstation,MrStonedOne/tgstation,lzimann/tgstation,ShizCalev/tgstation,lordpidey/-tg-station,kingofkosmos/-tg-station,kevinz000/-tg-station,TalkingCactus/tgstation,Jalleo/-tg-station,Thunder12345/-tg-station,Profakos/tgstation,Xhuis/tgfork,feemjmeem/-tg-station,Cruix/-tg-station,riftstation/riftstation,duncathan/-tg-station,Incoming5643/-tg-station,feemjmeem/-tg-station,Tacolizard/tgstation,MicroWorldwide/SS13-TG-station,ChangelingRain/-tg-station,F-OS/tgstation,tgstation/tgstation,4dplanner/tgstation,Cruix/-tg-station,PKPenguin321/-tg-station,Memendia/HippieStation,Cyberboss/tgstation,CosmicScientist/-tg-station,F-OS/tgstation,CosmicScientist/-tg-station,CosmicScientist/-tg-station,xxalpha/-tg-station,securitycopper/-tg-station,Incoming5643/-tg-station,Niknakflak/-tg-station,Poojawa/tgstation-fork,GunHog/-tg-station,TheVekter/-tg-station,Jalleo/-tg-station,Robustin/tgstation,kingofkosmos/-tg-station,Profakos/tgstation,MrStonedOne/-tg-station,Cyberboss/tgstation,neersighted/tgstation,kingofkosmos/-tg-station,Poojawa/tgstation-fork,lzimann/tgstation,Buggy123/-tg-station,xxalpha/-tg-station,Xhuis/-tg-station,Mark9013100/tgstation-m9,ZioZan/tgstation,chickenboy10/tgstation,anconfuzedrock/tgstation,JStheguy/tgstation,JJRcop/tgstation,Niknakflak/-tg-station,paprka/-tg-station,F-OS/tgstation,Shadowlight213/-tg-station,Y0SH1M4S73R/-tg-station,GunHog/-tg-station,feemjmeem/-tg-station,McBawbaggings/HippieStation,Tacolizard/tgstation,Buggy123/-tg-station,optimumtact/-tg-station,PKPenguin321/-tg-station,Profakos/tgstation,GunHog/-tg-station,ohnopigeons/tgstation,kingofkosmos/-tg-station,Bawhoppen/-tg-station,ChangelingRain/-tg-station,Mark9013100/tgstation-m9,riftstation/riftstation,4dplanner/tgstation,securitycopper/-tg-station,JStheguy/tgstation,Xhuis/-tg-station,nicbn/tgstation,Buggy123/-tg-station,anconfuzedrock/tgstation,F-OS/tgstation,kingofkosmos/-tg-station,kevinz000/-tg-station,Niknakflak/-tg-station,kevinz000/-tg-station,riftstation/riftstation,MicroWorldwide/SS13-TG-station,infinitystation/-tg-station,kevinz000/-tg-station,GuyonBroadway/HippieStation,securitycopper/-tg-station,infinitystation/-tg-station,MrStonedOne/tgstation,Xhuis/tgfork,Jordie0608/-tg-station,Shadowlight213/-tg-station,JStheguy/tgstation,QualityVan/tgstation,Buggy123/-tg-station,Iamgoofball/-tg-station,MrStonedOne/tgstation,Buggy123/-tg-station,kevinz000/-tg-station,Cruix/-tg-station,JJRcop/tgstation,kevinz000/-tg-station,ohnopigeons/tgstation,infinitystation/-tg-station,Fox-McCloud/-tg-station,TheVekter/-tg-station,Fox-McCloud/-tg-station,optimumtact/-tg-station,Arianya/tgstation,HippieStation/HippieStation,JJRcop/tgstation,ChangelingRain/-tg-station,XDTM/tgstation,Jordie0608/tgstation,anconfuzedrock/tgstation,Osokorn/tgstation,feemjmeem/-tg-station,paprka/-tg-station,Fox-McCloud/-tg-station,Razharas/-tg-station,Xhuis/-tg-station,Cyberboss/tgstation,Osokorn/tgstation,ChangelingRain/-tg-station,Jordie0608/tgstation,McBawbaggings/HippieStation,ChangelingRain/-tg-station,InsaneHyena/tgstation,Jalleo/-tg-station,Anonus/-tg-station,ShizCalev/tgstation,Shadowlight213/-tg-station,SamuelRowe/-tg-station,Cyberboss/tgstation,coiax/-tg-station,McBawbaggings/HippieStation,optimumtact/-tg-station,Osokorn/tgstation,Jordie0608/tgstation,CosmicScientist/-tg-station,GuyonBroadway/HippieStation,MicroWorldwide/SS13-TG-station,paprka/-tg-station,Robustin/tgstation,kingofkosmos/-tg-station,chickenboy10/tgstation,InsaneHyena/tgstation,Jalleo/-tg-station,riftstation/riftstation,Mark9013100/tgstation-m9,NicholasM10/-tg-station,riftstation/riftstation,TheVekter/-tg-station,ohnopigeons/tgstation,GunHog/-tg-station,Incoming5643/-tg-station,Anonus/-tg-station,ShizCalev/tgstation,AnturK/-tg-station,Iamgoofball/-tg-station,Shadowlight213/-tg-station,Arianya/tgstation,tgstation/-tg-station,CosmicScientist/-tg-station,neersighted/tgstation,Profakos/tgstation,Memendia/HippieStation,AnturK/-tg-station,tgstation/tgstation,HippieStation/HippieStation,tgstation/tgstation,CPTANT/-tg-station,PKPenguin321/-tg-station,OBA-code/tgstation,MicroWorldwide/SS13-TG-station,TalkingCactus/tgstation,Niknakflak/-tg-station,SamuelRowe/-tg-station,riftstation/riftstation,securitycopper/-tg-station,F-OS/tgstation,Xhuis/tgfork,GuyonBroadway/HippieStation,Y0SH1M4S73R/-tg-station,TheRealGLH/-tg-station,Tacolizard/tgstation,QualityVan/tgstation,Jordie0608/tgstation,lordpidey/-tg-station,Razharas/-tg-station,Razharas/-tg-station,Aranclanos/-tg-station,tgstation/tgstation,ShizCalev/tgstation,TehZombehz/-tg-station,Robustin/tgstation,Robustin/tgstation,Jordie0608/tgstation,CosmicScientist/-tg-station,loqoman/tgstation,CosmicScientist/-tg-station,lordpidey/-tg-station,TheRealGLH/-tg-station,TehZombehz/-tg-station,Razharas/-tg-station,HippieStation/HippieStation,Profakos/tgstation,Penguaro/tgstation,JJRcop/tgstation,MrStonedOne/tgstation,XDTM/tgstation,CosmicScientist/-tg-station,Memendia/HippieStation,riftstation/riftstation,kevinz000/-tg-station,Mark9013100/tgstation-m9,Memendia/HippieStation,Penguaro/tgstation,NicholasM10/-tg-station,Iamgoofball/-tg-station,Fox-McCloud/-tg-station,Xhuis/-tg-station,nicbn/tgstation,erwgd/-tg-station,neersighted/tgstation,TehZombehz/-tg-station,Y0SH1M4S73R/-tg-station,Arianya/tgstation,Aranclanos/-tg-station,infinitystation/-tg-station,loqoman/tgstation,McBawbaggings/HippieStation,ChangelingRain/-tg-station,Cruix/-tg-station,Profakos/tgstation,MrStonedOne/tgstation,ohnopigeons/tgstation,octareenroon91/-tg-station,AnturK/-tg-station,Cruix/-tg-station,GuyonBroadway/HippieStation,nicbn/tgstation,InsaneHyena/tgstation,Incoming5643/-tg-station,GunHog/-tg-station,Poojawa/tgstation-fork,Incoming5643/-tg-station,CPTANT/-tg-station,Arianya/tgstation,xxalpha/-tg-station,AnturK/-tg-station,ShizCalev/tgstation,McBawbaggings/HippieStation,Jalleo/-tg-station,McBawbaggings/HippieStation,Memendia/HippieStation,XDTM/tgstation,Bawhoppen/-tg-station,Fox-McCloud/-tg-station,optimumtact/-tg-station,NicholasM10/-tg-station,F-OS/tgstation,Y0SH1M4S73R/-tg-station,JJRcop/-tg-station,Shadowlight213/-tg-station,securitycopper/-tg-station,Mark9013100/tgstation-m9,Arianya/tgstation,TehZombehz/-tg-station,paprka/-tg-station,NicholasM10/-tg-station,feemjmeem/-tg-station,duncathan/-tg-station,lordpidey/-tg-station,Thunder12345/-tg-station,GuyonBroadway/HippieStation,neersighted/tgstation,neersighted/tgstation,AnturK/-tg-station,Poojawa/tgstation-fork,tgstation/tgstation,CPTANT/-tg-station,Incoming5643/-tg-station,Poojawa/tgstation-fork,Razharas/-tg-station,MrStonedOne/-tg-station,ShizCalev/tgstation,Bawhoppen/-tg-station,feemjmeem/-tg-station,anconfuzedrock/tgstation,ChangelingRain/-tg-station,Tacolizard/tgstation,JJRcop/tgstation,kevinz000/-tg-station,F-OS/tgstation,CPTANT/-tg-station,riftstation/riftstation,Cyberboss/tgstation,Xhuis/tgfork,anconfuzedrock/tgstation,coiax/-tg-station,MrStonedOne/tgstation,CPTANT/-tg-station,TalkingCactus/tgstation,Aranclanos/-tg-station,Thunder12345/-tg-station,QualityVan/tgstation,Jalleo/-tg-station,optimumtact/-tg-station,OBA-code/tgstation,Buggy123/-tg-station,PKPenguin321/-tg-station,Jordie0608/tgstation,nicbn/tgstation,JJRcop/-tg-station,securitycopper/-tg-station,Tacolizard/tgstation,loqoman/tgstation,XDTM/tgstation,infinitystation/-tg-station,loqoman/tgstation,SamuelRowe/-tg-station,NicholasM10/-tg-station,AnturK/-tg-station,SamuelRowe/-tg-station,Poojawa/tgstation-fork,WJohn/-tg-station,Aranclanos/-tg-station,WJohn/-tg-station,MicroWorldwide/SS13-TG-station