diff --git a/README.md b/README.md index a0d4602..51ca8e2 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/src/chat.rs b/src/chat.rs index ec73388..a3f3321 100644 --- a/src/chat.rs +++ b/src/chat.rs @@ -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( diff --git a/src/data/keybindings.in b/src/data/keybindings.in index 4b4b523..32db1be 100644 --- a/src/data/keybindings.in +++ b/src/data/keybindings.in @@ -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 diff --git a/src/var.rs b/src/var.rs index f9c3578..3128a2b 100644 --- a/src/var.rs +++ b/src/var.rs @@ -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,