mob/verb/Select_Draftee(mob/M as mob in draftees)
if(draft_round == 1&&draft_pick==1)
for(var/obj/Round1_Pick1/A in usr.contents)
if(A)
usr.Football_Team+=M //invalid expression *error*
usr.userdraft = 0
view()<<"[usr], owner of the [fb_teamname] has drafted [M]!"
This verb is used to select a draftee in my professional sports draft.
What im trying to do is when you attempt to draft a mob, it will check for the item, if no item, no draft; if you have the item it gets erased and it also checks everyone elses inventory for the same item. Can anyone help me out here?
if(locate((/obj/Round1_Pick1) in usr.contents))