mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 14:39:58 +01:00
Adds a keybind for 'precise' dropping (like SS14) (#93790)
## 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). /🆑
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
description = "Ask an admin for help."
|
||||
keybind_signal = COMSIG_KB_CLIENT_GETHELP_DOWN
|
||||
|
||||
/datum/keybinding/client/admin_help/down(client/user, turf/target)
|
||||
/datum/keybinding/client/admin_help/down(client/user, turf/target, mousepos_x, mousepos_y)
|
||||
. = ..()
|
||||
if(.)
|
||||
return
|
||||
@@ -25,7 +25,7 @@
|
||||
description = "Take a screenshot."
|
||||
keybind_signal = COMSIG_KB_CLIENT_SCREENSHOT_DOWN
|
||||
|
||||
/datum/keybinding/client/screenshot/down(client/user, turf/target)
|
||||
/datum/keybinding/client/screenshot/down(client/user, turf/target, mousepos_x, mousepos_y)
|
||||
. = ..()
|
||||
if(.)
|
||||
return
|
||||
@@ -39,7 +39,7 @@
|
||||
description = "Makes the game window fullscreen."
|
||||
keybind_signal = COMSIG_KB_CLIENT_FULLSCREEN_DOWN
|
||||
|
||||
/datum/keybinding/client/toggle_fullscreen/down(client/user, turf/target)
|
||||
/datum/keybinding/client/toggle_fullscreen/down(client/user, turf/target, mousepos_x, mousepos_y)
|
||||
. = ..()
|
||||
if(.)
|
||||
return
|
||||
@@ -53,7 +53,7 @@
|
||||
description = "Hide most HUD features"
|
||||
keybind_signal = COMSIG_KB_CLIENT_MINIMALHUD_DOWN
|
||||
|
||||
/datum/keybinding/client/minimal_hud/down(client/user, turf/target)
|
||||
/datum/keybinding/client/minimal_hud/down(client/user, turf/target, mousepos_x, mousepos_y)
|
||||
. = ..()
|
||||
if(.)
|
||||
return
|
||||
@@ -67,7 +67,7 @@
|
||||
description = "Closes all UI windows you have open."
|
||||
keybind_signal = COMSIG_KB_CLIENT_CLOSEUI_DOWN
|
||||
|
||||
/datum/keybinding/client/close_every_ui/down(client/user, turf/target)
|
||||
/datum/keybinding/client/close_every_ui/down(client/user, turf/target, mousepos_x, mousepos_y)
|
||||
. = ..()
|
||||
if(.)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user