Files
a1ff819fb7 Adds the ability to 'army crawl' as a component, also moves cortical borers hide ability to this component. (#29245)
* the whole PR

* The whole PR

* Update HUD_Glasses.dm

* puts it back as a component

* Update prone_mob.dm

* Update movement.dm

* Update mob_movement.dm

* Update prone_mob.dm

* fixes all the things I was told (I think)

---------

Co-authored-by: SpaceLoveSs13 <68121607+SpaceLoveSs13@users.noreply.github.com>
2024-08-21 11:35:58 +02:00

15 lines
432 B
Plaintext

/datum/keybinding/movement/army_crawl
hotkey_keys = list("K")
name = "prone"
full_name = "army crawl"
description = "lay yourself as close to the ground as possible after a short delay"
keybind_signal = COMSIG_KB_MOVEMENT_ARMY_CRAWL_DOWN
/datum/keybinding/movement/army_crawl/down(client/user)
. = ..()
if(.)
return
var/mob/living/carbon/crawler = user.mob
if(istype(crawler, /mob/living/carbon))
crawler.army_crawl()