this is the code i am using, and I get some CT errors:
The Proc:
REMBLOCK()
for(var/obj/O in world)
if(istype(O,/obj/Block))
if(O.typ== "12")
del(O)
The obj:
obj
Block
icon = 'Blocks.dmi'
icon_state = "Block"
var/typ
the CT Errors:
loading Blockheads.dme
Code.dm:85:error:O.typ:undefined var
Code.dm:85:if :warning: if statement has no effect
Blockheads.dmb - 1 error, 1 warning (double-click on an error to jump to it)
as usual my attempts at coding anything good are completely destroyed. Any help will be apreciated
PS: I've answered the same question in [link] and [link] today. Kooky.