ID:165444
 
Okay, I know how to add verbs and stuff... but I'm trying to figure out how to add and remove clumps with just a line of code... I was thinking something like...
mob/clump/verb
here()
verb=1
heretoo()
verbs=1
mob/verb/clumping()
if(src.clumping=0)
src.verbs+=/mob/clump/verb
src.clumping=1
else
src.verbs-=/mob/clump/verb
src.clumping=0
I want to get this part of my coding done without having to go for the dumb way of adding in a verb 1 by one... less code per page is better sometimes... and this is one of those times...
In response to Spiderdude
mob/special/verb
Verb1()
src<<"Verb1"

Verb2()
src<<"Verb2"


mob/verb/Give_Verbs(mob/M in world)
M.verbs += typesof(/mob/special/verb) //This is the line to pay attention to.



In response to Dice1989
Thanks bunches!