Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More maint drugs #20376

Merged
merged 2 commits into from
Jan 19, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 34 additions & 4 deletions code/game/objects/random/loot.dm
Original file line number Diff line number Diff line change
Expand Up @@ -328,13 +328,18 @@
/obj/item/storage/pill_bottle/mortaphenyl = 3,
/obj/item/storage/pill_bottle/happy = 2,
/obj/item/storage/pill_bottle/zoom = 2,
/obj/item/reagent_containers/pill/cocaine = 3,
/obj/item/reagent_containers/pill/heroin = 2,
/obj/item/storage/pill_bottle/smart = 2,
/obj/random/contraband/pill = 3,
/obj/item/reagent_containers/hypospray/autoinjector/stimpack = 2,
/obj/item/reagent_containers/hypospray/autoinjector/krokjuice = 2,
/obj/item/reagent_containers/hypospray/autoinjector/impedrezene = 0.4,
/obj/item/reagent_containers/hypospray/autoinjector/night_juice = 0.3,
/obj/item/reagent_containers/hypospray/autoinjector/night_juice = 1,
/obj/item/reagent_containers/hypospray/autoinjector/snowflake = 1,
/obj/item/storage/box/syndie_kit/syringe_gun = 0.5,
/obj/item/reagent_containers/syringe/drugs = 1,
/obj/item/reagent_containers/syringe/raskara_dust = 1,
/obj/item/reagent_containers/syringe/heroin = 1,
/obj/item/reagent_containers/inhaler/raskara_dust = 2,
/obj/item/reagent_containers/inhaler/space_drugs = 2,
/obj/item/storage/box/smokes = 0.7,
/obj/item/grenade/napalm = 0.4,
Expand All @@ -351,14 +356,39 @@
/obj/item/gun/projectile/pistol = 0.2,
/obj/item/gun/projectile/revolver/derringer = 0.4,
/obj/item/gun/projectile/shotgun/improvised/sawn = 0.3,
/obj/item/storage/pill_bottle/spotlight = 1,
/obj/random/contraband/pillbottle = 1,
/obj/item/material/knife/butterfly/switchblade = 1,
/obj/item/clothing/mask/gas/voice = 1,
/obj/item/clothing/gloves/brassknuckles = 2,
/obj/item/reagent_containers/inhaler/xuxigas = 1,
/obj/item/toy/balloon/syndicate = 4
)

/obj/random/contraband/pill
name = "random contraband pill"
desc = "This is a random pill of illegal drugs."
icon_state = "knife"
problist = list(
/obj/item/reagent_containers/pill/cocaine = 3,
/obj/item/reagent_containers/pill/contemplus = 3,
/obj/item/reagent_containers/pill/sparkle = 3,
/obj/item/reagent_containers/pill/spotlight = 3,
/obj/item/reagent_containers/pill/heroin = 2,
/obj/item/reagent_containers/pill/joy = 2
)

/obj/random/contraband/pillbottle
name = "random contraband pill bottle"
desc = "This is a random bottle of illegal pills."
icon_state = "knife"
problist = list(
/obj/item/storage/pill_bottle/cocaine = 1,
/obj/item/storage/pill_bottle/contemplus = 1,
/obj/item/storage/pill_bottle/sparkle = 1,
/obj/item/storage/pill_bottle/spotlight = 1,
/obj/item/storage/pill_bottle/heroin = 1,
/obj/item/storage/pill_bottle/joy = 1
)
/obj/random/coin
name = "random coin"
desc = "This is a random coin."
Expand Down
14 changes: 14 additions & 0 deletions code/modules/reagents/reagent_containers/hypospray.dm
Original file line number Diff line number Diff line change
Expand Up @@ -361,3 +361,17 @@
volume = 10
amount_per_transfer_from_this = 10
reagents_to_add = list(/singleton/reagent/drugs/night_juice = 10)

/obj/item/reagent_containers/hypospray/autoinjector/krokjuice
name = "krok juice autoinjector"
desc = "An autoinjector loaded with krok juice, an Eridanian narcotic known for causing intense, and pleasurable, prosthetic malfunctions."
volume = 10
amount_per_transfer_from_this = 10
reagents_to_add = list(/singleton/reagent/toxin/krok = 10)

