mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-24 05:23:22 +01:00
Removed most reagent stuffs from water turf (#19005)
Removed most reagent stuffs from water turf, they were hogging the server CPU
This commit is contained in:
@@ -61,8 +61,6 @@
|
||||
/turf/simulated/floor/exoplanet/water/Entered(atom/movable/AM, atom/oldloc)
|
||||
if(!(SSATOMS_IS_PROBABLY_DONE))
|
||||
return
|
||||
reagents.add_reagent(/singleton/reagent/water, 2)
|
||||
clean(src)
|
||||
var/obj/structure/lattice/lattice = locate(/obj/structure/lattice, src)
|
||||
if(lattice)
|
||||
return
|
||||
@@ -80,8 +78,6 @@
|
||||
/turf/simulated/floor/exoplanet/water/Exited(atom/movable/AM, atom/newloc)
|
||||
if(!SSATOMS_IS_PROBABLY_DONE)
|
||||
return
|
||||
reagents.add_reagent(/singleton/reagent/water, 2)
|
||||
clean(src)
|
||||
var/obj/structure/lattice/lattice = locate(/obj/structure/lattice, src)
|
||||
if(lattice)
|
||||
return
|
||||
@@ -96,7 +92,6 @@
|
||||
..()
|
||||
|
||||
/turf/simulated/floor/exoplanet/water/process()
|
||||
reagents.add_reagent(/singleton/reagent/water, 2)
|
||||
clean(src)
|
||||
for(var/mob/living/L in src)
|
||||
var/obj/structure/lattice/lattice = locate(/obj/structure/lattice, src)
|
||||
@@ -177,11 +172,6 @@
|
||||
|
||||
/turf/simulated/floor/exoplanet/water/proc/wash(atom/movable/O)
|
||||
|
||||
var/obj/effect/effect/water/W = new(O)
|
||||
W.create_reagents(100)
|
||||
W.reagents.add_reagent(/singleton/reagent/water, 100)
|
||||
W.set_up(O, 100)
|
||||
|
||||
if(ishuman(O))
|
||||
var/mob/living/carbon/human/H = O
|
||||
H.wash()
|
||||
|
||||
Reference in New Issue
Block a user