mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 18:02:57 +00:00
Makes pool actually check for the reagent instead of checking for a number.
This commit is contained in:
@@ -210,7 +210,7 @@
|
|||||||
for(var/datum/reagent/R in reagents.reagent_list)
|
for(var/datum/reagent/R in reagents.reagent_list)
|
||||||
if(R.reagent_state == SOLID)
|
if(R.reagent_state == SOLID)
|
||||||
R.reagent_state = LIQUID
|
R.reagent_state = LIQUID
|
||||||
if(!swimee.reagents.has_reagent(POOL_NO_OVERDOSE_MEDICINE_MAX))
|
if(!swimee.reagents.has_reagent(R.type,POOL_NO_OVERDOSE_MEDICINE_MAX))
|
||||||
swimee.reagents.add_reagent(R.type, 0.5) //osmosis
|
swimee.reagents.add_reagent(R.type, 0.5) //osmosis
|
||||||
reagents.reaction(swimee, VAPOR, 0.03) //3 percent. Need to find a way to prevent this from stacking chems at some point like the above.
|
reagents.reaction(swimee, VAPOR, 0.03) //3 percent. Need to find a way to prevent this from stacking chems at some point like the above.
|
||||||
for(var/obj/objects in W)
|
for(var/obj/objects in W)
|
||||||
|
|||||||
Reference in New Issue
Block a user