mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-21 03:59:59 +01:00
* Add look up verb * Made requested changes * Added a toggle * Removed redundant arg from signal * Update code/modules/mob/living/living.dm Co-authored-by: Rohesie <rohesie@gmail.com> * Update code/modules/mob/living/living.dm Co-authored-by: Rohesie <rohesie@gmail.com> * Adds keybinding description * Removed unused signal Co-authored-by: Rohesie <rohesie@gmail.com>
34 lines
834 B
Plaintext
34 lines
834 B
Plaintext
/datum/keybinding/living
|
|
category = CATEGORY_HUMAN
|
|
weight = WEIGHT_MOB
|
|
|
|
/datum/keybinding/living/can_use(client/user)
|
|
return isliving(user.mob)
|
|
|
|
/datum/keybinding/living/resist
|
|
hotkey_keys = list("B")
|
|
name = "resist"
|
|
full_name = "Resist"
|
|
description = "Break free of your current state. Handcuffed? on fire? Resist!"
|
|
|
|
/datum/keybinding/living/resist/down(client/user)
|
|
var/mob/living/L = user.mob
|
|
L.resist()
|
|
return TRUE
|
|
|
|
/datum/keybinding/living/look_up
|
|
hotkey_keys = list("L")
|
|
name = "look up"
|
|
full_name = "Look Up"
|
|
description = "Look up at the next z-level. Only works if directly below open space."
|
|
|
|
/datum/keybinding/living/look_up/down(client/user)
|
|
var/mob/living/L = user.mob
|
|
L.look_up()
|
|
return TRUE
|
|
|
|
/datum/keybinding/living/look_up/up(client/user)
|
|
var/mob/living/L = user.mob
|
|
L.stop_look_up()
|
|
return TRUE
|