Code:
mob/Login()
if(usr.save==0)
var/tmp/A=input("Who is your character?") in list ("Seiya", "Shiryu", "Hyoga", "Shun", "Ikki")
if(A=="Seiya") //fastest level up
src.level=1 //level of the character
src.cloth=1000 //hit points of the character(cloth)
src.maxcloth=1000
src.cosmo=100 //the power of the character(attack)
src.arm=150 //cloth resistance of the user(defense)
src.speed=20 //speed of the character
src.maxspeed=20 //maximum speed of the character
src.stamina=100 //the total energy of the character
src.exp=0 //experience of the character
src.maxexp=1 //maximum experience of the character
src.stats=0 //points you can spend on these stats
src.luck=15 //luck(chance of dodging or a critical hit)
src.icon='seiya.dmi'
src.loc= locate(1,1,1)
src.repair(usr)
src.level_up(usr)
src.death(usr)
src.verbs+=/mob/proc/PMP
Problem description:
I made that verb first a proc but am trying to add it as a verb when I choose a certain character. It works when I make it a verb that adds this verb called "add_tech()" but not under this login. I tried all sorts of ways to do this but nothing worked so I'm asking here.
src.verbs+=/mob/proc/PMP
Well, I'm not sure if it's possible to add verbs via a proc like that. . . But you could do it like this:
And then have a PMP proc like:
But normally I would just do this:
Just replace the "something" with the name of the verb.