Verbs(L)
for(var/M in typesof(L))
if(L==M) continue
Verbs(M)
var/list/verbList=list()
for(var/M in typesof(text2path("[L]/verb"))) verbList+=M
return verbList
Problem description:
I want it to index everything so that I don't have to go through each thing individually. As it is this is what I had thought of. Where upon calling Verbs(/mob) the value returned would be the list of indexed verbs. The issue I'm having is that text2path does not recognize verb paths. The resulting return from text2path("[L]/verb") is always NULL, as well as is the return from text2path("[L]/verb/"). Any work arounds?