From 59465ddc2d35e31bca7f9a95e890e044301c320e Mon Sep 17 00:00:00 2001 From: Anewbe Date: Sun, 24 Sep 2017 22:44:27 -0500 Subject: [PATCH] Allows slimes and spiderbots to ventcrawl properly. --- .../mob/living/simple_animal/animals/spiderbot.dm | 9 +++++++++ code/modules/mob/living/simple_animal/slime/slime.dm | 4 ++++ 2 files changed, 13 insertions(+) diff --git a/code/modules/mob/living/simple_animal/animals/spiderbot.dm b/code/modules/mob/living/simple_animal/animals/spiderbot.dm index 57f0351d9a0..ff3f03bf57c 100644 --- a/code/modules/mob/living/simple_animal/animals/spiderbot.dm +++ b/code/modules/mob/living/simple_animal/animals/spiderbot.dm @@ -40,6 +40,15 @@ var/list/req_access = list(access_robotics) //Access needed to pop out the brain. var/positronic + can_enter_vent_with = list( + /obj/item/weapon/implant, + /obj/item/device/radio/borg, + /obj/item/weapon/holder, + /obj/machinery/camera, + /mob/living/simple_animal/borer, + /obj/item/device/mmi, + ) + var/emagged = 0 var/obj/item/held_item = null //Storage for single item they can hold. diff --git a/code/modules/mob/living/simple_animal/slime/slime.dm b/code/modules/mob/living/simple_animal/slime/slime.dm index c1e912b74cc..7a213ac97fc 100644 --- a/code/modules/mob/living/simple_animal/slime/slime.dm +++ b/code/modules/mob/living/simple_animal/slime/slime.dm @@ -88,6 +88,10 @@ var/reagent_injected = null // Some slimes inject reagents on attack. This tells the game what reagent to use. var/injection_amount = 5 // This determines how much. + can_enter_vent_with = list( + /obj/item/clothing/head, + ) + /mob/living/simple_animal/slime/New(var/location, var/start_as_adult = FALSE) verbs += /mob/living/proc/ventcrawl if(start_as_adult)