mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-28 11:11:52 +00:00
* SSinput Rewrite, Custom Keybindings
* hmm yes, safety
* azerty begone
* address AA and SteelSlayer
* Address the old man
* what
* CI dbconfig too
* Address TM issues
Unicode support
Better numpad support
Fix no perms message
Fix modifier screwing movement
* pre-TM tweak, nitfix
* pre TM change 2
* Display others
* MERGE ME
* unduplicates your rows
* reverts some changes, makes this work for now (not TM safe)
* fixes direction facing, removes hotkey help item
* weird keys
* TM commit revert later
* fixed asay/msay keybind
* adds ALL the emotes
* flip and spin
* makes old people happy
* and fixes admins not being able to msay
* lets borgs stow modules
* saves prefs when someone changes a keybind
* reverts skin changes and manually applies
HEAVEN HELP YOU IF YOU USE THE DM SKIN EDITOR IT BREAKS EVERYTHING
* tidies menu, unduplicates rest
* sql file pls come back
* Update SQL/updates/40-41.sql
* why did you not throw an error?!
* inits keybinds if your prefs somehow fail, i guess
* restores these spaces, i guess
* fixes local testing, i guess
* emote cooldown returns (oops)
* movement lock improvements
* Pageup does Swap Hands
* LOOC
* whisper for living mobs
* oops
* fix dsay
* fix IPC silicon emote hotkeys
* category name
* backspace only clears if input is focused
* Makes TAB and BACKSPACE rebindable
* charlie review
* define move
* yeet
* Lewcc review
* brings back legacy mode
* restores legacy mode
* tell legacy mode what is going on
* Update code/controllers/subsystem/input.dm
* Update code/controllers/subsystem/input.dm
Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>
* safeties!
* legacy mode is a pref now
* undo TM changes
* null prefs safeties
* Revert "legacy mode is a pref now"
This reverts commit b45af65139.
* revert this too thanks
Co-authored-by: mochi <shenesis@gmail.com>
Co-authored-by: dearmochi <1496804+dearmochi@users.noreply.github.com>
Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>
48 lines
1.0 KiB
Plaintext
48 lines
1.0 KiB
Plaintext
/datum/keybinding/robot
|
|
category = KB_CATEGORY_ROBOT
|
|
|
|
/datum/keybinding/robot/can_use(client/C, mob/M)
|
|
return isrobot(M) && ..()
|
|
|
|
/datum/keybinding/robot/module
|
|
/// The module number.
|
|
var/module_number
|
|
|
|
/datum/keybinding/robot/module/down(client/C)
|
|
. = ..()
|
|
var/mob/living/silicon/robot/M = C.mob
|
|
M.toggle_module(module_number)
|
|
|
|
/datum/keybinding/robot/module/slot_1
|
|
name = "Module 1"
|
|
module_number = 1
|
|
keys = list("1")
|
|
|
|
/datum/keybinding/robot/module/slot_2
|
|
name = "Module 2"
|
|
module_number = 2
|
|
keys = list("2")
|
|
|
|
/datum/keybinding/robot/module/slot_3
|
|
name = "Module 3"
|
|
module_number = 3
|
|
keys = list("3")
|
|
|
|
/datum/keybinding/robot/cycle_modules
|
|
name = "Cycle Modules"
|
|
keys = list("X")
|
|
|
|
/datum/keybinding/robot/cycle_modules/down(client/C)
|
|
. = ..()
|
|
var/mob/living/silicon/robot/M = C.mob
|
|
M.cycle_modules()
|
|
|
|
/datum/keybinding/robot/drop_held_object
|
|
name = "Store Selected Module"
|
|
keys = list("Q", "Northwest")
|
|
|
|
/datum/keybinding/robot/drop_held_object/down(client/C)
|
|
. = ..()
|
|
var/mob/living/silicon/robot/M = C.mob
|
|
M.on_drop_hotkey_press()
|