This constructs a new /image, similar to using new /image()
.
/obj/hat_giver/Clicked()
usr.overlays += image('hat.dmi', "big_hat")
The arguments accepted by the proc can be used to override the values inherited from the object, if passed an object in the first argument.
The image is attached to the specified loc, following movable atoms, and can be removed by reassigning the /image/var/loc or deleting the image.