var/new/list=Inventory()
for(var/I in src.contents)
if(!istype(I,/obj/NAME/))
Inventory += I
Well, I put that in but I got 15 errors...shown below:
mobs.dm:1:error:Inventory:undefined proc
mobs.dm:1:error:/list:bad variable definition
mobs.dm:1:error:new :invalid variable name: reserved word
mobs.dm:2:error:I:duplicate definition
mobs.dm:2:error:src.contents:duplicate definition
mobs.dm:2:error:in :instruction not allowed here
mobs.dm:2:error::empty type name (indentation error?)
mobs.dm:3:error:I:duplicate definition
mobs.dm:3:error:/obj/enrage/:duplicate definition
mobs.dm:3:error::empty type name (indentation error?)
mobs.dm:4:error:Inventory:duplicate definition
mobs.dm:4:error:I:duplicate definition
mobs.dm:4:error:+= :instruction not allowed here
mobs.dm:4:error::empty type name (indentation error?)
mobs.dm:3:error::empty type name (indentation error?)
Where should I put this to make it work? Where is there a mistake? I need some help.
~Century0
DBC Coder
Ninja Gaiden Coder
Seven Shards of Time Coder
/var/list/Inventory = list()
I really don't know why you have that though...src.contents is built in and you can just use that I think....