add ` key to fast forward conversation
This commit is contained in:
parent
8837ffea1b
commit
e49c7e052f
|
@ -54,6 +54,7 @@ Press **ESC** to view these any time from the in-game menu.
|
|||
- **T**: Cruise control
|
||||
- **R**: Rotate (hold + move mouse)
|
||||
- **Y**: Rotation stabilizer
|
||||
- **`**: Fast forward conversation
|
||||
- **AWSD/Shift/Ctrl**: Move
|
||||
- **J/K/U/L/I/O**: Rotate
|
||||
- **F11**: Fullscreen
|
||||
|
|
|
@ -817,6 +817,13 @@ fn handle_reply_keys(
|
|||
}
|
||||
selected_choice += 1;
|
||||
}
|
||||
|
||||
if keyboard_input.just_pressed(settings.key_next_chat_line) {
|
||||
if let Ok(mut chat) = q_chats.get_single_mut() {
|
||||
evwriter_sfx.send(audio::PlaySfxEvent(audio::Sfx::Click));
|
||||
chat.timer = 0.0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
pub fn handle_chat_scripts(
|
||||
|
|
|
@ -7,6 +7,7 @@ C: Camera
|
|||
T: Cruise control
|
||||
R: Rotate (hold + move mouse)
|
||||
Y: Rotation stabilizer
|
||||
`: Fast forward conversation
|
||||
AWSD/Shift/Ctrl: Move
|
||||
J/K/U/L/I/O: Rotate
|
||||
F11: Fullscreen
|
||||
|
|
|
@ -141,6 +141,7 @@ pub struct Settings {
|
|||
pub key_reply8: KeyCode,
|
||||
pub key_reply9: KeyCode,
|
||||
pub key_reply10: KeyCode,
|
||||
pub key_next_chat_line: KeyCode,
|
||||
pub key_cheat_god_mode: KeyCode,
|
||||
pub key_cheat_stop: KeyCode,
|
||||
pub key_cheat_speed: KeyCode,
|
||||
|
@ -280,6 +281,7 @@ impl Default for Settings {
|
|||
key_reply8: KeyCode::Digit8,
|
||||
key_reply9: KeyCode::Digit9,
|
||||
key_reply10: KeyCode::Digit0,
|
||||
key_next_chat_line: KeyCode::Backquote,
|
||||
key_cheat_god_mode: KeyCode::KeyG,
|
||||
key_cheat_stop: KeyCode::KeyZ,
|
||||
key_cheat_speed: KeyCode::KeyV,
|
||||
|
|
Loading…
Reference in a new issue