-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Initial * Pills and Ilness * Reagent Recipe * recipe name * Notation * better values * Minor Fixes * Rework + Interdyne RP * Mapping edits * Smaller containers, less reagents * no deforest * Secret Recipe * Update modular_nova/modules/HMS_Changes/sansufentanyl.dm Co-authored-by: FlufflesTheDog <[email protected]> * Fixes double call This was un needed, as it ended up generating the text on the sheet twice * Apply suggestions from code review Co-authored-by: Bloop <[email protected]> --------- Co-authored-by: FlufflesTheDog <[email protected]> Co-authored-by: Bloop <[email protected]>
- Loading branch information
1 parent
9f6e117
commit 4aecae3
Showing
6 changed files
with
156 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
/datum/supply_pack/misc/experimentalmedicine | ||
name = "Sanusfentanyl Medicine Crate" | ||
desc = "A crate containing the medication required for living with Hereditary Manifold Sickness, Sansufentanyl." | ||
cost = CARGO_CRATE_VALUE * 3 | ||
contains = list(/obj/item/storage/pill_bottle/sansufentanyl = 2) | ||
|
||
/datum/chemical_reaction/medicine/sansufentanyl | ||
results = list(/datum/reagent/medicine/sansufentanyl = 10) | ||
required_reagents = list(/datum/reagent/medicine/sansufentanyl_base = 1, /datum/reagent/medicine/spaceacillin = 3, /datum/reagent/bluespace = 6) | ||
reaction_tags = REACTION_TAG_MODERATE | REACTION_TAG_HEALING | REACTION_TAG_OTHER | ||
|
||
/datum/reagent/medicine/sansufentanyl | ||
chemical_flags = REAGENT_NO_RANDOM_RECIPE | ||
|
||
/datum/reagent/medicine/sansufentanyl_base | ||
name = "Experimental Fentanyl Base" | ||
description = "The secret base reagent used to create sansufentanyl. Developed by Interdyne Pharmacuticals, it is a closely held secret recipe." | ||
color = "#8659a6" | ||
ph = 5 | ||
chemical_flags = REAGENT_NO_RANDOM_RECIPE | ||
|
||
/datum/reagent/medicine/sansufentanyl_base/on_mob_life(mob/living/carbon/affected_mob, seconds_per_tick, times_fired) | ||
. = ..() | ||
affected_mob.adjust_confusion_up_to(3 SECONDS * REM * seconds_per_tick, 10 SECONDS) | ||
affected_mob.adjust_dizzy_up_to(6 SECONDS * REM * seconds_per_tick, 20 SECONDS) | ||
if(affected_mob.adjustStaminaLoss(4 * REM * seconds_per_tick, updating_stamina = FALSE)) | ||
. = UPDATE_MOB_HEALTH | ||
|
||
if(SPT_PROB(10, seconds_per_tick)) | ||
to_chat(affected_mob, "You feel confused and disoriented.") | ||
if(prob(30)) | ||
SEND_SOUND(affected_mob, sound('sound/weapons/flash_ring.ogg')) | ||
|
||
/obj/item/paper/fluff/sansufentanyl | ||
name = "sansufentanyl recipe" | ||
default_raw_text = {"Sansufentanyl Recipe! <br> | ||
Within this box contains the base reagents in order to make the experimental medicine, sansufentanyl. <br> | ||
1. Grind the bluespace crystals into a fine powder. <br> | ||
2. Mix 1 part Experimental Fentanyl Base with 3 parts spaceacillin and 6 parts bluespace dust. <br> | ||
3. Mix the reagents together in a beaker and keep tempratue to around 350k. <br> | ||
4. Once the reagents have been mixed, pour the mixture into a chem master. <br> | ||
5. Initiate the chem master's pill press and press the pills into units of 10 per pill. <br> | ||
6. Once the pills have been pressed, place them into a pill bottle and store them in a cool, dark place. <br> | ||
|
||
If you run out of the base reagent you can make more using the secret formula stored in the vault. | ||
|
||
|
||
THE RECIPE STORED IN THE VAULT IS TOP SECRET, DO NOT GIVE IT AWAY UNDER ANY CIRCUMSTANCE. | ||
IF YOU ARE CAUGHT GIVING AWAY THE RECIPE, YOU WILL BE TERMINATED. | ||
"} | ||
|
||
/obj/item/reagent_containers/cup/beaker/sansufentanyl_base | ||
list_reagents = list(/datum/reagent/medicine/sansufentanyl_base = 60) | ||
|
||
/obj/item/reagent_containers/cup/beaker/large/spaceacillin | ||
list_reagents = list(/datum/reagent/medicine/spaceacillin = 120) | ||
|
||
/obj/item/storage/box/syndie_kit/sansufentanyl | ||
name = "sansufentanyl reagent box" | ||
desc = "Contains everything you'll need to create new batches of sansufentanyl. Careful, do not spill contents." | ||
|
||
/obj/item/storage/box/syndie_kit/sansufentanyl/PopulateContents() | ||
generate_items_inside(list( | ||
/obj/item/reagent_containers/cup/beaker/sansufentanyl_base = 1, | ||
/obj/item/reagent_containers/cup/beaker/large/spaceacillin = 1, | ||
/obj/item/stack/ore/bluespace_crystal = 15, | ||
/obj/item/paper/fluff/sansufentanyl = 1, | ||
), src) | ||
|
||
/datum/chemical_reaction/randomized/sansufentanyl | ||
randomize_req_temperature = FALSE | ||
possible_catalysts = list(/datum/reagent/bluespace) | ||
min_catalysts = 1 | ||
max_catalysts = 1 | ||
max_input_reagents = 4 | ||
results = list(/datum/reagent/medicine/sansufentanyl_base=20) | ||
|
||
/datum/chemical_reaction/randomized/sansufentanyl/GetPossibleReagents(kind) | ||
switch(kind) | ||
if(RNGCHEM_INPUT) | ||
var/list/possible_ingredients = list() | ||
for(var/datum/reagent/compound as anything in GLOB.medicine_reagents) | ||
if(initial(compound.chemical_flags) & REAGENT_CAN_BE_SYNTHESIZED) | ||
possible_ingredients += compound | ||
return possible_ingredients | ||
return ..() | ||
|
||
/obj/item/paper/secretrecipe/secretformula | ||
name = "\improper Sansufentanyl Secret Formula" | ||
recipe_id = /datum/chemical_reaction/randomized/sansufentanyl | ||
possible_recipes = list(/datum/chemical_reaction/randomized/sansufentanyl) | ||
|
||
/obj/item/folder/syndicate/red/secretformula | ||
icon_state = "folder_sred" | ||
|
||
/obj/item/folder/syndicate/red/Initialize(mapload) | ||
. = ..() | ||
new /obj/item/paper/secretrecipe/secretformula(src) | ||
update_appearance() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters