mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-13 19:22:20 +00:00
Merge pull request #11380 from bgobandit/salicyclicassblastusa
Fixes burn kits containing salicyclic acid pills. Adds new burn medication.
This commit is contained in:
@@ -45,8 +45,8 @@
|
|||||||
new /obj/item/weapon/reagent_containers/pill/patch/silver_sulf(src)
|
new /obj/item/weapon/reagent_containers/pill/patch/silver_sulf(src)
|
||||||
new /obj/item/weapon/reagent_containers/pill/patch/silver_sulf(src)
|
new /obj/item/weapon/reagent_containers/pill/patch/silver_sulf(src)
|
||||||
new /obj/item/weapon/reagent_containers/pill/patch/silver_sulf(src)
|
new /obj/item/weapon/reagent_containers/pill/patch/silver_sulf(src)
|
||||||
new /obj/item/weapon/reagent_containers/pill/salicyclic(src)
|
new /obj/item/weapon/reagent_containers/pill/oxandrolone(src)
|
||||||
new /obj/item/weapon/reagent_containers/pill/salicyclic(src)
|
new /obj/item/weapon/reagent_containers/pill/oxandrolone(src)
|
||||||
new /obj/item/weapon/reagent_containers/hypospray/medipen(src)
|
new /obj/item/weapon/reagent_containers/hypospray/medipen(src)
|
||||||
new /obj/item/device/healthanalyzer(src)
|
new /obj/item/device/healthanalyzer(src)
|
||||||
return
|
return
|
||||||
|
|||||||
@@ -173,13 +173,36 @@
|
|||||||
if(method == INGEST)
|
if(method == INGEST)
|
||||||
M.adjustToxLoss(0.5*reac_volume)
|
M.adjustToxLoss(0.5*reac_volume)
|
||||||
if(show_message)
|
if(show_message)
|
||||||
M << "<span class='notice'>You probably shouldn't have eaten that. Maybe you should of splashed it on, or applied a patch?</span>"
|
M << "<span class='notice'>You probably shouldn't have eaten that. Maybe you should have splashed it on, or applied a patch?</span>"
|
||||||
..()
|
..()
|
||||||
|
|
||||||
/datum/reagent/medicine/silver_sulfadiazine/on_mob_life(mob/living/M)
|
/datum/reagent/medicine/silver_sulfadiazine/on_mob_life(mob/living/M)
|
||||||
M.adjustFireLoss(-2*REM)
|
M.adjustFireLoss(-2*REM)
|
||||||
..()
|
..()
|
||||||
|
|
||||||
|
/datum/reagent/medicine/oxandrolone
|
||||||
|
name = "Oxandrolone"
|
||||||
|
id = "oxandrolone"
|
||||||
|
description = "Stimulates healing of severe burns. If you have more than 50 burn damage, it heals 2 units; otherwise, 0.5. If overdosed it will exacerbate existing burns, causing burn and brute damage."
|
||||||
|
reagent_state = LIQUID
|
||||||
|
color = "#f7ffa5"
|
||||||
|
metabolization_rate = 0.5 * REAGENTS_METABOLISM
|
||||||
|
overdose_threshold = 25
|
||||||
|
|
||||||
|
/datum/reagent/medicine/oxandrolone/on_mob_life(mob/living/M)
|
||||||
|
if(M.getFireLoss() > 50)
|
||||||
|
M.adjustFireLoss(-2*REM)
|
||||||
|
else
|
||||||
|
M.adjustFireLoss(-0.5*REM)
|
||||||
|
..()
|
||||||
|
return
|
||||||
|
|
||||||
|
/datum/reagent/medicine/oxandrolone/overdose_process(mob/living/M)
|
||||||
|
M.adjustFireLoss(2.5*REM) // it's going to be healing either 2 or 0.5
|
||||||
|
M.adjustBruteLoss(0.5*REM)
|
||||||
|
..()
|
||||||
|
return
|
||||||
|
|
||||||
/datum/reagent/medicine/styptic_powder
|
/datum/reagent/medicine/styptic_powder
|
||||||
name = "Styptic Powder"
|
name = "Styptic Powder"
|
||||||
id = "styptic_powder"
|
id = "styptic_powder"
|
||||||
|
|||||||
@@ -116,6 +116,12 @@
|
|||||||
required_reagents = list("sodium" = 1, "phenol" = 1, "carbon" = 1, "oxygen" = 1, "sacid" = 1)
|
required_reagents = list("sodium" = 1, "phenol" = 1, "carbon" = 1, "oxygen" = 1, "sacid" = 1)
|
||||||
result_amount = 5
|
result_amount = 5
|
||||||
|
|
||||||
|
/datum/chemical_reaction/oxandrolone
|
||||||
|
name = "Oxandrolone"
|
||||||
|
id = "oxandrolone"
|
||||||
|
result = "oxandrolone"
|
||||||
|
required_reagents = list("carbon" = 3, "phenol" = 1, "hydrogen" = 1, "oxygen" = 1)
|
||||||
|
result_amount = 6
|
||||||
|
|
||||||
/datum/chemical_reaction/salbutamol
|
/datum/chemical_reaction/salbutamol
|
||||||
name = "Salbutamol"
|
name = "Salbutamol"
|
||||||
|
|||||||
@@ -133,6 +133,12 @@
|
|||||||
icon_state = "pill5"
|
icon_state = "pill5"
|
||||||
list_reagents = list("sal_acid" = 24)
|
list_reagents = list("sal_acid" = 24)
|
||||||
roundstart = 1
|
roundstart = 1
|
||||||
|
/obj/item/weapon/reagent_containers/pill/oxandrolone
|
||||||
|
name = "oxandrolone pill"
|
||||||
|
desc = "Used to stimulate burn healing."
|
||||||
|
icon_state = "pill5"
|
||||||
|
list_reagents = list("oxandrolone" = 24)
|
||||||
|
roundstart = 1
|
||||||
|
|
||||||
/obj/item/weapon/reagent_containers/pill/insulin
|
/obj/item/weapon/reagent_containers/pill/insulin
|
||||||
name = "insulin pill"
|
name = "insulin pill"
|
||||||
|
|||||||
7
html/changelogs/bgobandit - salicyclicassblastusa.yml
Normal file
7
html/changelogs/bgobandit - salicyclicassblastusa.yml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
author: bgobandit
|
||||||
|
|
||||||
|
delete-after: True
|
||||||
|
|
||||||
|
changes:
|
||||||
|
- bugfix: "Overheard at CentComm: 'This burn kit said salicyclic acid would heal my burns! WHO MADE THIS SHIT?' A muffled honking is heard in the background. (Burn first-aid kits now contain an appropriate burn pill.)"
|
||||||
|
- rscadd: "Oxandrolone, a new burn healing medication, has been added to burn first-aid kits and to chemistry. Ingesting 25 units or more causes burn and brute damage."
|
||||||
Reference in New Issue
Block a user