world/loop_checks=0
mob/verb/Serum2()
set category = "Kate"
var/Treats= 0
var/Cycles= 0
var/Start= input("Choose Base IV") as num
Begin
while(Start < 31)
var/IV=roll(1,20)
if(IV <= 3)
++Cycles
--Start
sleep(1)
goto Begin
if(IV >=4 && IV <= 13)
++Cycles
++Treats
world<< "Cycles: [Cycles]/ Treatments: [Treats]"
if(IV >=14)
if(Start==31)
++Cycles
++Treats
world<< "Cycles: [Cycles]/ Treatments: [Treats]"
else
++Cycles
++Start
sleep(1)
goto Begin
Problem description:
It continues to crash dream seeker despite my manual average of, at most, 90 rolls. Does anyone have tips for stopping it from crashing?
Even tried with a start number of 30
1) Don't use goto.
2) Your while() has nothing inside of it.
3) Don't use goto.
You can accomplish this entire thing with a few nested loops, I recommend reading up on while() in the reference since you're misusing it badly.