mecdicine_vr

This commit is contained in:
Kashargul
2024-12-06 22:47:10 +01:00
parent 5398ec84bf
commit c64a251504
19 changed files with 92 additions and 345 deletions
+4 -4
View File
@@ -10,7 +10,7 @@
/obj/item/reagent_containers/glass/bottle/potion/greater_healing
name = "greater healing potion"
desc = "A small green bottle containing some thick red liquid that claims to rapidly heal injuries."
prefill = list("vermicetol" = 30)
prefill = list(REAGENT_ID_VERMICETOL = 30)
/obj/item/reagent_containers/glass/bottle/potion/fire_resist
name = "fire resistance potion"
@@ -110,12 +110,12 @@
/obj/item/reagent_containers/glass/bottle/potion/truepolymorph
name = "polymorph potion"
desc = "A small green bottle containing some strange purple liquid that claims to transform the drinker."
prefill = list("polymorph" = 1)
prefill = list(REAGENT_ID_POLYMORPH = 1)
/obj/item/reagent_containers/glass/bottle/potion/glamour
name = "glamour potion"
desc = "A small white potion, the perfectly white liquid inside moves in an almost gaseous manner, yet appears to produce reflections perfectly."
prefill = list("glamour" = 1)
prefill = list(REAGENT_ID_GLAMOUR = 1)
//Failed potions
@@ -147,7 +147,7 @@
/obj/item/reagent_containers/glass/bottle/potion/lipostipo
name = "thick potion"
desc = "A small green bottle containing some thick viscous liquid."
prefill = list("lipostipo" = 30)
prefill = list(REAGENT_ID_LIPOSTIPO = 30)
/obj/item/reagent_containers/glass/bottle/potion/phoron
name = "volatile potion"
+1 -1
View File
@@ -10,7 +10,7 @@
desc = "A small bottle. Vermicetol is an powerful analgesic medication and can be used to treat blunt trauma."
icon = 'icons/obj/chemical.dmi'
icon_state = "bottle-4"
prefill = list("vermicetol" = 60)
prefill = list(REAGENT_ID_VERMICETOL = 60)
/obj/item/reagent_containers/glass/bottle/keloderm
name = "keloderm bottle"
+2 -2
View File
@@ -307,7 +307,7 @@
return
//VOREStation Addition end: shadekin
if(reagents.has_reagent("prussian_blue")) //Prussian Blue temporarily stops radiation effects.
if(reagents.has_reagent(REAGENT_ID_PRUSSIANBLUE)) //Prussian Blue temporarily stops radiation effects.
return
var/damage = 0
@@ -452,7 +452,7 @@
// Begin long-term radiation effects
// Loss of taste occurs at 100 (2Gy) and is handled in taste.dm
// These are all done one after another, so duplication is not required. Someone at 400rads will have the 100&400 effects.
if(!radiation && accumulated_rads >= 100 && !reagents.has_reagent("prussian_blue")) //Let's not hit them with long term effects when they're actively being hit with rads.
if(!radiation && accumulated_rads >= 100 && !reagents.has_reagent(REAGENT_ID_PRUSSIANBLUE)) //Let's not hit them with long term effects when they're actively being hit with rads.
if(!isSynthetic())
I = internal_organs_by_name[O_EYES]
if(I) //Eye stuff
@@ -20,30 +20,30 @@
if(1 to 2)
user.visible_message(span_danger("[user]'s fangs scrape across [target]'s cheek!"))
to_chat(target, span_danger("Your face feels tingly!"))
target.bloodstr.add_reagent("numbenzyme",attack_damage) //Have to add this here, otherwise the swtich fails.
target.bloodstr.add_reagent(REAGENT_ID_NUMBENZYME,attack_damage) //Have to add this here, otherwise the swtich fails.
if(3 to 4)
user.visible_message(span_danger("[user]'s fangs pierce into [target]'s neck at an odd, awkward angle!"))
to_chat(target, span_danger("Your neck feels like it's on fire before going numb!"))
target.bloodstr.add_reagent("numbenzyme",attack_damage)
target.bloodstr.add_reagent(REAGENT_ID_NUMBENZYME,attack_damage)
if(5)
user.visible_message(span_danger("[user] sinks \his [pick(attack_noun)] <b><i>deep</i></b> into [target]'s neck, causing the vein to bulge outwards at some type of chemical is pumped into it!"))
to_chat(target, span_danger("Your neck feels like it's going to burst! Moments later, you simply can't feel your neck any longer, the numbness beginning to spread throughout your body!"))
target.bloodstr.add_reagent("numbenzyme",attack_damage)
target.bloodstr.add_reagent(REAGENT_ID_NUMBENZYME,attack_damage)
else
// ----- BODY ----- //
switch(attack_damage)
if(1 to 2)
user.visible_message(span_danger("[user]'s fangs scrape across [target]'s [affecting.name]!"))
to_chat(target, span_danger("Your [affecting.name] feels tingly!"))
target.bloodstr.add_reagent("numbenzyme",attack_damage)
target.bloodstr.add_reagent(REAGENT_ID_NUMBENZYME,attack_damage)
if(3 to 4)
user.visible_message(span_danger("[user]'s fangs pierce [pick("", "", "the side of")] [target]'s [affecting.name]!"))
to_chat(target, span_danger("Your [affecting.name] feels like it's on fire before going numb!"))
target.bloodstr.add_reagent("numbenzyme",attack_damage)
target.bloodstr.add_reagent(REAGENT_ID_NUMBENZYME,attack_damage)
if(5)
user.visible_message(span_danger("[user]'s fangs sink deep into [target]'s [affecting.name], one of their veins bulging outwards from the sudden fluid pumped into it!"))
to_chat(target, span_danger("Your [affecting.name] feels like it's going to burst! Moments later, you simply can't feel your [affecting.name] any longer, the numbness slowly spreading throughout your body!"))
target.bloodstr.add_reagent("numbenzyme",attack_damage)
target.bloodstr.add_reagent(REAGENT_ID_NUMBENZYME,attack_damage)
/datum/unarmed_attack/claws/shadekin
@@ -173,7 +173,7 @@
H.trait_injection_reagents += REAGENT_ID_MICROCILLIN // get small
H.trait_injection_reagents += REAGENT_ID_MACROCILLIN // get BIG
H.trait_injection_reagents += REAGENT_ID_NORMALCILLIN // normal
H.trait_injection_reagents += "numbenzyme" // no feelings
H.trait_injection_reagents += REAGENT_ID_NUMBENZYME // no feelings
H.trait_injection_reagents += REAGENT_ID_ANDROROVIR // -> MALE
H.trait_injection_reagents += REAGENT_ID_GYNOROVIR // -> FEMALE
H.trait_injection_reagents += REAGENT_ID_ANDROGYNOROVIR // -> PLURAL
+1 -1
View File
@@ -35,7 +35,7 @@
/datum/nifsoft/painkillers/life()
if((. = ..()))
var/mob/living/carbon/human/H = nif.human
H.bloodstr.add_reagent("numbenzyme",0.5)
H.bloodstr.add_reagent(REAGENT_ID_NUMBENZYME,0.5)
/datum/nifsoft/hardclaws
name = "Bloodletters"
@@ -142,38 +142,38 @@
///////////////////////////////////////////////////////////////////////////////////
/// Other Drugs
/decl/chemical_reaction/instant/adranol
name = "Adranol"
id = "adranol"
result = "adranol"
name = REAGENT_ADRANOL
id = REAGENT_ID_ADRANOL
result = REAGENT_ID_ADRANOL
required_reagents = list("milk" = 2, REAGENT_ID_HYDROGEN = 1, REAGENT_ID_POTASSIUM = 1)
result_amount = 3
/decl/chemical_reaction/instant/vermicetol
name = "Vermicetol"
id = "vermicetol"
result = "vermicetol"
name = REAGENT_VERMICETOL
id = REAGENT_ID_VERMICETOL
result = REAGENT_ID_VERMICETOL
required_reagents = list("bicaridine" = 2, REAGENT_ID_SHOCKCHEM = 1, REAGENT_ID_PHORON = 0.1)
catalysts = list(REAGENT_ID_PHORON = 5)
result_amount = 3
/decl/chemical_reaction/instant/prussian_blue
name = "Prussian Blue"
id = "prussian_blue"
result = "prussian_blue"
name = REAGENT_PRUSSIANBLUE
id = REAGENT_ID_PRUSSIANBLUE
result = REAGENT_ID_PRUSSIANBLUE
required_reagents = list(REAGENT_ID_CARBON = 3, REAGENT_ID_IRON = 1, REAGENT_ID_NITROGEN = 3)
result_amount = 7
/decl/chemical_reaction/instant/lipozilase
name = "Lipozilase"
id = "Lipozilase"
result = "lipozilase"
name = REAGENT_LIPOZILASE
id = REAGENT_ID_LIPOZILASE
result = REAGENT_ID_LIPOZILASE
required_reagents = list("lipozine" = 1, "diethylamine" = 1)
result_amount = 2
/decl/chemical_reaction/instant/lipostipo
name = "Lipostipo"
id = "Lipostipo"
result = "lipostipo"
name = REAGENT_LIPOSTIPO
id = REAGENT_ID_LIPOSTIPO
result = REAGENT_ID_LIPOSTIPO
required_reagents = list("lipozine" = 1, REAGENT_ID_NUTRIMENT = 1, REAGENT_ID_FLUORINE = 1)
result_amount = 3
@@ -9,7 +9,7 @@
name = REAGENT_ADRANOLVIRUSFOOD
id = REAGENT_ID_ADRANOLVIRUSFOOD
result = REAGENT_ID_ADRANOLVIRUSFOOD
required_reagents = list("adranol" = 1, "virusfood" = 1)
required_reagents = list(REAGENT_ID_ADRANOL = 1, "virusfood" = 1)
result_amount = 1
/decl/chemical_reaction/instant/virus_food_phoron
@@ -23,7 +23,7 @@
name = REAGENT_WEAKPHORONVIRUSFOOD
id = REAGENT_ID_WEAKPHORONVIRUSFOOD
result = REAGENT_ID_WEAKPHORONVIRUSFOOD
required_reagents = list("adranol" = 1, REAGENT_ID_PHORONVIRUSFOOD = 1)
required_reagents = list(REAGENT_ID_ADRANOL = 1, REAGENT_ID_PHORONVIRUSFOOD = 1)
result_amount = 2
/decl/chemical_reaction/instant/virus_food_mutagen_sugar
@@ -142,7 +142,7 @@
/decl/chemical_reaction/instant/mix_virus/rem_virus
name = "Devolve Virus"
id = "remvirus"
required_reagents = list("adranol" = 1)
required_reagents = list(REAGENT_ID_ADRANOL = 1)
catalysts = list(REAGENT_ID_BLOOD = 1)
/decl/chemical_reaction/instant/mix_virus/rem_virus/on_reaction(var/datum/reagents/holder)
@@ -249,7 +249,7 @@
name = "purity hypo"
desc = "A refined version of the standard autoinjector, allowing greater capacity. This variant excels at \
resolving viruses, infections, radiation, and genetic maladies."
filled_reagents = list("spaceacillin" = 4, "arithrazine" = 5, "prussian_blue" = 5, "ryetalyn" = 1)
filled_reagents = list("spaceacillin" = 4, "arithrazine" = 5, REAGENT_ID_PRUSSIANBLUE = 5, "ryetalyn" = 1)
/obj/item/reagent_containers/hypospray/autoinjector/biginjector/pain
name = "pain hypo"
@@ -124,7 +124,7 @@
/obj/item/reagent_containers/pill/vermicetol/Initialize()
. = ..()
reagents.add_reagent("vermicetol", 15)
reagents.add_reagent(REAGENT_ID_VERMICETOL, 15)
color = reagents.get_color()
/obj/item/reagent_containers/pill/healing_nanites
@@ -144,7 +144,7 @@
/obj/item/reagent_containers/pill/sleevingcure/Initialize()
. = ..()
reagents.add_reagent("sleevingcure", 1)
reagents.add_reagent(REAGENT_ID_SLEEVINGCURE, 1)
color = reagents.get_color()
/obj/item/reagent_containers/pill/airlock
+18 -18
View File
@@ -1,6 +1,6 @@
/datum/reagent/adranol
name = "Adranol"
id = "adranol"
name = REAGENT_ADRANOL
id = REAGENT_ID_ADRANOL
description = "A mild sedative that calms the nerves and relaxes the patient."
taste_description = "milk"
reagent_state = LIQUID
@@ -18,8 +18,8 @@
M.make_jittery(min(-25*removed,0))
/datum/reagent/numbing_enzyme
name = "Numbing Enzyme"
id = "numbenzyme"
name = REAGENT_NUMBENZYME
id = REAGENT_ID_NUMBENZYME
description = "Some sort of organic painkiller."
taste_description = "sourness"
reagent_state = LIQUID
@@ -61,8 +61,8 @@
H.stuttering += 20
/datum/reagent/vermicetol
name = "Vermicetol"
id = "vermicetol"
name = REAGENT_VERMICETOL
id = REAGENT_ID_VERMICETOL
description = "A potent chemical that treats physical damage at an exceptional rate."
taste_description = "sparkles"
taste_mult = 3
@@ -79,8 +79,8 @@
M.heal_organ_damage(8 * removed * chem_effective, 0)
/datum/reagent/sleevingcure
name = "Kitsuhanan Cure"
id = "sleevingcure"
name = REAGENT_SLEEVINGCURE
id = REAGENT_ID_SLEEVINGCURE
description = "A rare cure provided by KHI that helps counteract negative side effects of using imperfect resleeving machinery."
taste_description = "chocolate peanut butter"
taste_mult = 2
@@ -96,8 +96,8 @@
/datum/reagent/prussian_blue //We don't have iodine, so prussian blue we go.
name = "Prussian Blue"
id = "prussian_blue"
name = REAGENT_PRUSSIANBLUE
id = REAGENT_ID_PRUSSIANBLUE
description = "Prussian Blue is an medication used to temporarily pause the effects of radiation poisoning to allow for treatment. Does not treat radiation sickness on its own."
taste_description = "salt"
reagent_state = SOLID
@@ -113,8 +113,8 @@
M.adjustToxLoss(-10 * removed)
/datum/reagent/lipozilase // The anti-nutriment that rapidly removes weight.
name = "Lipozilase"
id = "lipozilase"
name = REAGENT_LIPOZILASE
id = REAGENT_ID_LIPOZILASE
description = "A chemical compound that causes a dangerously powerful fat-burning reaction."
taste_description = "blandness"
reagent_state = LIQUID
@@ -127,8 +127,8 @@
M.weight -= 0.3
/datum/reagent/lipostipo // The drug that rapidly increases weight.
name = "Lipostipo"
id = "lipostipo"
name = REAGENT_LIPOSTIPO
id = REAGENT_ID_LIPOSTIPO
description = "A chemical compound that causes a dangerously powerful fat-adding reaction."
taste_description = "blubber"
reagent_state = LIQUID
@@ -141,8 +141,8 @@
M.weight += 0.3
/datum/reagent/polymorph
name = "Transforitine"
id = "polymorph"
name = REAGENT_POLYMORPH
id = REAGENT_ID_POLYMORPH
description = "A chemical that instantly transforms the consumer into another creature."
taste_description = "luck"
reagent_state = LIQUID
@@ -315,8 +315,8 @@
return new_mob
/datum/reagent/glamour
name = "Glamour"
id = "glamour"
name = REAGENT_GLAMOUR
id = REAGENT_ID_GLAMOUR
description = "This material is from somewhere else, just being near produces changes."
taste_description = "change"
reagent_state = LIQUID
+1 -1
View File
@@ -626,7 +626,7 @@
var/mob/living/carbon/human/Pred = owner
if(ishuman(M))
var/mob/living/carbon/human/Prey = M
Prey.bloodstr.del_reagent("numbenzyme")
Prey.bloodstr.del_reagent(REAGENT_ID_NUMBENZYME)
Prey.bloodstr.trans_to_holder(Pred.bloodstr, Prey.bloodstr.total_volume, 0.5, TRUE) // Copy=TRUE because we're deleted anyway
Prey.ingested.trans_to_holder(Pred.bloodstr, Prey.ingested.total_volume, 0.5, TRUE) // Therefore don't bother spending cpu
Prey.touching.trans_to_holder(Pred.bloodstr, Prey.touching.total_volume, 0.5, TRUE) // On updating the prey's reagents
+2 -2
View File
@@ -164,8 +164,8 @@
//Numbing flag
if(mode_flags & DM_FLAG_NUMBING)
if(H.bloodstr.get_reagent_amount("numbenzyme") < 2)
H.bloodstr.add_reagent("numbenzyme",4)
if(H.bloodstr.get_reagent_amount(REAGENT_ID_NUMBENZYME) < 2)
H.bloodstr.add_reagent(REAGENT_ID_NUMBENZYME,4)
//Thickbelly flag
if((mode_flags & DM_FLAG_THICKBELLY) && !H.muffled)