diff --git a/_maps/RandomRuins/SpaceRuins/crashedship.dmm b/_maps/RandomRuins/SpaceRuins/crashedship.dmm index 2edaf95eda6..c419c508a1b 100644 --- a/_maps/RandomRuins/SpaceRuins/crashedship.dmm +++ b/_maps/RandomRuins/SpaceRuins/crashedship.dmm @@ -130,7 +130,7 @@ /turf/open/floor/iron/airless, /area/ruin/space/has_grav/crashedship/fore) "fI" = ( -/obj/structure/closet/mini_fridge, +/obj/structure/closet/mini_fridge/grimy, /obj/effect/mapping_helpers/broken_floor, /turf/open/floor/plating, /area/ruin/space/has_grav/crashedship/fore) diff --git a/_maps/RandomRuins/SpaceRuins/infested_frigate.dmm b/_maps/RandomRuins/SpaceRuins/infested_frigate.dmm index f991df942cd..e6026ed8e2c 100644 --- a/_maps/RandomRuins/SpaceRuins/infested_frigate.dmm +++ b/_maps/RandomRuins/SpaceRuins/infested_frigate.dmm @@ -1664,7 +1664,7 @@ }, /obj/effect/turf_decal/tile/bar, /obj/structure/table/reinforced, -/obj/structure/closet/mini_fridge{ +/obj/structure/closet/mini_fridge/grimy{ anchored = 1; pixel_y = 6 }, diff --git a/_maps/RandomRuins/SpaceRuins/oldstation.dmm b/_maps/RandomRuins/SpaceRuins/oldstation.dmm index ae4db7d304c..1e2833c6437 100644 --- a/_maps/RandomRuins/SpaceRuins/oldstation.dmm +++ b/_maps/RandomRuins/SpaceRuins/oldstation.dmm @@ -6905,7 +6905,7 @@ /area/ruin/space/ancientstation/beta/supermatter) "Nt" = ( /obj/structure/table/glass, -/obj/structure/closet/mini_fridge{ +/obj/structure/closet/mini_fridge/grimy{ pixel_y = 8; pixel_x = 2 }, diff --git a/_maps/RandomZLevels/moonoutpost19.dmm b/_maps/RandomZLevels/moonoutpost19.dmm index ae8f2d28668..a5b60c617db 100644 --- a/_maps/RandomZLevels/moonoutpost19.dmm +++ b/_maps/RandomZLevels/moonoutpost19.dmm @@ -3406,7 +3406,7 @@ /turf/closed/wall/r_wall, /area/awaymission/moonoutpost19/research) "vI" = ( -/obj/structure/closet/mini_fridge, +/obj/structure/closet/mini_fridge/grimy, /obj/item/food/pizzaslice/margherita, /obj/item/food/pizzaslice/margherita{ pixel_x = 5; diff --git a/_maps/map_files/Basketball/greytide_worldwide.dmm b/_maps/map_files/Basketball/greytide_worldwide.dmm index bffda0d409d..b104d189891 100644 --- a/_maps/map_files/Basketball/greytide_worldwide.dmm +++ b/_maps/map_files/Basketball/greytide_worldwide.dmm @@ -628,7 +628,7 @@ /turf/open/floor/plating, /area/centcom/basketball) "Tc" = ( -/obj/structure/closet/mini_fridge, +/obj/structure/closet/mini_fridge/grimy, /turf/open/floor/plating, /area/centcom/basketball) "Tl" = ( diff --git a/_maps/map_files/NorthStar/north_star.dmm b/_maps/map_files/NorthStar/north_star.dmm index 2620576b25e..bb75ee86607 100644 --- a/_maps/map_files/NorthStar/north_star.dmm +++ b/_maps/map_files/NorthStar/north_star.dmm @@ -28023,8 +28023,6 @@ /area/station/service/hydroponics) "hlG" = ( /obj/structure/closet/mini_fridge{ - desc = "A small contraption designed to imbue a few drinks with a pleasant chill."; - name = "mini-fridge"; pixel_x = 6; pixel_y = 5 }, @@ -76061,8 +76059,6 @@ /area/station/cargo/sorting) "tSD" = ( /obj/structure/closet/mini_fridge{ - desc = "A small contraption designed to imbue a few drinks with a pleasant chill."; - name = "mini-fridge"; pixel_x = 6; pixel_y = 5 }, diff --git a/_maps/map_files/tramstation/maintenance_modules/cargoscilower_attachment_b_1.dmm b/_maps/map_files/tramstation/maintenance_modules/cargoscilower_attachment_b_1.dmm index fa4acfb4906..fb90b76e1db 100644 --- a/_maps/map_files/tramstation/maintenance_modules/cargoscilower_attachment_b_1.dmm +++ b/_maps/map_files/tramstation/maintenance_modules/cargoscilower_attachment_b_1.dmm @@ -26,7 +26,7 @@ /area/station/maintenance/starboard/central) "v" = ( /obj/effect/decal/cleanable/dirt, -/obj/structure/closet/mini_fridge, +/obj/structure/closet/mini_fridge/grimy, /turf/open/floor/iron/smooth, /area/station/maintenance/starboard/central) "z" = ( diff --git a/_maps/map_files/tramstation/maintenance_modules/dormmedupper_attachment_b_3.dmm b/_maps/map_files/tramstation/maintenance_modules/dormmedupper_attachment_b_3.dmm index 98e314091c2..8dcce8fec68 100644 --- a/_maps/map_files/tramstation/maintenance_modules/dormmedupper_attachment_b_3.dmm +++ b/_maps/map_files/tramstation/maintenance_modules/dormmedupper_attachment_b_3.dmm @@ -70,7 +70,7 @@ /turf/open/floor/iron/smooth, /area/station/maintenance/department/crew_quarters/dorms) "w" = ( -/obj/structure/closet/mini_fridge, +/obj/structure/closet/mini_fridge/grimy, /turf/open/misc/asteroid, /area/station/asteroid) "y" = ( diff --git a/_maps/map_files/tramstation/tramstation.dmm b/_maps/map_files/tramstation/tramstation.dmm index 1dca057dd8c..514d26d25de 100644 --- a/_maps/map_files/tramstation/tramstation.dmm +++ b/_maps/map_files/tramstation/tramstation.dmm @@ -62030,10 +62030,7 @@ /area/station/commons/storage/art) "vbb" = ( /obj/structure/table, -/obj/structure/closet/mini_fridge{ - name = "mini-fridge"; - anchored = 1 - }, +/obj/structure/closet/mini_fridge, /obj/item/reagent_containers/condiment/milk, /obj/item/reagent_containers/cup/soda_cans/cola, /turf/open/floor/iron/white, diff --git a/code/game/objects/effects/spawners/random/structure.dm b/code/game/objects/effects/spawners/random/structure.dm index 580f7ff1b9b..0fa60090752 100644 --- a/code/game/objects/effects/spawners/random/structure.dm +++ b/code/game/objects/effects/spawners/random/structure.dm @@ -142,7 +142,7 @@ /obj/structure/closet/l3closet = 1, /obj/structure/closet/radiation = 1, /obj/structure/closet/bombcloset = 1, - /obj/structure/closet/mini_fridge = 1, + /obj/structure/closet/mini_fridge/grimy = 1, ) /obj/effect/spawner/random/structure/chair_flipped diff --git a/code/game/objects/structures/crates_lockers/closets/gimmick.dm b/code/game/objects/structures/crates_lockers/closets/gimmick.dm index 2b1e0814113..df05a57cf6f 100644 --- a/code/game/objects/structures/crates_lockers/closets/gimmick.dm +++ b/code/game/objects/structures/crates_lockers/closets/gimmick.dm @@ -113,10 +113,13 @@ /obj/structure/closet/mini_fridge name = "grimy mini-fridge" - desc = "A small contraption designed to imbue a few drinks with a pleasant chill. This antiquated unit however seems to serve no purpose other than keeping the roaches company." + desc = "A small contraption designed to imbue a few drinks with a pleasant chill." icon_state = "mini_fridge" icon_welded = "welded_small" max_mob_size = MOB_SIZE_SMALL + pass_flags = PASSTABLE + anchored_tabletop_offset = 3 + anchored = 1 storage_capacity = 10 /obj/structure/closet/mini_fridge/PopulateContents() @@ -125,10 +128,22 @@ new /obj/effect/spawner/random/food_or_drink/refreshing_beverage(src) if(prob(50)) new /obj/effect/spawner/random/food_or_drink/refreshing_beverage(src) + if(prob(40)) + new /obj/item/reagent_containers/cup/glass/bottle/beer(src) + +/obj/structure/closet/mini_fridge/grimy + name = "grimy mini_fridge" + desc = "A small contraption designed to imbue a few drinks with a pleasant chill. This antiquated unit however seems to serve no purpose other than keeping the roaches company." + +/obj/structure/closet/mini_fridge/grimy/PopulateContents() + . = ..() if(prob(40)) if(prob(50)) new /obj/item/food/pizzaslice/moldy/bacteria(src) else new /obj/item/food/breadslice/moldy/bacteria(src) - else if(prob(30)) - new /obj/item/food/syndicake(src) + else if(prob(40)) + if(prob(50)) + new /obj/item/food/syndicake(src) + else + new /mob/living/basic/cockroach(src)