mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-11 08:06:33 +01:00
2ef5704c30
## About The Pull Request https://github.com/user-attachments/assets/531f1456-72a1-4215-ae9e-4f4bf143b8c5 <img width="429" height="93" alt="image" src="https://github.com/user-attachments/assets/1440fb60-a6b8-46c3-9bee-5a30017e2265" /> ## Why It's Good For The Game There's been SS14 players moving to SS13 and finding dropping in 14 is better, which I kinda agree as it allows you to be more precise with x/y dropping. ## Changelog 🆑 qol: There's a keybind (default is Ctrl+X, rebindable) for the drop hotkey to drop where your mouse is (similar to SS14). /🆑
60 lines
1.7 KiB
Plaintext
60 lines
1.7 KiB
Plaintext
/datum/keybinding/movement
|
|
category = CATEGORY_MOVEMENT
|
|
weight = WEIGHT_HIGHEST
|
|
|
|
/datum/keybinding/movement/north
|
|
hotkey_keys = list("W", "North")
|
|
name = "North"
|
|
full_name = "Move North"
|
|
description = "Moves your character north"
|
|
keybind_signal = COMSIG_KB_MOVEMENT_NORTH_DOWN
|
|
|
|
/datum/keybinding/movement/south
|
|
hotkey_keys = list("S", "South")
|
|
name = "South"
|
|
full_name = "Move South"
|
|
description = "Moves your character south"
|
|
keybind_signal = COMSIG_KB_MOVEMENT_SOUTH_DOWN
|
|
|
|
/datum/keybinding/movement/west
|
|
hotkey_keys = list("A", "West")
|
|
name = "West"
|
|
full_name = "Move West"
|
|
description = "Moves your character left"
|
|
keybind_signal = COMSIG_KB_MOVEMENT_WEST_DOWN
|
|
|
|
/datum/keybinding/movement/east
|
|
hotkey_keys = list("D", "East")
|
|
name = "East"
|
|
full_name = "Move East"
|
|
description = "Moves your character east"
|
|
keybind_signal = COMSIG_KB_MOVEMENT_EAST_DOWN
|
|
|
|
/datum/keybinding/movement/zlevel_upwards
|
|
hotkey_keys = list("Northeast") // PGUP
|
|
name = "Upwards"
|
|
full_name = "Move Upwards"
|
|
description = "Moves your character up a z-level if possible"
|
|
keybind_signal = COMSIG_KB_MOVEMENT_ZLEVEL_MOVEUP_DOWN
|
|
|
|
/datum/keybinding/movement/zlevel_upwards/down(client/user, turf/target, mousepos_x, mousepos_y)
|
|
. = ..()
|
|
if(.)
|
|
return
|
|
user.mob.up()
|
|
return TRUE
|
|
|
|
/datum/keybinding/movement/zlevel_downwards
|
|
hotkey_keys = list("Southeast") // PGDOWN
|
|
name = "Downwards"
|
|
full_name = "Move Downwards"
|
|
description = "Moves your character down a z-level if possible"
|
|
keybind_signal = COMSIG_KB_MOVEMENT_ZLEVEL_MOVEDOWN_DOWN
|
|
|
|
/datum/keybinding/movement/zlevel_downwards/down(client/user, turf/target, mousepos_x, mousepos_y)
|
|
. = ..()
|
|
if(.)
|
|
return
|
|
user.mob.down()
|
|
return TRUE
|