Skip to content

Commit

Permalink
Tweak: Keybindings220 (#12)
Browse files Browse the repository at this point in the history
<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may
not be viewable. -->
<!-- You can view Contributing.MD for a detailed description of the pull
request process. -->

## What Does This PR Do
<!-- Include a small to medium description of what your PR changes. -->
<!-- Document all changes, as not doing this may delay reviews or even
discourage maintainers from merging your PR! -->
<!-- If your PR fixes an issue, add "Fixes #1234" somewhere in the PR
description. This will automatically close the bug upon PR submission.
-->

* Changes default keybindings to SS220
* Adds translation to keybindings

## Why It's Good For The Game
<!-- Add a short description of why you think these changes would
benefit the game. If you can't justify it in words, it might not be
worth adding. -->

Easier transition from old para

## Changelog
:cl:
add: Default Keybindings from SS220
/:cl:

<!-- Both :cl:'s are required for the changelog to work! You can put
your name to the right of the first :cl: if you want to overwrite your
GitHub username as author ingame. -->
<!-- You can use multiple of the same prefix (they're only used for the
icon ingame) and delete the unneeded ones. Despite some of the tags,
changelogs should generally represent how a player might be affected by
the changes rather than a summary of the PR's contents. -->
<!-- If a PR has no impact on players (i.e. a code refactor that does
not change functionality) then the entire Changelog heading and contents
can be removed. -->

---------

Co-authored-by: Furior <[email protected]>
  • Loading branch information
larentoun and Furrior committed Jul 28, 2023
1 parent 2e31538 commit 85c1431
Show file tree
Hide file tree
Showing 13 changed files with 741 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modular_ss220/keybindings/_keybindings.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/datum/modpack/keybindings
name = "Keybindings"
desc = "Заменяет значения по-умолчанию хоткеев на SS220"
author = "larentoun"
12 changes: 12 additions & 0 deletions modular_ss220/keybindings/_keybindings.dme
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#include "_keybindings.dm"

#include "code/admin_keybinds.dm"
#include "code/carbon_keybinds.dm"
#include "code/client.dm"
#include "code/emote_keybinds.dm"
#include "code/human_keybinds.dm"
#include "code/living_keybinds.dm"
#include "code/mob_keybinds.dm"
#include "code/movement_keybinds.dm"
#include "code/robot_keybinds.dm"
#include "code/silicon_keybinds.dm"
30 changes: 30 additions & 0 deletions modular_ss220/keybindings/code/admin_keybinds.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/datum/keybinding/admin/mc_debug
keys = null

/datum/keybinding/admin/msay
name = "Msay"
keys = list("ShiftF5")

/datum/keybinding/admin/asay
name = "Asay"
keys = list("F5")

/datum/keybinding/admin/aghost
name = "Aghost"
keys = list("F6")

/datum/keybinding/admin/player_panel
name = "Player Panel"
keys = list("F7")

/datum/keybinding/admin/apm
name = "Admin PM"
keys = list("F8")

/datum/keybinding/admin/invisimin
name = "Invisimin"
keys = list("F9")

/datum/keybinding/admin/dsay
name = "Dsay"
keys = list("F10")
35 changes: 35 additions & 0 deletions modular_ss220/keybindings/code/carbon_keybinds.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/datum/keybinding/carbon/throw_mode
name = "Режим броска (переключить)"
keys = list("R", "Southwest")

/datum/keybinding/carbon/throw_mode/hold
name = "Режим броска (зажать)"
keys = null

/datum/keybinding/carbon/give_item
name = "Передать вещь (переключить)"
keys = list("V")

/datum/keybinding/carbon/intent/help
name = "Help Intent (переключить)"

/datum/keybinding/carbon/intent/disarm
name = "Disarm Intent (переключить)"

/datum/keybinding/carbon/intent/grab
name = "Grab Intent (переключить)"

/datum/keybinding/carbon/intent/harm
name = "Harm Intent (переключить)"

/datum/keybinding/carbon/intent/hold/help
name = "Help Intent (переключить)"

/datum/keybinding/carbon/intent/hold/disarm
name = "Disarm Intent (зажать)"

/datum/keybinding/carbon/intent/hold/grab
name = "Grab Intent (зажать)"

/datum/keybinding/carbon/intent/hold/harm
name = "Harm Intent (зажать)"
23 changes: 23 additions & 0 deletions modular_ss220/keybindings/code/client.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/datum/keybinding/client/admin_help
name = "Admin Help"
keys = list("F1")

/datum/keybinding/client/ooc
name = "OOC"
keys = list("F2", "O")

/datum/keybinding/client/looc
name = "Локальный OOC"
keys = list("L")

/datum/keybinding/client/say
name = "Say"
keys = list("F3", "T")

/datum/keybinding/client/me
name = "Me"
keys = list("F4", "M")

/datum/keybinding/client/toggle_min_hud
name = "Переключить минимальный HUD"
keys = list("F12")
Loading

0 comments on commit 85c1431

Please sign in to comment.