ID:2483495
 
Code:
atom/var
particletype = new/obj/decal

atom/proc/TEST()
world << src.particletype


Problem description: expression (world << src.particletype) brings no result. Please explain to me what is wrong.

I want to create new objects and assign them to variables. For example, I want to set the weapon of a creature; "mob/creature/var/obj/item/weapon = new/obj/weapon"</<>