From 6d68ba4e9df736bb5486d8df8da9e21ada4af3d5 Mon Sep 17 00:00:00 2001 From: ShizCalev Date: Fri, 21 Sep 2018 19:17:55 -0400 Subject: [PATCH] Adds Waffle Co. brand monkey cubes --- .../LavaRuins/lavaland_surface_syndicate_base1.dmm | 4 ++-- _maps/RandomZLevels/VR/syndicate_trainer.dmm | 2 +- code/game/objects/items/storage/boxes.dm | 7 ++++++- code/modules/food_and_drinks/food/snacks_meat.dm | 6 ++++++ 4 files changed, 15 insertions(+), 4 deletions(-) diff --git a/_maps/RandomRuins/LavaRuins/lavaland_surface_syndicate_base1.dmm b/_maps/RandomRuins/LavaRuins/lavaland_surface_syndicate_base1.dmm index b330592a8ed..bce97307546 100644 --- a/_maps/RandomRuins/LavaRuins/lavaland_surface_syndicate_base1.dmm +++ b/_maps/RandomRuins/LavaRuins/lavaland_surface_syndicate_base1.dmm @@ -1260,8 +1260,8 @@ "eQ" = ( /obj/machinery/light/small, /obj/structure/table/reinforced, -/obj/item/storage/box/monkeycubes, -/obj/item/storage/box/monkeycubes, +/obj/item/storage/box/monkeycubes/syndicate, +/obj/item/storage/box/monkeycubes/syndicate, /obj/effect/turf_decal/tile/neutral{ dir = 1 }, diff --git a/_maps/RandomZLevels/VR/syndicate_trainer.dmm b/_maps/RandomZLevels/VR/syndicate_trainer.dmm index f68a799b76f..deb95f731d9 100644 --- a/_maps/RandomZLevels/VR/syndicate_trainer.dmm +++ b/_maps/RandomZLevels/VR/syndicate_trainer.dmm @@ -916,7 +916,7 @@ /obj/structure/window/reinforced{ dir = 1 }, -/obj/item/storage/box/monkeycubes, +/obj/item/storage/box/monkeycubes/syndicate, /turf/open/indestructible, /area/awaymission/centcomAway/general) "fB" = ( diff --git a/code/game/objects/items/storage/boxes.dm b/code/game/objects/items/storage/boxes.dm index c8e96d0b28c..06d8caba647 100644 --- a/code/game/objects/items/storage/boxes.dm +++ b/code/game/objects/items/storage/boxes.dm @@ -388,6 +388,7 @@ desc = "Drymate brand monkey cubes. Just add water!" icon_state = "monkeycubebox" illustration = null + var/cube_type = /obj/item/reagent_containers/food/snacks/monkeycube /obj/item/storage/box/monkeycubes/ComponentInitialize() . = ..() @@ -397,7 +398,11 @@ /obj/item/storage/box/monkeycubes/PopulateContents() for(var/i in 1 to 5) - new /obj/item/reagent_containers/food/snacks/monkeycube(src) + new cube_type(src) + +/obj/item/storage/box/monkeycubes/syndicate + desc = "Waffle Co. brand monkey cubes. Just add water and a dash of subterfuge!" + cube_type = /obj/item/reagent_containers/food/snacks/monkeycube/syndicate /obj/item/storage/box/ids name = "box of spare IDs" diff --git a/code/modules/food_and_drinks/food/snacks_meat.dm b/code/modules/food_and_drinks/food/snacks_meat.dm index c77242e69d3..f0c1a1d699b 100644 --- a/code/modules/food_and_drinks/food/snacks_meat.dm +++ b/code/modules/food_and_drinks/food/snacks_meat.dm @@ -183,10 +183,13 @@ filling_color = "#CD853F" tastes = list("the jungle" = 1, "bananas" = 1) foodtype = MEAT | SUGAR + var/faction /obj/item/reagent_containers/food/snacks/monkeycube/proc/Expand() var/mob/spammer = get_mob_by_key(fingerprintslast) var/mob/living/carbon/monkey/bananas = new(drop_location(), TRUE, spammer) + if(faction) + bananas.faction = faction if (!QDELETED(bananas)) visible_message("[src] expands!") bananas.log_message("Spawned via [src] at [AREACOORD(src)], Last attached mob: [key_name(spammer)].", LOG_ATTACK) @@ -194,6 +197,9 @@ visible_message("[src] fails to expand!") qdel(src) +/obj/item/reagent_containers/food/snacks/monkeycube/syndicate + faction = list("neutral", ROLE_SYNDICATE) + /obj/item/reagent_containers/food/snacks/enchiladas name = "enchiladas" desc = "Viva La Mexico!"