Skip to content

Commit

Permalink
Merge pull request #2605 from FuzzyFuzlet/spicy-juice
Browse files Browse the repository at this point in the history
spicy juice
  • Loading branch information
Superlagg authored Jul 6, 2023
2 parents fea39ab + 32d5a8e commit 5e4e6f1
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 12 deletions.
34 changes: 25 additions & 9 deletions code/modules/mob/living/simple_animal/hostile/f13/insects.dm
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@
. = ..()
if(. && ishuman(target))
var/mob/living/carbon/human/H = target
H.reagents.add_reagent(/datum/reagent/toxin/cazador_venom, 4)
H.reagents.add_reagent(/datum/reagent/toxin/cazador_venom, 5)

/mob/living/simple_animal/hostile/cazador/death(gibbed)
icon_dead = "cazador_dead[rand(1,5)]"
Expand Down Expand Up @@ -408,21 +408,37 @@
update_transform()

/datum/reagent/toxin/cazador_venom
name = "Cazador venom"
description = "A potent toxin resulting from cazador stings that quickly kills if too much remains in the body."
name = "cazador venom"
description = "A painful but relatively harmless venom, originally synthesized by tarantula hawks."
reagent_state = LIQUID
color = "#801E28" // rgb: 128, 30, 40
toxpwr = 1
toxpwr = 0.5
taste_description = "pain"
taste_mult = 1.3

/datum/reagent/toxin/cazador_venom/on_mob_life(mob/living/M)
if(volume >= 15)
M.adjustToxLoss(5, 0)
/datum/reagent/toxin/cazador_venom/on_mob_life(mob/living/carbon/M)
M.adjustStaminaLoss(10, 0)
var/concentration = M.reagents.get_reagent_amount(/datum/reagent/toxin/cazador_venom)
M.damageoverlaytemp = concentration * 10
M.update_damage_hud()
if (M.eye_blurry < 20)
M.blur_eyes(3)
if (M.confused < 20)
M.confused += 3
if(prob(10))
var/pain_message = pick("You feel horrible pain.", "It burns like a red hot iron", "You can hardly bear the agony")
to_chat(M, span_warning("[pain_message]"))
..()

/datum/reagent/toxin/cazador_venom/on_mob_life_synth(mob/living/M)
if(volume >= 15)
M.adjustFireLoss(5, 0)
M.adjustStaminaLoss(10, 0)
if (M.eye_blurry < 20)
M.blur_eyes(3)
if (M.confused < 20)
M.confused += 3
if(prob(5))
var/pain_message = pick("Your electronics can't handle the potent venom.", "Your pain sensors are overloaded.", "Invasive chemicals are making you short curcuit.")
to_chat(M, span_notice("[pain_message]"))
..()

//////////////
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,5 @@ using ant armor b/c it just kinda works here and i don't want it to be super bee
. = ..()
if(. && ishuman(target))
var/mob/living/carbon/human/H = target
H.reagents.add_reagent(/datum/reagent/toxin/cazador_venom, 6)
H.reagents.add_reagent(/datum/reagent/toxin/rattler_venom, 5)
H.adjustStaminaLoss(7)
40 changes: 38 additions & 2 deletions code/modules/mob/living/simple_animal/hostile/f13/wasteanimals.dm
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,7 @@
. = ..()
if(. && ishuman(target))
var/mob/living/carbon/human/H = target
H.reagents.add_reagent(/datum/reagent/toxin/cazador_venom, 6)
H.reagents.add_reagent(/datum/reagent/toxin/rattler_venom, 5)

/mob/living/simple_animal/hostile/stalker/playable/legion
name = "legionstalker"
Expand Down Expand Up @@ -742,7 +742,43 @@
. = ..()
if(. && ishuman(target))
var/mob/living/carbon/human/H = target
H.reagents.add_reagent(/datum/reagent/toxin/cazador_venom, 2)
H.reagents.add_reagent(/datum/reagent/toxin/rattler_venom, 2)

/datum/reagent/toxin/rattler_venom
name = "rattler venom"
description = "A dangerous venom that causes intense pain and internal bleeding."
reagent_state = LIQUID
color = "#801E28" // rgb: 128, 30, 40
toxpwr = 0.5
taste_description = "pain"
taste_mult = 1.3
var/bleed_strength = 20 //increasing this number makes the effect weaker

/datum/reagent/toxin/rattler_venom/on_mob_life(mob/living/carbon/M)
if(M.get_blood() > 10)
M.blood_volume -= M.blood_volume/bleed_strength //starts out strong, then slows as you grow woozy. allows it to kick in quick but then not make you a empty juicebox
var/concentration = M.reagents.get_reagent_amount(/datum/reagent/toxin/rattler_venom)
M.damageoverlaytemp = concentration * 10
M.update_damage_hud()
if (M.eye_blurry < 20)
M.blur_eyes(3)
if (M.confused < 20)
M.confused += 3
if(prob(10))
var/pain_message = pick("You feel horrible pain.", "It burns like a red hot iron", "You can hardly bear the agony")
to_chat(M, span_warning("[pain_message]"))
..()

/datum/reagent/toxin/rattler_venom/on_mob_life_synth(mob/living/M)
M.adjustStaminaLoss(10, 0)
if (M.eye_blurry < 20)
M.blur_eyes(3)
if (M.confused < 20)
M.confused += 3
if(prob(5))
var/pain_message = pick("Your electronics can't handle the potent venom.", "Your pain sensors are overloaded.", "Invasive chemicals are making you short curcuit.")
to_chat(M, span_notice("[pain_message]"))
..()

/obj/item/clothing/head/f13/stalkerpelt
name = "nightstalker pelt"
Expand Down
2 changes: 2 additions & 0 deletions code/modules/reagents/chemistry/reagents/toxin_reagents.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1214,3 +1214,5 @@
if(initial(liber.filterToxins))
liber.filterToxins = TRUE
L.metabolism_efficiency += metab_inibition


0 comments on commit 5e4e6f1

Please sign in to comment.