mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Merge pull request #16722 from DrSnips/anti-lube
Adds sodium polyacrylate
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
#define VACCINE "vaccine"
|
||||
#define WATER "water"
|
||||
#define LUBE "lube"
|
||||
#define SODIUM_POLYACRYLATE "sodium_polyacrylate"
|
||||
#define PHALANXIMINE "phalanximine"
|
||||
#define TOXIN "toxin"
|
||||
#define PLASTICIDE "plasticide"
|
||||
|
||||
@@ -540,6 +540,26 @@
|
||||
if(volume >= 1)
|
||||
T.wet(800, TURF_WET_LUBE)
|
||||
|
||||
/datum/reagent/sodium_polyacrylate
|
||||
name = "Sodium Polyacrylate"
|
||||
id = SODIUM_POLYACRYLATE
|
||||
description = "A super absorbent polymer that can absorb water based substances."
|
||||
reagent_state = SOLID
|
||||
color = "#FFFFFF"
|
||||
density = 1.22
|
||||
specheatcap = 4.14
|
||||
|
||||
/datum/reagent/sodium_polyacrylate/reaction_turf(var/turf/simulated/T, var/volume)
|
||||
|
||||
if(..())
|
||||
return 1
|
||||
|
||||
if(T.wet)
|
||||
if(!locate(/obj/effect/decal/cleanable/molten_item) in T)
|
||||
var/obj/effect/decal/cleanable/molten_item/I = new/obj/effect/decal/cleanable/molten_item(T)
|
||||
I.desc = "A bit of gel left over from sodium polyacrylate absorbing liquid."
|
||||
T.dry(TURF_WET_LUBE) //Absorbs water or lube
|
||||
|
||||
/datum/reagent/anti_toxin
|
||||
name = "Anti-Toxin (Dylovene)"
|
||||
id = ANTI_TOXIN
|
||||
|
||||
@@ -237,6 +237,27 @@
|
||||
required_reagents = list(WATER = 1, SILICON = 1, OXYGEN = 1)
|
||||
result_amount = 4
|
||||
|
||||
/datum/chemical_reaction/sodium_polyacrylate
|
||||
name = "Sodium Polyacrylate"
|
||||
id = SODIUM_POLYACRYLATE
|
||||
result = SODIUM_POLYACRYLATE
|
||||
required_reagents = list(CARBON = 3, HYDROGEN = 3, SODIUM = 1, OXYGEN = 2)
|
||||
result_amount = 8
|
||||
|
||||
/datum/chemical_reaction/spoly_absorb_water
|
||||
name = "Absorb Water"
|
||||
id = "absorbwater"
|
||||
result = CHEMICAL_WASTE
|
||||
required_reagents = list(SODIUM_POLYACRYLATE = 0.3, WATER = 1)
|
||||
result_amount = 0.3
|
||||
|
||||
/datum/chemical_reaction/spoly_absorb_lube
|
||||
name = "Absorb Lube"
|
||||
id = "absorblube"
|
||||
result = CHEMICAL_WASTE
|
||||
required_reagents = list(SODIUM_POLYACRYLATE = 0.3, LUBE = 1)
|
||||
result_amount = 0.3
|
||||
|
||||
/datum/chemical_reaction/sludge
|
||||
name = "Sludge"
|
||||
id = TOXICWASTE
|
||||
|
||||
Reference in New Issue
Block a user