mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-14 17:36:52 +01:00
Aut'akh Integrated Ethanol Burner Augment (#17643)
This commit is contained in:
@@ -350,6 +350,12 @@
|
||||
path = /obj/item/organ/internal/augment/venomous_rest
|
||||
cost = 1
|
||||
|
||||
/datum/gear/augment/autakh/ethanol_burner
|
||||
display_name = "integrated ethanol burner"
|
||||
description = "An augment spearheaded by the Dreg Aut'akh beneath Eridani, and perfected by the Razortails on Biesel, this burner lets Unathi consume ethanol with no health complications."
|
||||
path = /obj/item/organ/internal/augment/ethanol_burner
|
||||
cost = 1
|
||||
|
||||
/datum/gear/augment/autakh/eyes
|
||||
display_name = "eye augment selection"
|
||||
description = "A selection of au'takh eye augments."
|
||||
|
||||
@@ -425,6 +425,10 @@
|
||||
name = "integrated fuel cell"
|
||||
organ_tag = BP_AUG_FUEL_CELL
|
||||
|
||||
/obj/item/organ/internal/augment/ethanol_burner
|
||||
name = "integrated ethanol burner"
|
||||
organ_tag = BP_AUG_ETHANOL_BURNER
|
||||
|
||||
// Geeves!
|
||||
/obj/item/organ/internal/augment/language
|
||||
name = "language processor"
|
||||
|
||||
@@ -197,14 +197,20 @@
|
||||
/singleton/reagent/alcohol/affect_ingest(var/mob/living/carbon/human/M, var/alien, var/removed, var/datum/reagents/holder)
|
||||
if(!istype(M))
|
||||
return
|
||||
|
||||
var/has_valid_aug = FALSE
|
||||
var/obj/item/organ/internal/augment/ethanol_burner/aug = M.internal_organs_by_name[BP_AUG_ETHANOL_BURNER]
|
||||
if(aug && !aug.is_broken())
|
||||
has_valid_aug = TRUE
|
||||
|
||||
var/obj/item/organ/internal/parasite/P = M.internal_organs_by_name["blackkois"]
|
||||
if((alien == IS_VAURCA) || (istype(P) && P.stage >= 3))//Vaurca are damaged instead of getting nutrients, but they can still get drunk
|
||||
if(!has_valid_aug && (alien == IS_VAURCA || (istype(P) && P.stage >= 3)))//Vaurca are damaged instead of getting nutrients, but they can still get drunk
|
||||
M.adjustToxLoss(1.5 * removed * (strength / 100))
|
||||
else
|
||||
M.adjustNutritionLoss(-nutriment_factor * removed)
|
||||
M.adjustHydrationLoss(-hydration_factor * removed)
|
||||
|
||||
if (alien == IS_UNATHI)//unathi are poisoned by alcohol as well
|
||||
if (!has_valid_aug && alien == IS_UNATHI)//unathi are poisoned by alcohol as well
|
||||
M.adjustToxLoss(1.5 * removed * (strength / 100))
|
||||
|
||||
..()
|
||||
|
||||
Reference in New Issue
Block a user