Merge pull request #3944 from Anewbe/spiderbot_fix

Allows hatted slimes and spiderbots to ventcrawl properly.
This commit is contained in:
Neerti
2017-09-25 21:35:54 -04:00
committed by GitHub
2 changed files with 13 additions and 0 deletions

View File

@@ -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.

View File

@@ -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)