mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 20:43:10 +01:00
initial (#5360)
This commit is contained in:
@@ -139,7 +139,8 @@
|
||||
|
||||
if(prob(5))
|
||||
owner << "<span class='warning'>You feel something squirming inside of you!</span>"
|
||||
owner.reagents.add_reagent("phoron", 4)
|
||||
owner.reagents.add_reagent("phoron", 6)
|
||||
owner.reagents.add_reagent("blackkois", 4)
|
||||
|
||||
else if(prob(10))
|
||||
owner << "<span class='warning'>You feel disorientated!</span>"
|
||||
|
||||
@@ -165,8 +165,11 @@
|
||||
glass_name = "glass of ethanol"
|
||||
glass_desc = "A well-known alcohol with a variety of applications."
|
||||
|
||||
/datum/reagent/alcohol/ethanol/affect_ingest(var/mob/living/carbon/M, var/alien, var/removed)
|
||||
if(alien == IS_VAURCA)//Vaurca are damaged instead of getting nutrients, but they can still get drunk
|
||||
/datum/reagent/alcohol/ethanol/affect_ingest(var/mob/living/carbon/human/M, var/alien, var/removed)
|
||||
if(!istype(M))
|
||||
return
|
||||
var/obj/item/organ/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
|
||||
M.adjustToxLoss(1.5 * removed * (strength / 100))
|
||||
else
|
||||
M.adjustNutritionLoss(-nutriment_factor * removed)
|
||||
@@ -212,8 +215,11 @@
|
||||
glass_name = "glass of butanol"
|
||||
glass_desc = "A fairly harmless alcohol that has intoxicating effects on certain species."
|
||||
|
||||
/datum/reagent/alcohol/butanol/affect_ingest(var/mob/living/carbon/M, var/alien, var/removed)
|
||||
if (alien == IS_VAURCA)
|
||||
/datum/reagent/alcohol/butanol/affect_ingest(var/mob/living/carbon/human/M, var/alien, var/removed)
|
||||
if(!istype(M))
|
||||
return
|
||||
var/obj/item/organ/parasite/P = M.internal_organs_by_name["blackkois"]
|
||||
if((alien == IS_VAURCA) || (istype(P) && P.stage >= 3))
|
||||
M.adjustToxLoss(removed * (strength / 100))
|
||||
else
|
||||
M.adjustNutritionLoss(-nutriment_factor * removed)
|
||||
|
||||
@@ -11,12 +11,16 @@
|
||||
unaffected_species = IS_MACHINE
|
||||
var/kois_type = 1
|
||||
|
||||
/datum/reagent/kois/affect_ingest(var/mob/living/carbon/M, var/alien, var/removed)
|
||||
if(alien == IS_VAURCA)
|
||||
/datum/reagent/kois/affect_ingest(var/mob/living/carbon/human/M, var/alien, var/removed)
|
||||
if(!istype(M))
|
||||
return
|
||||
var/obj/item/organ/parasite/P = M.internal_organs_by_name["blackkois"]
|
||||
if((alien == IS_VAURCA) || (istype(P) && P.stage >= 3))
|
||||
M.heal_organ_damage(1.2 * removed, 1.2 * removed)
|
||||
M.adjustToxLoss(-1.2 * removed)
|
||||
M.adjustNutritionLoss(-nutriment_factor * removed)
|
||||
M.add_chemical_effect(CE_BLOODRESTORE, 6 * removed)
|
||||
|
||||
else
|
||||
M.adjustToxLoss(1 * removed)
|
||||
if(istype(M,/mob/living/carbon/human))
|
||||
@@ -104,8 +108,11 @@
|
||||
return
|
||||
affect_ingest(M, alien, removed)
|
||||
|
||||
/datum/reagent/nutriment/affect_ingest(var/mob/living/carbon/M, var/alien, var/removed)
|
||||
if(alien == IS_VAURCA)
|
||||
/datum/reagent/nutriment/affect_ingest(var/mob/living/carbon/human/M, var/alien, var/removed)
|
||||
if(!istype(M))
|
||||
return
|
||||
var/obj/item/organ/parasite/P = M.internal_organs_by_name["blackkois"]
|
||||
if((alien == IS_VAURCA) || (istype(P) && P.stage >= 3))
|
||||
M.adjustToxLoss(1.5 * removed)
|
||||
else if(alien != IS_UNATHI)
|
||||
digest(M,removed)
|
||||
@@ -3754,8 +3761,12 @@
|
||||
adj_sleepy = -3
|
||||
taste_description = "viscous cola"
|
||||
|
||||
/datum/reagent/drink/zorasoda/drone/affect_ingest(var/mob/living/carbon/M, var/alien, var/removed)
|
||||
if(alien == IS_VAURCA)
|
||||
/datum/reagent/drink/zorasoda/drone/affect_ingest(var/mob/living/carbon/human/M, var/alien, var/removed)
|
||||
if(!istype(M))
|
||||
return
|
||||
|
||||
var/obj/item/organ/parasite/P = M.internal_organs_by_name["blackkois"]
|
||||
if((alien == IS_VAURCA) || (istype(P) && P.stage >= 3))
|
||||
M.add_chemical_effect(CE_SPEEDBOOST, 1)
|
||||
M.add_chemical_effect(CE_BLOODRESTORE, 2 * removed)
|
||||
M.make_jittery(5)
|
||||
|
||||
@@ -73,6 +73,13 @@
|
||||
/datum/reagent/toxin/phoron/affect_blood(var/mob/living/carbon/M, var/alien, var/removed)
|
||||
if(ishuman(M))
|
||||
var/mob/living/carbon/human/H = M
|
||||
|
||||
var/obj/item/organ/parasite/PA = H.internal_organs_by_name["blackkois"]
|
||||
if((istype(PA) && PA.stage >= 3))
|
||||
H.heal_organ_damage(2 * removed, 2 * removed)
|
||||
H.add_chemical_effect(CE_BLOODRESTORE, 8 * removed)
|
||||
H.adjustToxLoss(-2 * removed)
|
||||
|
||||
if(alien == IS_VAURCA && H.species.has_organ["filtration bit"])
|
||||
metabolism = REM * 20 //vaurcae metabolise phoron faster than other species - good for them if their filter isn't broken.
|
||||
var/obj/item/organ/vaurca/filtrationbit/F = H.internal_organs_by_name["filtration bit"]
|
||||
@@ -88,6 +95,7 @@
|
||||
return
|
||||
else
|
||||
P.air_contents.adjust_gas("phoron", (0.5*removed))
|
||||
|
||||
else
|
||||
..()
|
||||
else
|
||||
@@ -101,8 +109,12 @@
|
||||
L.adjust_fire_stacks(amount / 5)
|
||||
|
||||
/datum/reagent/toxin/phoron/affect_touch(var/mob/living/carbon/M, var/alien, var/removed)
|
||||
if(alien == IS_VAURCA)
|
||||
return
|
||||
if(istype(M, /mob/living/carbon/human))
|
||||
var/mob/living/carbon/human/H = M
|
||||
var/obj/item/organ/parasite/P = H.internal_organs_by_name["blackkois"]
|
||||
if((alien == IS_VAURCA) || (istype(P) && P.stage >= 3))
|
||||
return
|
||||
|
||||
M.take_organ_damage(0, removed * 0.1) //being splashed directly with phoron causes minor chemical burns
|
||||
if(prob(50))
|
||||
M.pl_effects()
|
||||
@@ -124,8 +136,12 @@
|
||||
conflicting_reagent = /datum/reagent/toxin/phoron
|
||||
strength = 1
|
||||
|
||||
/datum/reagent/toxin/cardox/affect_blood(var/mob/living/carbon/M, var/alien, var/removed)
|
||||
if(alien == IS_VAURCA)
|
||||
/datum/reagent/toxin/cardox/affect_blood(var/mob/living/carbon/human/M, var/alien, var/removed)
|
||||
if(!istype(M))
|
||||
return
|
||||
|
||||
var/obj/item/organ/parasite/P = M.internal_organs_by_name["blackkois"]
|
||||
if((alien == IS_VAURCA) || (istype(P) && P.stage >= 3))
|
||||
M.adjustToxLoss(removed * strength*2)
|
||||
else
|
||||
M.adjustToxLoss(removed * strength)
|
||||
|
||||
Reference in New Issue
Block a user