Skip to content

Commit

Permalink
Deforest Medical Cargo Company Update | Not so free healthcare | Medb…
Browse files Browse the repository at this point in the history
…ay watches in horror as assistants overdose themselves on dollar store medpens (#24771)

* injectors of various types

* adds a timer to injecting others with the pens

* fixes some of the stuff

* fixes the do after

* replaces the old pens and chems with the new ones in the company

* fixes that too

* fixes injector icons

* gives all of the pens a slight debuff chem so its not all upsides

* stack items and prepacked medkits

* as usual, bug fixes

* makes those names different

* stops accidentally overriding multiver pill bottles

* sprites for bigger bags, mob sprites soon to come

* big medkitted all over the place

* removes unused check

* should fix tests

* removes a single conceptually stupid injector

* changes a few thing saround

* nerfs pentibinin

* adjusts a few of the pens to be a bit better and or worse

* fixes the wearable medkits not being to carry the things they spawn with

* makes the orange wearable unzip faster and slow down less unzipped

* buffs the bags by allowing belt usage

* puts the tiny wound analyzers in some of the medkits

* lets the splint work on muscle issues, changes the sound a bit

* tweaks worn sprites of and gives inhands to wearable medkits

* removes debug message

* adjusts some numbers and docs

* adds some of the kits to cargo so medbay can order in bulk

* adds some of the medical stuff to opfor as well

* gives all the medkits unique inhands

* tweaks a lot of the stuff (pickup sounds wahoo!)

* adds a little more to using the instant wound healing kits

* adds tox damage to twitch overdose so you cannot become fucking invincbl

* makes the comment style more similar across the code

* lets the frontier kit be hooked onto belts + owrn sprite for it

* makes the bandages not get ruined by bleeds as fast

* Update code/__DEFINES/~skyrat_defines/opposing_force_defines.dm

Co-authored-by: GoldenAlpharex <[email protected]>

* Update code/__DEFINES/~skyrat_defines/opposing_force_defines.dm

Co-authored-by: GoldenAlpharex <[email protected]>

* makes the big surgical kit come stocked

* Update modular_skyrat/modules/deforest_medical_items/code/chemicals/demoneye.dm

Co-authored-by: GoldenAlpharex <[email protected]>

* reviews for some of demoneye

* Update modular_skyrat/modules/deforest_medical_items/code/chemicals/demoneye.dm

Co-authored-by: GoldenAlpharex <[email protected]>

* Update modular_skyrat/modules/deforest_medical_items/code/chemicals/demoneye.dm

Co-authored-by: GoldenAlpharex <[email protected]>

* makes the demoneye organ damage list static

* Update modular_skyrat/modules/deforest_medical_items/code/chemicals/twitch.dm

Co-authored-by: GoldenAlpharex <[email protected]>

* more review stuff

* reviews for the injectors

* Update modular_skyrat/modules/deforest_medical_items/code/storage_items.dm

Co-authored-by: GoldenAlpharex <[email protected]>

* Update modular_skyrat/modules/deforest_medical_items/code/storage_items.dm

Co-authored-by: GoldenAlpharex <[email protected]>

* updates the civil defense kit's sprite to be a bit better

* formats the cargo packs a bit nicer

* fixes a slight logic error

* fixes an erroneous comment

* makes the big surgery kit able to hold, and come with a rollerbed

* moves that static list a bit

* fixes first responder surgical kit's left inhand

* makes the combat surgeon kit not missing sprite when worn

* makes the rapid wound fixers actually get used, reworks medkits slightly

* messes with the big surgical kit AGAIN

* makes demoneye need stable plasma to cook to stop conflicts

* Update modular_skyrat/modules/deforest_medical_items/code/storage_items.dm

Co-authored-by: sqnztb <[email protected]>

* Update modular_skyrat/modules/deforest_medical_items/code/storage_items.dm

Co-authored-by: sqnztb <[email protected]>

* Fixes the trait that had to be moved!

* fixes demon-eye colors and twitch afterimage length

---------

Co-authored-by: GoldenAlpharex <[email protected]>
Co-authored-by: sqnztb <[email protected]>
Co-authored-by: GoldenAlpharex <[email protected]>
  • Loading branch information
4 people authored and FFMirrorBot committed Nov 26, 2023
1 parent 1251486 commit e858e93
Show file tree
Hide file tree
Showing 23 changed files with 1,385 additions and 144 deletions.
18 changes: 10 additions & 8 deletions code/__DEFINES/~skyrat_defines/opposing_force_defines.dm
Original file line number Diff line number Diff line change
Expand Up @@ -61,17 +61,19 @@
// Melee
#define OPFOR_EQUIPMENT_CATEGORY_MELEE "13. Melee Weapons"
#define OPFOR_EQUIPMENT_CATEGORY_MELEE_STEALTH "14. Stealthy Melee Weapons"
// Medical items
#define OPFOR_EQUIPMENT_CATEGORY_MEDICAL "15. Medical Items"
// Gadgets
#define OPFOR_EQUIPMENT_CATEGORY_GADGET "15. Gadgets"
#define OPFOR_EQUIPMENT_CATEGORY_GADGET_STEALTH "16. Stealthy Gadgets"
#define OPFOR_EQUIPMENT_CATEGORY_GADGET "16. Gadgets"
#define OPFOR_EQUIPMENT_CATEGORY_GADGET_STEALTH "17. Stealthy Gadgets"
// Bombs
#define OPFOR_EQUIPMENT_CATEGORY_BOMB_CHEM "17. Chemical Grenades"
#define OPFOR_EQUIPMENT_CATEGORY_BOMB_PAYLOAD "18. Dirty Bombs"
#define OPFOR_EQUIPMENT_CATEGORY_BOMB_CHEM "18. Chemical Grenades"
#define OPFOR_EQUIPMENT_CATEGORY_BOMB_PAYLOAD "19. Dirty Bombs"
// Spells and scrolls (martial arts)
#define OPFOR_EQUIPMENT_CATEGORY_SPELLS "19. Spells"
#define OPFOR_EQUIPMENT_CATEGORY_SCROLLS "20. Martial Art Scrolls"
#define OPFOR_EQUIPMENT_CATEGORY_SPELLS "20. Spells"
#define OPFOR_EQUIPMENT_CATEGORY_SCROLLS "21. Martial Art Scrolls"
// Language and biology
#define OPFOR_EQUIPMENT_CATEGORY_LANGUAGE "21. Language"
#define OPFOR_EQUIPMENT_CATEGORY_ORGANS "22. Organs"
#define OPFOR_EQUIPMENT_CATEGORY_LANGUAGE "22. Language"
#define OPFOR_EQUIPMENT_CATEGORY_ORGANS "23. Organs"
// Category for uncategorized items
#define OPFOR_EQUIPMENT_CATEGORY_OTHER "Other"
3 changes: 3 additions & 0 deletions code/__DEFINES/~skyrat_defines/traits/declarations.dm
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ Remember to update _globalvars/traits.dm if you're adding/removing/renaming trai
/// Trait that was granted by a reagent.
#define TRAIT_REAGENT "reagent"

/// Trait source for anything granted by narcotics
#define TRAIT_NARCOTICS "narcotics_given"

/// trait that lets you do flips with a style meter
#define TRAIT_STYLISH "stylish"

Expand Down
1 change: 1 addition & 0 deletions code/_globalvars/traits/_traits.dm
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,7 @@ GLOBAL_LIST_INIT(traits_by_type, list(
"TRAIT_MASOCHISM" = TRAIT_MASOCHISM,
"TRAIT_MOOD_NOEXAMINE" = TRAIT_MOOD_NOEXAMINE,
"TRAIT_MUTANT_IMMUNE" = TRAIT_MUTANT_IMMUNE,
"TRAIT_NARCOTICS" = TRAIT_NARCOTICS,
"TRAIT_NEVERBONER" = TRAIT_NEVERBONER,
"TRAIT_NIFSOFT" = TRAIT_NIFSOFT,
"TRAIT_NIFSOFT_HUD_GRANTER" = TRAIT_NIFSOFT_HUD_GRANTER,
Expand Down
1 change: 1 addition & 0 deletions code/_globalvars/traits/admin_tooling.dm
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ GLOBAL_LIST_INIT(admin_visible_traits, list(
"TRAIT_MASOCHISM" = TRAIT_MASOCHISM,
"TRAIT_MOOD_NOEXAMINE" = TRAIT_MOOD_NOEXAMINE,
"TRAIT_MUTANT_IMMUNE" = TRAIT_MUTANT_IMMUNE,
"TRAIT_NARCOTICS" = TRAIT_NARCOTICS,
"TRAIT_NEVERBONER" = TRAIT_NEVERBONER,
"TRAIT_NIFSOFT" = TRAIT_NIFSOFT,
"TRAIT_NIFSOFT_HUD_GRANTER" = TRAIT_NIFSOFT_HUD_GRANTER,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,110 +2,129 @@
category = DEFOREST_MEDICAL_NAME
company_bitflag = CARGO_COMPANY_DEFOREST

// Precompiled first aid kits, ready to go if you don't want to bother getting individual items

/datum/armament_entry/company_import/deforest/first_aid_kit
subcategory = "First-Aid Kits"

/datum/armament_entry/company_import/deforest/first_aid_kit/civil_defense
item_type = /obj/item/storage/medkit/civil_defense/stocked
cost = PAYCHECK_COMMAND * 4

/datum/armament_entry/company_import/deforest/first_aid_kit/frontier
item_type = /obj/item/storage/medkit/frontier/stocked
cost = PAYCHECK_COMMAND * 5

/datum/armament_entry/company_import/deforest/first_aid_kit/combat_surgeon
item_type = /obj/item/storage/medkit/combat_surgeon/stocked
cost = PAYCHECK_COMMAND * 6

/datum/armament_entry/company_import/deforest/first_aid_kit/first_responder
item_type = /obj/item/storage/backpack/duffelbag/deforest_surgical/stocked
cost = PAYCHECK_COMMAND * 10

/datum/armament_entry/company_import/deforest/first_aid_kit/orange_satchel
item_type = /obj/item/storage/backpack/duffelbag/deforest_medkit/stocked
cost = PAYCHECK_COMMAND * 15

// Basic first aid supplies like gauze, sutures, mesh, so on

/datum/armament_entry/company_import/deforest/first_aid
subcategory = "First-Aid Consumables"

/datum/armament_entry/company_import/deforest/first_aid/gauze
item_type = /obj/item/stack/medical/gauze/twelve
cost = PAYCHECK_LOWER
/datum/armament_entry/company_import/deforest/first_aid/bruise_pack
item_type = /obj/item/stack/medical/bruise_pack
cost = PAYCHECK_LOWER

/datum/armament_entry/company_import/deforest/first_aid/ointment
item_type = /obj/item/stack/medical/ointment
/datum/armament_entry/company_import/deforest/first_aid/coagulant
item_type = /obj/item/stack/medical/suture/coagulant
cost = PAYCHECK_LOWER

/datum/armament_entry/company_import/deforest/first_aid/suture
item_type = /obj/item/stack/medical/suture
/datum/armament_entry/company_import/deforest/first_aid/red_sun
item_type = /obj/item/stack/medical/ointment/red_sun
cost = PAYCHECK_LOWER

/datum/armament_entry/company_import/deforest/first_aid/mesh
item_type = /obj/item/stack/medical/mesh
/datum/armament_entry/company_import/deforest/first_aid/sterile_gauze
item_type = /obj/item/stack/medical/gauze/sterilized
cost = PAYCHECK_LOWER

/datum/armament_entry/company_import/deforest/first_aid/bone_gel
item_type = /obj/item/stack/medical/bone_gel
/datum/armament_entry/company_import/deforest/first_aid/amollin
item_type = /obj/item/storage/pill_bottle/painkiller
cost = PAYCHECK_CREW

/datum/armament_entry/company_import/deforest/first_aid/medicated_sutures
item_type = /obj/item/stack/medical/suture/medicated
cost = PAYCHECK_CREW
/datum/armament_entry/company_import/deforest/first_aid/subdermal_splint
item_type = /obj/item/stack/medical/wound_recovery
cost = PAYCHECK_COMMAND * 2

/datum/armament_entry/company_import/deforest/first_aid/advanced_mesh
item_type = /obj/item/stack/medical/mesh/advanced
cost = PAYCHECK_CREW
/datum/armament_entry/company_import/deforest/first_aid/rapid_coagulant
item_type = /obj/item/stack/medical/wound_recovery/rapid_coagulant
cost = PAYCHECK_COMMAND * 2

// Autoinjectors for healing

/datum/armament_entry/company_import/deforest/medpens
subcategory = "Autoinjectors"
subcategory = "Medical Autoinjectors"
cost = PAYCHECK_COMMAND * 1.5

/datum/armament_entry/company_import/deforest/medpens/epipen
item_type = /obj/item/reagent_containers/hypospray/medipen
/datum/armament_entry/company_import/deforest/medpens/occuisate
item_type = /obj/item/reagent_containers/hypospray/medipen/deforest/occuisate

/datum/armament_entry/company_import/deforest/medpens/emergency_pen
item_type = /obj/item/reagent_containers/hypospray/medipen/ekit
/datum/armament_entry/company_import/deforest/medpens/morpital
item_type = /obj/item/reagent_containers/hypospray/medipen/deforest/morpital

/datum/armament_entry/company_import/deforest/medpens/blood_loss
item_type = /obj/item/reagent_containers/hypospray/medipen/blood_loss
/datum/armament_entry/company_import/deforest/medpens/lipital
item_type = /obj/item/reagent_containers/hypospray/medipen/deforest/lipital

/datum/armament_entry/company_import/deforest/medpens/atropine
item_type = /obj/item/reagent_containers/hypospray/medipen/atropine
/datum/armament_entry/company_import/deforest/medpens/meridine
item_type = /obj/item/reagent_containers/hypospray/medipen/deforest/meridine

/datum/armament_entry/company_import/deforest/medpens/oxandrolone
item_type = /obj/item/reagent_containers/hypospray/medipen/oxandrolone
/datum/armament_entry/company_import/deforest/medpens/calopine
item_type = /obj/item/reagent_containers/hypospray/medipen/deforest/calopine

/datum/armament_entry/company_import/deforest/medpens/salacid
item_type = /obj/item/reagent_containers/hypospray/medipen/salacid
/datum/armament_entry/company_import/deforest/medpens/coagulants
item_type = /obj/item/reagent_containers/hypospray/medipen/deforest/coagulants

/datum/armament_entry/company_import/deforest/medpens/penacid
item_type = /obj/item/reagent_containers/hypospray/medipen/penacid
/datum/armament_entry/company_import/deforest/medpens/lepoturi
item_type = /obj/item/reagent_containers/hypospray/medipen/deforest/lepoturi

/datum/armament_entry/company_import/deforest/medpens/salbutamol
item_type = /obj/item/reagent_containers/hypospray/medipen/salbutamol
/datum/armament_entry/company_import/deforest/medpens/psifinil
item_type = /obj/item/reagent_containers/hypospray/medipen/deforest/psifinil

// Various chemicals, with a box of syringes to come with
/datum/armament_entry/company_import/deforest/medpens/halobinin
item_type = /obj/item/reagent_containers/hypospray/medipen/deforest/halobinin

/datum/armament_entry/company_import/deforest/medical_chems
subcategory = "Chemical Supplies"
/datum/armament_entry/company_import/deforest/medpens/pentibinin
item_type = /obj/item/reagent_containers/hypospray/medipen/deforest/pentibinin
contraband = TRUE

/datum/armament_entry/company_import/deforest/medical_chems/syringes
item_type = /obj/item/storage/box/syringes
cost = PAYCHECK_LOWER
// Autoinjectors for fighting

/datum/armament_entry/company_import/deforest/medical_chems/epinephrine
item_type = /obj/item/reagent_containers/cup/bottle/epinephrine
cost = PAYCHECK_CREW
/datum/armament_entry/company_import/deforest/medpens_stim
subcategory = "Stimulant Autoinjectors"
cost = PAYCHECK_COMMAND * 2

/datum/armament_entry/company_import/deforest/medical_chems/mannitol
item_type = /obj/item/reagent_containers/cup/bottle/mannitol
cost = PAYCHECK_CREW
/datum/armament_entry/company_import/deforest/medpens_stim/adrenaline
item_type = /obj/item/reagent_containers/hypospray/medipen/deforest/adrenaline

/datum/armament_entry/company_import/deforest/medical_chems/morphine
item_type = /obj/item/reagent_containers/cup/bottle/morphine
cost = PAYCHECK_CREW
/datum/armament_entry/company_import/deforest/medpens_stim/synephrine
item_type = /obj/item/reagent_containers/hypospray/medipen/deforest/synephrine

/datum/armament_entry/company_import/deforest/medical_chems/multiver
item_type = /obj/item/reagent_containers/cup/bottle/multiver
cost = PAYCHECK_CREW
/datum/armament_entry/company_import/deforest/medpens_stim/krotozine
item_type = /obj/item/reagent_containers/hypospray/medipen/deforest/krotozine

/datum/armament_entry/company_import/deforest/medical_chems/formadehyde
item_type = /obj/item/reagent_containers/cup/bottle/formaldehyde
cost = PAYCHECK_CREW
/datum/armament_entry/company_import/deforest/medpens_stim/aranepaine
item_type = /obj/item/reagent_containers/hypospray/medipen/deforest/aranepaine
contraband = TRUE

/datum/armament_entry/company_import/deforest/medical_chems/potassium_iodide
item_type = /obj/item/reagent_containers/cup/bottle/potass_iodide
cost = PAYCHECK_CREW
/datum/armament_entry/company_import/deforest/medpens_stim/synalvipitol
item_type = /obj/item/reagent_containers/hypospray/medipen/deforest/synalvipitol
contraband = TRUE

/datum/armament_entry/company_import/deforest/medical_chems/atropine
item_type = /obj/item/reagent_containers/cup/bottle/atropine
cost = PAYCHECK_CREW
/datum/armament_entry/company_import/deforest/medpens_stim/twitch
item_type = /obj/item/reagent_containers/hypospray/medipen/deforest/twitch
cost = PAYCHECK_COMMAND * 3
contraband = TRUE

/datum/armament_entry/company_import/deforest/medical_chems/syriniver
item_type = /obj/item/reagent_containers/cup/bottle/syriniver
cost = PAYCHECK_CREW
/datum/armament_entry/company_import/deforest/medpens_stim/demoneye
item_type = /obj/item/reagent_containers/hypospray/medipen/deforest/demoneye
cost = PAYCHECK_COMMAND * 3
contraband = TRUE

// Equipment, from defibs to scanners to surgical tools

Expand Down Expand Up @@ -177,52 +196,3 @@
/datum/armament_entry/company_import/deforest/medical_modules/surgical_processor
name = "MOD surgical processor module"
item_type = /obj/item/mod/module/surgical_processor

// Various advanced cybernetic organs, organ replacements for the rich

/datum/armament_entry/company_import/deforest/cyber_organs
subcategory = "Premium Cybernetic Organs"
cost = PAYCHECK_CREW * 3

/datum/armament_entry/company_import/deforest/cyber_organs/eyes
name = "shielded cybernetic eyes"
item_type = /obj/item/storage/organbox/advanced_cyber_eyes

/datum/armament_entry/company_import/deforest/cyber_organs/ears
name = "upgraded cybernetic ears"
item_type = /obj/item/storage/organbox/advanced_cyber_ears

/datum/armament_entry/company_import/deforest/cyber_organs/heart
name = "upgraded cybernetic heart"
item_type = /obj/item/storage/organbox/advanced_cyber_heart

/datum/armament_entry/company_import/deforest/cyber_organs/liver
name = "upgraded cybernetic liver"
item_type = /obj/item/storage/organbox/advanced_cyber_liver

/datum/armament_entry/company_import/deforest/cyber_organs/lungs
name = "upgraded cybernetic lungs"
item_type = /obj/item/storage/organbox/advanced_cyber_lungs

/datum/armament_entry/company_import/deforest/cyber_organs/stomach
name = "upgraded cybernetic stomach"
item_type = /obj/item/storage/organbox/advanced_cyber_stomach

/datum/armament_entry/company_import/deforest/cyber_organs/augments
cost = PAYCHECK_COMMAND * 2

/datum/armament_entry/company_import/deforest/cyber_organs/augments/nutriment
name = "Nutriment pump implant"
item_type = /obj/item/organ/internal/cyberimp/chest/nutriment

/datum/armament_entry/company_import/deforest/cyber_organs/augments/reviver
name = "Reviver implant"
item_type = /obj/item/organ/internal/cyberimp/chest/reviver

/datum/armament_entry/company_import/deforest/cyber_organs/augments/surgery_implant
name = "surgical toolset implant"
item_type = /obj/item/organ/internal/cyberimp/arm/surgery

/datum/armament_entry/company_import/deforest/cyber_organs/augments/breathing_tube
name = "breathing tube implant"
item_type = /obj/item/organ/internal/cyberimp/mouth/breathing_tube
31 changes: 31 additions & 0 deletions modular_skyrat/modules/deforest_medical_items/code/cargo_packs.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/datum/supply_pack/medical/civil_defense
name = "Civil Defense Medical Kit Crate"
crate_name = "civil defense medical kit crate"
desc = "Contains five civil defense medical kits, small packs of injectors meant to be passed out to the public in case of emergency."
access = ACCESS_MEDICAL
cost = CARGO_CRATE_VALUE * 10 // 2000
contains = list(
/obj/item/storage/medkit/civil_defense/stocked = 5,
)

/datum/supply_pack/medical/frontier_first_aid
name = "Frontier First Aid Crate"
crate_name = "frontier first aid crate"
desc = "Contains two of each of frontier medical kits, and combat surgeon medical kits."
access = ACCESS_MEDICAL
cost = CARGO_CRATE_VALUE * 10
contains = list(
/obj/item/storage/medkit/frontier/stocked = 2,
/obj/item/storage/medkit/combat_surgeon/stocked = 2,
)

/datum/supply_pack/medical/heavy_duty_medical
name = "Heavy Duty Medical Kit Crate"
crate_name = "heavy duty medical kit crate"
desc = "Contains a large satchel medical kit, and a first responder surgical kit."
access = ACCESS_MEDICAL
cost = CARGO_CRATE_VALUE * 10
contains = list(
/obj/item/storage/backpack/duffelbag/deforest_medkit/stocked,
/obj/item/storage/backpack/duffelbag/deforest_surgical/stocked,
)
Loading

0 comments on commit e858e93

Please sign in to comment.