var
list/bodyparts
proc/Binitial()
for(var/E in typesof(/obj/body)-/obj/body)
bodyparts += new E
world << E
Problem description:
runtime error: type mismatch: Adrenals (/obj/body/organs/adrenals) += Adrenals (/obj/body/organs/adrenals)
proc name: Binitial (/mob/proc/Binitial)
usr: ANiChowy (/mob)
src: ANiChowy (/mob)
call stack:
ANiChowy (/mob): Binitial()
ANiChowy (/mob): bodytest()
:(
I have no clue how to fix this, any help?
(Basically, the for() loop is supposed to add all the types of /obj/body to the list bodyparts, also the proc is called by a verb)