mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 21:48:21 +01:00
Add IPC knockout chem and hunger hallucination. (#32177)
* Add IPC knockout chem and hunger hallucination. * Apply suggestions from CRUNCH review Co-authored-by: CRUNCH <143041327+CRUNCH-Borg@users.noreply.github.com> Signed-off-by: Alan <alfalfascout@users.noreply.github.com> --------- Signed-off-by: Alan <alfalfascout@users.noreply.github.com> Co-authored-by: CRUNCH <143041327+CRUNCH-Borg@users.noreply.github.com>
This commit is contained in:
@@ -956,6 +956,49 @@
|
||||
M.Paralyse(50 SECONDS)
|
||||
return ..() | update_flags
|
||||
|
||||
/datum/reagent/frigidi
|
||||
name = "Frigidi"
|
||||
id = "frigidi"
|
||||
description = "Budget industrial coolant appropriate for large spacecraft and detrimental to smaller machines. May cause microbattery damage."
|
||||
reagent_state = LIQUID
|
||||
color = "#444E90"
|
||||
metabolization_rate = 0.8
|
||||
penetrates_skin = TRUE
|
||||
process_flags = ORGANIC | SYNTHETIC
|
||||
taste_mult = 0
|
||||
|
||||
/datum/reagent/frigidi/on_mob_life(mob/living/M)
|
||||
if(!ismachineperson(M))
|
||||
var/update_flags = STATUS_UPDATE_NONE | M.adjustFireLoss(1 * REAGENTS_EFFECT_MULTIPLIER, FALSE)
|
||||
return ..() | update_flags
|
||||
var/mob/living/carbon/human/target = M
|
||||
switch(current_cycle)
|
||||
if(1 to 5)
|
||||
if(M.nutrition > NUTRITION_LEVEL_HUNGRY)
|
||||
M.nutrition_hud_override = NUTRITION_HUD_OVERRIDE_HUNGRY
|
||||
target.handle_nutrition_alerts()
|
||||
if(6 to 9)
|
||||
M.AdjustEyeBlurry(10 SECONDS)
|
||||
M.nutrition_hud_override = NUTRITION_HUD_OVERRIDE_STARVING
|
||||
target.handle_nutrition_alerts()
|
||||
if(10)
|
||||
M.emote("faint")
|
||||
M.Weaken(10 SECONDS)
|
||||
if(11 to INFINITY)
|
||||
M.Paralyse(50 SECONDS)
|
||||
if(prob(10))
|
||||
var/obj/item/organ/internal/cell/microbattery = M.get_organ_slot("heart")
|
||||
if(istype(microbattery))
|
||||
microbattery.receive_damage(2, TRUE)
|
||||
var/update_flags = STATUS_UPDATE_NONE
|
||||
return ..() | update_flags
|
||||
|
||||
/datum/reagent/frigidi/on_mob_delete(mob/living/M)
|
||||
if(ismachineperson(M))
|
||||
var/mob/living/carbon/human/target = M
|
||||
M.nutrition_hud_override = NUTRITION_HUD_OVERRIDE_NONE
|
||||
target.handle_nutrition_alerts()
|
||||
|
||||
/datum/reagent/sulfonal
|
||||
name = "Sulfonal"
|
||||
id = "sulfonal"
|
||||
|
||||
@@ -177,3 +177,11 @@
|
||||
required_reagents = list("lsd" = 1, "teslium" = 1, "methamphetamine" = 1)
|
||||
result_amount = 3
|
||||
mix_message = SPAN_DANGER("After sparks, fire, and the smell of LSD, the mix is constantly spinning with no stop in sight.")
|
||||
|
||||
/datum/chemical_reaction/frigidi
|
||||
name = "Frigidi"
|
||||
id = "frigidi"
|
||||
result = "frigidi"
|
||||
required_reagents = list("cryostylane" = 1, "w33d" = 1, "lube" = 1)
|
||||
result_amount = 3
|
||||
mix_message = "The mixture makes the container cool to the touch."
|
||||
|
||||
Reference in New Issue
Block a user