add ` key to fast forward conversation

This commit is contained in:
yuni 2024-08-19 00:11:24 +02:00
parent 8837ffea1b
commit e49c7e052f
4 changed files with 11 additions and 0 deletions

View file

@ -54,6 +54,7 @@ Press **ESC** to view these any time from the in-game menu.
- **T**: Cruise control - **T**: Cruise control
- **R**: Rotate (hold + move mouse) - **R**: Rotate (hold + move mouse)
- **Y**: Rotation stabilizer - **Y**: Rotation stabilizer
- **`**: Fast forward conversation
- **AWSD/Shift/Ctrl**: Move - **AWSD/Shift/Ctrl**: Move
- **J/K/U/L/I/O**: Rotate - **J/K/U/L/I/O**: Rotate
- **F11**: Fullscreen - **F11**: Fullscreen

View file

@ -817,6 +817,13 @@ fn handle_reply_keys(
} }
selected_choice += 1; 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( pub fn handle_chat_scripts(

View file

@ -7,6 +7,7 @@ C: Camera
T: Cruise control T: Cruise control
R: Rotate (hold + move mouse) R: Rotate (hold + move mouse)
Y: Rotation stabilizer Y: Rotation stabilizer
`: Fast forward conversation
AWSD/Shift/Ctrl: Move AWSD/Shift/Ctrl: Move
J/K/U/L/I/O: Rotate J/K/U/L/I/O: Rotate
F11: Fullscreen F11: Fullscreen

View file

@ -141,6 +141,7 @@ pub struct Settings {
pub key_reply8: KeyCode, pub key_reply8: KeyCode,
pub key_reply9: KeyCode, pub key_reply9: KeyCode,
pub key_reply10: KeyCode, pub key_reply10: KeyCode,
pub key_next_chat_line: KeyCode,
pub key_cheat_god_mode: KeyCode, pub key_cheat_god_mode: KeyCode,
pub key_cheat_stop: KeyCode, pub key_cheat_stop: KeyCode,
pub key_cheat_speed: KeyCode, pub key_cheat_speed: KeyCode,
@ -280,6 +281,7 @@ impl Default for Settings {
key_reply8: KeyCode::Digit8, key_reply8: KeyCode::Digit8,
key_reply9: KeyCode::Digit9, key_reply9: KeyCode::Digit9,
key_reply10: KeyCode::Digit0, key_reply10: KeyCode::Digit0,
key_next_chat_line: KeyCode::Backquote,
key_cheat_god_mode: KeyCode::KeyG, key_cheat_god_mode: KeyCode::KeyG,
key_cheat_stop: KeyCode::KeyZ, key_cheat_stop: KeyCode::KeyZ,
key_cheat_speed: KeyCode::KeyV, key_cheat_speed: KeyCode::KeyV,