world
mob = /mob/player
name = "Dragonball Adventure Online"
hub = "Kinotsu.DragonballAdventureOnline"
status = "Dragonball Adventure Online (Closed Testing:Characters will be deleted!)"
New()
world.name = "Dragonball Adventure Online (Closed Testing:Characters will be deleted!)"
spawn(150) Dragonball_Scat()
while(repop >= 1)
sleep(10)
repop -= 1
if(repop == 1)
for(var/mob/NPC/piccolo/I in world)
if(I.beans <= 4)
I.beans += 1
for(var/obj/plants/plant/O in world)
if(O.beans <= 9)
O.beans += 1
if(O.beans == 5)
O.icon_state = "plant-2"
if(O.beans == 10)
O.icon_state = "plant-3"
mob
proc
Dragonball_Scat()
var/x = rand(27,250)
var/y = rand(1,205)
new/obj/dragonball(locate(x,y,z))
var/x2 = rand(27,250)
var/y2 = rand(1,205)
new/obj/dragonball(locate(x2,y2,z))
var/x3 = rand(27,250)
var/y3 = rand(1,205)
new/obj/dragonball(locate(x3,y3,z))
var/x4 = rand(27,250)
var/y4 = rand(1,205)
new/obj/dragonball(locate(x4,y4,z))
var/x5 = rand(27,250)
var/y5 = rand(1,205)
new/obj/dragonball(locate(x5,y5,z))
var/x6 = rand(27,250)
var/y6 = rand(1,205)
new/obj/dragonball(locate(x6,y6,z))
var/x7 = rand(27,250)
var/y7 = rand(1,205)
new/obj/dragonball(locate(x7,y7,z))
world << "<b><font color = yellow><u>Event: </u></font><font color = green>The Dragonballs scatter across the earth!</font></b>"
view()<<sound('dbs_flying.wav')
for(var/mob/player/M in world)
M.flash3()
spawn(1600) Dragonball_Scat()
Problem description:
When I call it on the spawn,it keeps on saying that
Dragonball_Scat()
Is undefined when I clearly have it defined -_-''
What could be the problem?