mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-26 01:52:29 +00:00
Merge pull request #3944 from Anewbe/spiderbot_fix
Allows hatted slimes and spiderbots to ventcrawl properly.
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user