obj
Fire
icon = 'fire.dmi'
icon_state = "fire1"
New()
spawn while(2)
sleep(7)
var/obj/Fire/F
var/random = rand(1,8)
if(random==1)
F = new(src.loc)
step_rand(F)
while(F)
var/obj/O=F.loc
if(O.density)
del(F)
Problem description:
What I want is for the fire not to be able to go through the dense objects such as a wall, but it does and it produces a Inf Loop also.
Setting network delay to 0.
Infinite loop suspected--switching proc to background.
If it is not an infinite loop, either do 'set background=1'> or set world.loop_checks=0.
proc name: New (/obj/Fire/New)
usr: Calus CoRPS (/mob)
src: (/obj/Fire)
call stack:
(/obj/Fire): New( (5,5,2) (/turf))