mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 19:44:09 +01:00
QoL adjustments
F2 F3 F4 buttons have been restored when numpad targetting is off you can use numpad 1-4 to change intents pressing shift before any of the intent buttons doesn't change intents(for people with shift+1-4 macros) backspace now sets the focus to the chat bar
This commit is contained in:
@@ -1,22 +1,19 @@
|
||||
/datum/admins/key_down(_key, client/user)
|
||||
switch(_key)
|
||||
if("F3")
|
||||
if("F5")
|
||||
user.get_admin_say()
|
||||
return
|
||||
if("F5")
|
||||
if("F6")
|
||||
user.admin_ghost()
|
||||
return
|
||||
if("F6")
|
||||
if("F7")
|
||||
player_panel_new()
|
||||
return
|
||||
if("F7")
|
||||
user.togglebuildmodeself()
|
||||
return
|
||||
if("F8")
|
||||
if(user.keys_held["Ctrl"])
|
||||
user.stealth()
|
||||
else
|
||||
user.invisimin()
|
||||
user.cmd_admin_pm_panel()
|
||||
return
|
||||
if("F9")
|
||||
user.stealth()
|
||||
return
|
||||
if("F10")
|
||||
user.get_dead_say()
|
||||
|
||||
@@ -1,18 +1,20 @@
|
||||
/mob/living/carbon/key_down(_key, client/user)
|
||||
switch(_key)
|
||||
if("R", "Southwest") // Southwest is End
|
||||
toggle_throw_mode()
|
||||
return
|
||||
if("1")
|
||||
a_intent_change("help")
|
||||
return
|
||||
if("2")
|
||||
a_intent_change("disarm")
|
||||
return
|
||||
if("3")
|
||||
a_intent_change("grab")
|
||||
return
|
||||
if("4")
|
||||
a_intent_change("harm")
|
||||
return
|
||||
user.keys_held[_key] = world.time
|
||||
if(!user.keys_held["Shift"])
|
||||
switch(_key)
|
||||
if("R", "Southwest") // Southwest is End
|
||||
toggle_throw_mode()
|
||||
return
|
||||
if("1")
|
||||
a_intent_change("help")
|
||||
return
|
||||
if("2")
|
||||
a_intent_change("disarm")
|
||||
return
|
||||
if("3")
|
||||
a_intent_change("grab")
|
||||
return
|
||||
if("4")
|
||||
a_intent_change("harm")
|
||||
return
|
||||
return ..()
|
||||
@@ -20,7 +20,10 @@
|
||||
adminhelp()
|
||||
return
|
||||
if("F2") // Screenshot. Hold shift to choose a name and location to save in
|
||||
winset(src, null, "command=.screenshot [!keys_held["shift"] ? "auto" : ""]")
|
||||
ooc()
|
||||
return
|
||||
if("F4")
|
||||
mob.me_verb()
|
||||
return
|
||||
if("F12") // Toggles minimal HUD
|
||||
mob.button_pressed_F12()
|
||||
|
||||
@@ -93,7 +93,20 @@
|
||||
if("Numpad3")
|
||||
user.body_l_leg()
|
||||
return
|
||||
|
||||
else
|
||||
switch(_key)
|
||||
if("Numpad1")
|
||||
a_intent_change("help")
|
||||
return
|
||||
if("Numpad2")
|
||||
a_intent_change("disarm")
|
||||
return
|
||||
if("Numpad3")
|
||||
a_intent_change("grab")
|
||||
return
|
||||
if("Numpad4")
|
||||
a_intent_change("harm")
|
||||
return
|
||||
if(client.keys_held["Ctrl"] && client.prefs.toggles & AZERTY)
|
||||
switch(SSinput.alt_movement_keys[_key])
|
||||
if(NORTH)
|
||||
|
||||
Reference in New Issue
Block a user