mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-22 07:37:09 +01:00
Sets default FPS to 40 for new players instead of 0(server default, which is 20 currently) Creates/Sets default rest keybinding to V Sets default Move upwards keybinding to shiftC Sets default Move downwards keybinding to ctrlC Creates/Sets default subtler anti-ghost keybinding to 7
29 lines
704 B
Plaintext
29 lines
704 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/rest
|
|
hotkey_keys = list("V")
|
|
name = "rest"
|
|
full_name = "Rest"
|
|
description = "Toggle between lying down or standing up."
|
|
|
|
/datum/keybinding/living/rest/down(client/user)
|
|
var/mob/living/L = user.mob
|
|
L.toggle_intentionally_resting()
|
|
return TRUE
|