mob/Owner3
verb
Make_Player()
set name = "Make Kage/Leader/Org"
set category = "Ranks"
var/varMakings = list()
for(var/mob/M in world)
if(!M.key) continue
varMakings += M
var/E = input("Who would you like to give Rank to?","Ranks") in varMakings + list("Cancel")
if(E == "Cancel")
return
if(E:client)
if(E != null)
var/list/Make_Player = list()
if(usr.key == "NarutoBleach"||usr.key == "Blaise12"||usr.key == "Supemage"||usr.key == "Captain kioto")
Make_Player += "Kage"
Make_Player += "Akatsuki"
Make_Player += "Organization XIII"
Make_Player += "Captain"
Make_Player += "Vongola"
Make_Player += "Sound"
Make_Player += "Medic"
Make_Player += "Hawk"
Make_Player += "Seven Swordsmen"
if(usr.Kage||usr.key in Makings)
Make_Player += "Genin"
Make_Player += "Chuunin"
Make_Player += "Jounin"
Make_Player += "Hunter-nin"
Make_Player += "Anbu"
Make_Player += "Anbu Captain"
Make_Player += "Sannin"
if(usr.AkatsukiLeader||usr.key in Makings)
Make_Player += "Akatsuki Member"
if(usr.Organization13Leader||usr.key in Makings)
Make_Player += "Organization XIII Member"
Make_Player += "Organization XIII Apperentice"
if(usr.Organization13Member||usr.key in Makings)
Make_Player += "Organization XIII Apperentice"
if(usr.Captain||usr.key in Makings)
Make_Player += "Lieutenant"
if(usr.Lieutenant||usr.key in Makings)
Make_Player += "Squad invite"
if(usr.SevenLeader||usr.key in Makings)
Make_Player += "Seven Swordsmen Member"
var/T = input("What rank do you want to give [E]?","Make Player", text) in Make_Player + list("Cancel")
switch(T)
if("Cancel")
return
if("Kage")
switch(input("What Kage would you like to give?", text) in list ("Leaf","Dark","Cloud","Grass","Rain","Mist","Rock","Sand","Snow","Star","Water","Sound"))
if("Leaf")
if(E:Village == "Leaf")
E <<"You have been made Hokage!"
world<<"[E] is now Hokage!"
E:rank = "Kage"
E:cap = Mcap
E:squads=1
E:Kage = 1
if(E:GM > 1)
return
else
E:GM = 1
E:squad="Hokage"
var/obj/HokageHat/B = new/obj/HokageHat
B.loc = E
var/obj/HokageSuit/C = new/obj/HokageSuit
C.loc = E
E:verbs += typesof(/mob/Kage/verb)
E:verbs += typesof(/mob/Host/verb)
else
usr<<"Their not from the village of Leaf."
mob/NarutoBleach
verb
GiveMakePlayer(var/mob/M in world)
set name = "Give verb to kage"
set category = "Owner"
M.verbs += typesof(/mob/Owner3/verb)
Problem description:
Right here is a verb for make kage/leader/org for an owner.. I made it so w/e ranking you have you get list of w/e like kage you get make Genin and w/e... but when I'm in game, I tried to do it, and game another character the verb, but it don't seem to work...
Is it the codings that wrong?
Is it that this is not a possible coding?
Help please. Thank you.
And is not a plausible code by the looks of things.