turf/ClanM
density=1
Click()
winshow(usr, "clan1", 1)
mob/var/tmp
clanchosen = 0
mob
clan
verb
uzumaki()
if(usr.clanchosen)
return
switch(input("Uzumaki specialize in clones?", "Uzumaki") in list ("Yes","No"))
if("Yes")
usr.clanchosen = 1
if("No")
usr.clanchosen = 0
return
Problem description:
the code compiles with no error's or warning the skin for clan selection shows up fine but when I click on the button to select the uzumaki clan it says Unrecognized or inaccessible verb: uzumaki i have tried to fix this with several different methods but nothing works those methods are mob/clan/verb/uzumaki,uzumaki,and uzumaki() but still nothing if anyone wants to either tell me what im doing wrong here or direct me to a page that can help me fix this i would really appreciate it
It's not Unrecognized since it exists, so it must be inaccessible. Basic logic like this makes a game!
Your verb is under /mob/clan, while the player only has the verbs under just /mob. You're going to have to give the player those verbs to be accessible to him.
To give or take verbs from someone, use the built-in verbs list.