var
list/
EspadaMembers = list()
mob/Espada_Leader
verb
Espada_Invite()
set category = "Espada"
var/list/Menu = list()
for(var/mob/M in world)
if(!M.client) continue
if(M.name != usr.name)
if(M.squad == "")
if(M.race == "Arrancar")
Menu.Add(M)
var/mob/M = input("Who do you want to recruit?","[usr.squad]") as null | anything in Menu
if(!M)return
if(istype(M,/mob))
switch(alert(M,"Do you want to join the [usr.squad]?","","Yes","No"))
if("Yes")
EspadaMembers += 1
M.squad = usr.squad
M.status = "Member"
M.Give_Espada_Verbs()
world << "<b><font color = yellow>Espada Info: [M] has joined the [usr.squad]!"
if("No")
usr << "[M] has rejected!"
return
Espada_Boot()
set category = "Espada"
var/list/Menu = list()
for(var/mob/M in world)
if(!M.client) continue
if(M.name != usr.name)
if(M.squad == usr.squad)
Menu.Add(M)
var/mob/M = input("Who do you want to boot from the Espada?","[usr.squad]") as null | anything in Menu
if(!M)return
if(istype(M,/mob))
if(M.status == "Leader")
alert("You cannot boot the Leader!")
return
switch(alert("Are you sure that you want to boot [M] from the [usr.squad]?","","Yes","No"))
if("Yes")
world << "<b><font color = yellow>Espada Info: [usr] has booted [M] from the [usr.squad]!"
M.leaveespada()
M.squad = ""
M.status = ""
if("No")
return
Espada_Announce(T as text)
set category = "Espada"
var/list/L
L = list("font size")
if(lentext(T) > 400)
alert("Your message must be less than 400 characters!")
return
for(var/X in L)
if(findtext(T,X))
alert("You can not change your font size.")
return
for(var/mob/X in world)
if(X.squad == usr.squad)
X << "<font size=1><font color = silver><b><center>[usr.status] [usr] would like to announce to the Espada:<center><br>[T]"
mob/Espada_Verbs
verb
Espada_Say(T as text)
set category = "Espada"
var/list/L
L = list("font size")
if(lentext(T) > 300)
alert("Your message must be less than 300 characters!")
return
for(var/X in L)
if(findtext(T,X))
alert("You can not change your font size.")
return
for(var/mob/X in world)
if(X.squad == usr.squad)
X << "<b><font color = yellow>(Espada Say)([src.status])[src.name]: [T]"
Espada_Who()
set category = "Espada"
var/tmp/C = 0
usr << "<font size=1><b><font color=yellow><center>-Online Espada Members-"
for(var/mob/M in world)
if(M.squad == usr.squad)
C += 1
usr << "<font size=1><b><font color=red>[M.status] [M.name]"
usr << "<b><font color = red>[C] Espada Members Online!"
Espada_Leave()
set category = "Espada"
switch(alert("Are you sure about leaving the [src.squad]?","","Yes","No"))
if("Yes")
src.leaveespada()
world << "<b><font color = yellow>Espada Info: [usr] has left the [usr.squad]!"
src.squad = ""
src.status = ""
if("No")
return
mob
proc
Give_Espada_Verbs()
if(src.status == "Leader")
src.verbs += typesof(/mob/Espada_Leader/verb)
src.verbs += typesof(/mob/Espada_Verbs/verb)
if(src.status == "Member")
src.verbs += typesof(/mob/Espada_Verbs/verb)
src.verbs -= typesof(/mob/Espada_Leader/verb)
leaveespada()
src.verbs -= typesof(/mob/Espada_Leader/verb)
src.verbs -= typesof(/mob/Espada_Verbs/verb)
if(usr.race == "Arrancar")
if(usr.squad != "Espada")
if(usr.status == "Leader")
src.verbs += typesof(/mob/Espada_Leader/verb)
src.verbs += typesof(/mob/Espada_Verbs/verb)
if(usr.status == "Member")
usr.verbs += typesof(/mob/Espada_Verbs/verb)
else
usr.verbs += typesof(/mob/Espada_Verbs/verb)
Make_Espada(mob/M in world)
set category = "GM"
if(usr.lock)
return
if(M.race == "Arrancar")
world << "<b><font color = aqua>Upgrade Info: [M] is now Espada!"
M.status = "Leader"
var/obj/captain/C = new/obj/captain
C.loc = M
Remove_Espada(mob/M in world)
set category = "GM"
if(usr.lock)
return
world << "<b><font color = aqua>Upgrade Info: [M] is not espada anymore!"
M.status = "Member"
for(var/obj/captain/K in M)
del K
Problem description:
Ok the prob is that its not showing the leader verbs. The Top is the code itself The middle is wat im using to make the tab appear and the bottom is the code String to make the user a espada
it compiles with out errors and and the tab shows up but it wont give the leader the leader verbs if anyone can help plz do