Slimes and Booze fixes (#5378)

* Added

* Arrow requested changes
This commit is contained in:
BurgerLUA
2018-10-07 10:43:06 -07:00
committed by Erki
parent 07a247633f
commit 800ad1de64
5 changed files with 65 additions and 19 deletions

View File

@@ -166,6 +166,7 @@
color = "#0064C877"
metabolism = REM * 2
ingest_met = REM * 10
touch_met = REM * 30
taste_description = "water"
glass_icon_state = "glass_clear"
@@ -235,10 +236,9 @@
if(istype(M) && !istype(M, /mob/abstract))
M.color = initial(M.color)
/datum/reagent/water/affect_touch(var/mob/living/carbon/M, var/alien, var/removed)
if(istype(M, /mob/living/carbon/slime))
var/mob/living/carbon/slime/S = M
S.adjustToxLoss(8 * removed) // Babies have 150 health, adults have 200; So, 10 units and 13.5
/datum/reagent/water/affect_touch(var/mob/living/carbon/slime/S, var/alien, var/removed)
if(istype(S))
S.adjustToxLoss( volume * (removed/REM) * 0.23 )
if(!S.client)
if(S.Target) // Like cats
S.Target = null

View File

@@ -94,7 +94,7 @@
description = "An abstract type you shouldn't be able to see."
reagent_state = LIQUID
color = "#404030"
ingest_met = REM * 4
ingest_met = REM * 5
var/hydration_factor = 1 //How much hydration to add per unit.
var/nutriment_factor = 0.5 //How much nutrition to add per unit.
@@ -135,7 +135,7 @@
/datum/reagent/alcohol/affect_ingest(mob/living/carbon/M, alien, removed)
if(alien != IS_DIONA)
M.intoxication += (strength / 100) * removed
M.intoxication += (strength / 100) * removed * 3.5
if (druggy != 0)
M.druggy = max(M.druggy, druggy)
@@ -155,7 +155,6 @@
name = "Ethanol"
id = "ethanol"
description = "A well-known alcohol with a variety of applications."
ingest_met = REM * 0.5
flammability_divisor = 10
taste_description = "pure alcohol"
@@ -202,7 +201,7 @@
description = "A fairly harmless alcohol that has intoxicating effects on certain species."
reagent_state = LIQUID
color = "#404030"
ingest_met = REM * 0.17 //Extremely slow metabolic rate means the liver will generally purge it faster than it can intoxicate you
ingest_met = REM * 0.5 //Extremely slow metabolic rate means the liver will generally purge it faster than it can intoxicate you
flammability_divisor = 7 //Butanol is a bit less flammable than ethanol
taste_description = "alcohol"

View File

@@ -311,7 +311,7 @@
description = "A compound used to clean things. Now with 50% more sodium hypochlorite!"
reagent_state = LIQUID
color = "#A5F0EE"
touch_met = 50
touch_met = REM * 10
taste_description = "sourness"
/datum/reagent/space_cleaner/touch_obj(var/obj/O)
@@ -324,9 +324,6 @@
S.dirt = 0
T.clean_blood()
for(var/mob/living/carbon/slime/M in T)
M.adjustToxLoss(rand(5, 10))
/datum/reagent/space_cleaner/affect_touch(var/mob/living/carbon/M, var/alien, var/removed)
if(M.r_hand)
M.r_hand.clean_blood()
@@ -354,6 +351,17 @@
return
M.clean_blood()
if(istype(M,/mob/living/carbon/slime))
var/mob/living/carbon/slime/S = M
S.adjustToxLoss( volume * (removed/REM) * 0.5 )
if(!S.client)
if(S.Target) // Like cats
S.Target = null
++S.Discipline
if(dose == removed)
S.visible_message("<span class='warning'>[S]'s flesh sizzles where the water touches it!</span>", "<span class='danger'>Your flesh burns in the water!</span>")
/datum/reagent/lube
name = "Space Lube"
id = "lube"

View File

@@ -119,7 +119,7 @@
description = "Cardox is an mildly toxic, expensive, NanoTrasen designed cleaner intended to eliminate liquid phoron stains from suits."
reagent_state = LIQUID
color = "#EEEEEE"
metabolism = 0.6 // 100 seconds for 30 units to metabolise.
metabolism = 0.3 // 100 seconds for 30 units to metabolise.
taste_description = "cherry"
conflicting_reagent = /datum/reagent/toxin/phoron
strength = 1
@@ -268,7 +268,7 @@
reagent_state = SOLID
color = "#CCCCCC"
taste_description = "salty dirt"
metabolism = REM * 10
touch_met = REM * 10
breathe_mul = 0
/datum/reagent/toxin/fertilizer/monoammoniumphosphate/touch_turf(var/turf/simulated/T)
@@ -301,12 +301,13 @@
/datum/reagent/toxin/fertilizer/monoammoniumphosphate/affect_touch(var/mob/living/carbon/slime/S, var/alien, var/removed)
if(istype(S))
S.adjustToxLoss(8 * removed)
if(!S.client && S.Target)
S.Target = null
++S.Discipline
S.adjustToxLoss( volume * (removed/REM) * 0.23 )
if(!S.client)
if(S.Target) // Like cats
S.Target = null
++S.Discipline
if(dose == removed)
S.visible_message("<span class='warning'>[S]'s flesh sizzles where the liquid touches it!</span>", "<span class='danger'>Your flesh burns in the liquid!</span>")
S.visible_message("<span class='warning'>[S]'s flesh sizzles where the foam touches it!</span>", "<span class='danger'>Your flesh burns in the foam!</span>")
/datum/reagent/toxin/plantbgone
name = "Plant-B-Gone"