Skip to content

Commit

Permalink
Adjusts Germs (#407)
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMelbert authored Jan 28, 2024
1 parent 5ae5cb5 commit 5e251bc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion code/datums/components/food/germ_sensitive.dm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Don't eat off the floor or hold parent object with dirty hands, you'll get sick

/// Time needed for bacteria to infect the parent object
#define GERM_EXPOSURE_DELAY (5 SECONDS) // Five-second rule
#define GERM_EXPOSURE_DELAY (1 MINUTES) // Five-second rule // non-module change: no

/// Possible diseases
GLOBAL_LIST_INIT(floor_diseases, list(
Expand Down
3 changes: 3 additions & 0 deletions code/game/objects/items/food/packaged.dm
Original file line number Diff line number Diff line change
Expand Up @@ -323,3 +323,6 @@

/obj/item/food/rationpack/proc/check_liked(mob/mob) //Nobody likes rationpacks. Nobody.
return FOOD_DISLIKED

/obj/item/food/rationpack/make_germ_sensitive(mapload)
return // NON-MODULE CHANGE // Let's get this out on a tray... nice
4 changes: 2 additions & 2 deletions code/modules/reagents/reagent_containers/pill.dm
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
icon_state = "pill[rand(1,20)]"
if(reagents.total_volume && rename_with_volume)
name += " ([reagents.total_volume]u)"
if(apply_type == INGEST)
AddComponent(/datum/component/germ_sensitive, mapload)
// if(apply_type == INGEST) // NON-MODULE CHANGE
// AddComponent(/datum/component/germ_sensitive, mapload)

/obj/item/reagent_containers/pill/attack(mob/M, mob/user, def_zone)
if(!canconsume(M, user))
Expand Down

0 comments on commit 5e251bc

Please sign in to comment.