ID:261839
 
Well, I am trying to make a verb only for gms that allows them to delete all of the turf.waters in my game all at once from the click of the verb ONCE! Unfortuanetly I havnt succeeded, the code is bellow, no errors, if comments are needed just ask but the code seems to be fairly simply to understand. Thanks for any help provided, The Conjuror.

turf/water
icon = 'water.dmi'
density = 1

var
water

turf
water
verb
Aquarioses()
set category = "Spells"
set src in oview(100)
for(var/mob/DM)
if(isturf(water))
del water
The Conjuror wrote:
turf
water
verb
Aquarioses()
set category = "Spells"
set src in oview(100)
for(var/mob/DM)
if(isturf(water))
del water

If you want to delete all of the water turfs, you'll need to loop through them, not the /mobs.

mob/verb/Delete_Water()
for(var/turf/water/W)
del(W)
In response to Malver
THANKS!!!