mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 00:29:02 +01:00
* 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>
15 lines
432 B
Plaintext
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()
|