ID:170321
 
I was just wondering if its possible to make and effect in the manner of Thermal Goggles,

ie if you equip the goggles it adds a red overlay to the all turfs like the floor and a black overlay to all the turfs that you cant walk on and a red overlay for all the mobs in the world...


im not looking for the code but if you could point me in the right direciton once again it would be nice.


thank you


*edit*

ive tried using the image proc and i can get it to display everything but now i cant get it to delete when i have unequipped my goggles, here is the code:
Equip_Equipment()
set category = "Weapons/Items"
src.suffix+="Equipment"
usr.equipment = src.icon_state
usr.see_invisible = 1
for(var/mob/Predator/M in world)
var/image/P = image('predator thermal.dmi', M)
usr << P
for(var/mob/Xenomorph/M in world)
var/image/X = image('xenomorph thermal.dmi', M)
usr << X
for(var/turf/floor/M in world)
var/image/F = image('thermal.dmi', M)
usr << F
for(var/turf/wall/M in world)
var/image/W = image('thermal.dmi', M)
usr << W


Unequip_Equipment()
set category = "Weapons/Items"
if(!usr.equipment)
alert("You don't have this equipped.","Notice:")
else
for(var/image/P in world)
del(P)
for(var/image/X in world)
del(X)
for(var/image/F in world)
del(F)
for(var/image/W in world)
del(W)
src.suffix = ""
usr.equipment = ""
usr.see_invisible = 0




It just wont delete anything...

I'm stuck...