ID:166580
 
In my game, players will be able to use titles and ranks given to them when they level up.

How can I make a verb that displays what someone has in there rank list. Somthing like...


mob
verb
Change_Rank()
//displays list, and whatever they choose from that list becomes there rank.
var/list/ranks=list("liek omg noob","not so noob","not noob","just plain noob!")
proc
Change_Rank(var/mob/promotee)
if(promotee)
promotee.rank=input("Choose a rank/title.")in ranks
promotee<<"You have been promoted to [promotee.rank]."

I wasn't really sure of what you wanted but this gives them the choice of picking their rank or title. That's what it sounded like you wanted.

-Exophus