Skip to content

Commit

Permalink
morereverts
Browse files Browse the repository at this point in the history
  • Loading branch information
wraith-54321 committed Jun 11, 2023
1 parent 2fb6c88 commit 7085880
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/modules/reagents/reagent_containers/pill.dm
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,8 @@
, "Surely, there's no way this could go bad.", "Winners don't do dr- oh what the heck!", "Free pills? At no cost, how could I lose?")

/obj/item/reagent_containers/pill/maintenance/Initialize(mapload)
list_reagents = list(get_random_reagent_id_unrestricted() = rand(10,50)) //list_reagents is called before init, because init generates the reagents using list_reagents
//monkestation edit on next line: replaced get_random_reagent_id_unrestricted() with get_random_reagent_id_unrestricted_non_ethanol()
list_reagents = list(get_random_reagent_id_unrestricted_non_ethanol() = rand(10,50)) //list_reagents is called before init, because init generates the reagents using list_reagents
. = ..()
if(!GLOB.pill_names.len)
var/json = file("strings/pill_names.json")
Expand Down
1 change: 1 addition & 0 deletions tgstation.dme
Original file line number Diff line number Diff line change
Expand Up @@ -5265,6 +5265,7 @@
#include "interface\stylesheet.dm"
#include "interface\skin.dmf"
#include "monkestation\code\__HELPERS\mobs.dm"
#include "monkestation\code\__HELPERS\reagents.dm"
#include "monkestation\code\datums\antag_tokens.dm"
#include "monkestation\code\datums\patreon_data.dm"
#include "monkestation\code\datums\stamina_container.dm"
Expand Down

0 comments on commit 7085880

Please sign in to comment.