/obj/item/reagent_containers/hypospray/autoinjector/snowflake
name = "snowflake autoinjector"
desc = "An autoinjector loaded with snowflake, a recreational stimulant known for causing euphoria while dramatically lowering a user's body temperature."
volume = 10
amount_per_transfer_from_this = 10
reagents_to_add = list(/singleton/reagent/drugs/snowflake = 10)
44 changes: 34 additions & 10 deletions code/modules/reagents/reagent_containers/syringes.dm
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,8 @@
desc = "A syringe for our synthetic friends."
gets_dirty = FALSE


// Pre-Loaded Medications
/obj/item/reagent_containers/syringe/inaprovaline
name = "Syringe (inaprovaline)"
desc = "Contains inaprovaline - used to stabilize patients."
Expand Down Expand Up @@ -428,16 +430,6 @@
mode = SYRINGE_INJECT
update_icon()

/obj/item/reagent_containers/syringe/drugs
name = "Syringe (drugs)"
desc = "Contains aggressive drugs meant for torture. Markered lines denote points at which to stop injecting."
reagents_to_add = list(/singleton/reagent/toxin/panotoxin = 1, /singleton/reagent/drugs/cryptobiolin = 4, /singleton/reagent/drugs/mindbreaker = 10)

/obj/item/reagent_containers/syringe/drugs/Initialize()
. = ..()
mode = SYRINGE_INJECT
update_icon()

/obj/item/reagent_containers/syringe/fluvectionem
name = "Syringe (fluvectionem)"
desc = "Contains purging medicine."
Expand Down Expand Up @@ -465,3 +457,35 @@
. = ..()
mode = SYRINGE_INJECT
update_icon()

// Contraband

/obj/item/reagent_containers/syringe/drugs
name = "Syringe (drugs)"
desc = "Contains aggressive drugs meant for torture. Markered lines denote points at which to stop injecting."
reagents_to_add = list(/singleton/reagent/toxin/panotoxin = 1, /singleton/reagent/drugs/cryptobiolin = 4, /singleton/reagent/drugs/mindbreaker = 10)

/obj/item/reagent_containers/syringe/drugs/Initialize()
. = ..()
mode = SYRINGE_INJECT
update_icon()

/obj/item/reagent_containers/syringe/heroin
name = "Syringe (heroin)"
desc = "For those unbearable pains. Markered lines indicate that this syringe contains three doses."
reagents_to_add = list(/singleton/reagent/drugs/heroin = 15)

/obj/item/reagent_containers/syringe/heroin/Initialize()
. = ..()
mode = SYRINGE_INJECT
update_icon()

/obj/item/reagent_containers/syringe/raskara_dust
name = "Syringe (raskara dust)"
desc = "A syringe of raskara dust, a narcotic that provokes a trance-like state in the user. More potent when injected."
reagents_to_add = list(/singleton/reagent/drugs/raskara_dust = 15)

/obj/item/reagent_containers/syringe/raskara_dust/Initialize()
. = ..()
mode = SYRINGE_INJECT
update_icon()
58 changes: 58 additions & 0 deletions html/changelogs/flaminglily-moremaintdrugs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
################################
# Example Changelog File
#
# Note: This file, and files beginning with ".", and files that don't end in ".yml" will not be read. If you change this file, you will look really dumb.
#
# Your changelog will be merged with a master changelog. (New stuff added only, and only on the date entry for the day it was merged.)
# When it is, any changes listed below will disappear.
#
# Valid Prefixes:
# bugfix
# - (fixes bugs)
# wip
# - (work in progress)
# qol
# - (quality of life)
# soundadd
# - (adds a sound)
# sounddel
# - (removes a sound)
# rscadd
# - (adds a feature)
# rscdel
# - (removes a feature)
# imageadd
# - (adds an image or sprite)
# imagedel
# - (removes an image or sprite)
# spellcheck
# - (fixes spelling or grammar)
# experiment
# - (experimental change)
# balance
# - (balance changes)
# code_imp
# - (misc internal code change)
# refactor
# - (refactors code)
# config
# - (makes a change to the config files)
# admin
# - (makes changes to administrator tools)
# server
# - (miscellaneous changes to server)
#################################

# Your name.
author: Flaminglily

# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again.
delete-after: True

# Any changes you've made. See valid prefix list above.
# INDENT WITH TWO SPACES. NOT TABS. SPACES.
# SCREW THIS UP AND IT WON'T WORK.
# Also, this gets changed to [] after reading. Just remove the brackets when you add new shit.
# Please surround your changes in double quotes ("). It works without them, but if you use certain characters it screws up compiling. The quotes will not show up in the changelog.
changes:
- rscadd: "Added a significantly more diverse amount of contraband drugs to be found in the maintenance tunnels."
Loading