Water Sponge Pool

Pool now adds water to people in it who have the Water Sponge Trait
This commit is contained in:
Alphas00
2024-06-08 12:08:51 +02:00
parent c7cc5777de
commit bcbd39ac60
@@ -82,3 +82,10 @@
visible_message("[attached] is detached from [src]")
attached = null
return
/obj/machinery/pool/controller/process_reagents()
for(var/turf/open/pool/W in linked_turfs)
for(var/mob/living/carbon/human/swimee in W)
if(HAS_TRAIT(swimee, TRAIT_WATER_SPONGE))
swimee.reagents.add_reagent(/datum/reagent/water, 5)
..()