Beampower.dm:13:error:M.deathcheck:undefined proc
Beampower.dm:36:error:Trail_Type:undefined var
Beampower.dm:19:error:src.Trail_Type:undefined var
Beampower.dm:23:error:src.Trail_Type:undefined var
Beampower.dm:43:error:M.deathcheck:undefined proc
Beampower.dm:46:error:src.Delete_Time:undefined var
obj
techniques
var
Beam_Type
Ki_Blast
Beam_Type=/obj/beams/Ki_Blast
beams
proc
Explode()
for(var/mob/M in view(src.Blast_Radius,src))
spawn()
M.powerlevel=max(M.powerlevel-max(round(src.damage/get_dist(src,M)),1),0)
M.deathcheck(src.Owner)
Moving()
while(src.moves)
src.moves--
var/turf/T=src.loc
step(src,src.dir)
if(src.Trail_Type)
if(T)
var/obj/beams/Beam=locate() in T.loc
if(!Beam)
Beam=new src.Trail_Type(T.loc)
Beam.Owner=src.Owner
Beam.dir=src.dir
sleep(src.Move_Timer)
del(src)
var
Blast_Radius=3
Move_Timer=10
damage=0
moves=10
tmp
mob
Owner
Trail_Type=/obj/beams/trail
head
Bump(atom/A)
if(ismob(A))
var/mob/M=A
M.powerlevel=min(max(M.powerlevel-src.damage,0),src.maxpowerlevel)
spawn(1)
M.deathcheck(src.Owner)
del(src)
New()
spawn(src.Delete_Time)
del(src)
mob
var
obj
techniques
currtech
tmp
obj
beams
Blast
verb
Blast()
if(!src.Blast)
src.Blast=new src.currtech.Beam_Type(src.loc)
Blast.dir=src.dir
Blast.Owner=src
spawn(1)
Blast.Moving()
client
North()
if(mob.Blast)
mob.Blast.dir=NORTH
step(mob.Blast,mob.Blast.dir)
return
return ..()
South()
if(mob.Blast)
mob.Blast.dir=SOUTH
step(mob.Blast,mob.Blast.dir)
return
return ..()
East()
if(mob.Blast)
mob.Blast.dir=EAST
step(mob.Blast,mob.Blast.dir)
return
return ..()
West()
if(mob.Blast)
mob.Blast.dir=WEST
step(mob.Blast,mob.Blast.dir)
return
return ..()
Southwest()
if(mob.Blast)
return
return ..()
Southeast()
if(mob.Blast)
return
return ..()
Northwest()
if(mob.Blast)
return
return ..()
Northeast()
if(mob.Blast)
return
return ..()
Center()
if(mob.Blast)
spawn(1)
mob.Blast.Explode()
return
return ..()
obj
beams
Ki_Blast
icon = 'turfs.dmi'
icon_state="head"
density = 1
obj
beams
trail
icon = 'turfs.dmi'
icon_state="trail"
density = 1
How can i fix those?
The compiler is telling your the obvious Trail_Type and Delete_Time AREN'T defined, so define them. deathcheck() isn't defined anywhere too, so make a proc called deathcheck.