if(status_tab_on)
statpanel("Status")
if(statpanel("Status")) if(!afk)
for(var/obj/SFocus/Age/ADis in src)
ADis.suffix="Age [round(Age,0.1)] \[Soul Age [round(Real_Age,0.1)]\]"
stat(ADis)
if(GodKi) for(var/obj/God_Ki/GK in src)
GK.suffix="[AllowGodSense ? "\[Enabled\]":"\[Hidden\]"]"
stat(GK)
for(var/obj/SFocus/Skill_Leeching/LDis in src)
LDis.suffix="[Skill_Leech_On ? "On" : "Off"]"
stat(LDis)
for(var/obj/SFocus/Lethality/LDis in src)
LDis.suffix="[Lethality ? "On" : "Off"] [Spar ? "\[Pulling Punches\]" : ""]"
stat(LDis)
if(Temperature) stat("Status: [Temperature]")
// if(Poisoned>Immunity) stat("Status: Poisoned x[Poisoned-Immunity]")
stat("-------------")
if(WeightedStats>SoftStatCap*7) stat("--(Total Stats Capped)--")
if(Gravity<=10&&Health<0) Health=0
if(Ki<0) Ki=0
if(src)
//StatNameAssign()
for(var/obj/SFocus/Battle_Power/SFBP in src)
SFBP.suffix="(Multiplier)"
if(FBMAchieved==1) SFBP.suffix="(Multiplier) (FBM Achieved)"
if(FBMAchieved==2) SFBP.suffix="(Multiplier) (Ascension Achieved)"
if(Super_Tsufu_Learned) SFBP.suffix="[SFBP.suffix.] (Super Tuffle)"
stat(SFBP)
for(var/obj/SFocus/Energy/SFEn in src)
if(BaseMaxKi>EnergyHardCap*KiMod) SFEn.suffix="[round(Ki)] \[[KiMod]x\] [BaseMaxKi>EnergySoftCap*KiMod? "(Hard Capped)":""]"
else if(BaseMaxKi>EnergySoftCap*KiMod) SFEn.suffix="[round(Ki)] \[[KiMod]x\] [BaseMaxKi>EnergySoftCap*KiMod? "(Soft Capped)":""]"
else SFEn.suffix="[round(Ki)] \[[KiMod]x\]"
stat(SFEn)
for(var/obj/SFocus/Strength/SFStr in src) stat(SFStr)
for(var/obj/SFocus/Endurance/SFEnd in src) stat(SFEnd)
for(var/obj/SFocus/Force/SFFor in src) stat(SFFor)
for(var/obj/SFocus/Resistance/SFRes in src) stat(SFRes)
for(var/obj/SFocus/Speed/SFSpd in src) stat(SFSpd)
for(var/obj/SFocus/Offense/SFOff in src) stat(SFOff)
for(var/obj/SFocus/Defense/SFDef in src) stat(SFDef)
sleep(Stat_Lag)
Problem description:
https://gyazo.com/ccc95276103dc0360c6e11497d0bf75d
(took like 5-10 seconds after this for info to populate)
I adjusted stat lag in game to see if that was the cause, and even with stat lag at 0.1, the time to load the tab is PAINFULLY slow.
In game experience does not slow or lag while tabs are loading, it is merely the tabs