mob
Buster
verb
Buster_Call()
set category = "Skills"
if(bustercall == 1)
usr << output("There is already a bustercall ongoing!","SM")
return
else
world << output("<font color= blue> {[usr.rank]} [usr] has started a Buster Call!","SM")
bustercall = 1
usr.verbs += typesof(/mob/bustend/verb)
for(var/mob/M in world)
if(M.class == "Marine")
if(M.rank == "Vice Admiral")
switch(input("[usr] has invited you to a Buster Call!","Invitation") in list("Accept","Decline"))
if("Accept")
if(buster ==5)
M << output("You are too late! all spots have been filled!","SM")
return
else
M.loc = locate(usr.x,usr.y+1,usr.z)
buster +=1
return
if("Decline")
return
if(M.rank == "Admiral")
switch(input("[usr] has invited you to a Buster Call!","Invitation") in list("Accept","Decline"))
if("Accept")
if(buster ==5)
M << output("You are too late! all spots have been filled!","SM")
return
else
M.loc = locate(usr.x,usr.y+1,usr.z)
buster +=1
return
if("Decline")
return
if(M.rank == "Fleet Admiral")
switch(input("[usr] has invited you to a Buster Call!","Invitation") in list("Accept","Decline"))
if("Accept")
if(buster ==5)
M << output("You are too late! all spots have been filled!","SM")
return
else
M.loc = locate(usr.x,usr.y+1,usr.z)
buster +=1
return
if("Decline")
return
else
return
else
return
Problem description:
Well what i am trying to achieve is for the verb to send out invitation to the group of people in the world with the ranks specifyed.. but no one recieves them.. reasons to why?