From e10112be3b8c6668de3bd5aa8e8f6bd88632deac Mon Sep 17 00:00:00 2001 From: Raffson Date: Tue, 11 Apr 2023 19:46:04 +0200 Subject: [PATCH] Expose Splash Damage's "game_messages" option --- resources/plugins/splashdamage2/plugin.json | 5 +++++ resources/plugins/splashdamage2/sd2-config.lua | 1 + 2 files changed, 6 insertions(+) diff --git a/resources/plugins/splashdamage2/plugin.json b/resources/plugins/splashdamage2/plugin.json index 93096d24..84387a5e 100644 --- a/resources/plugins/splashdamage2/plugin.json +++ b/resources/plugins/splashdamage2/plugin.json @@ -12,6 +12,11 @@ "mnemonic": "damage_model", "defaultValue": false }, + { + "nameInUI": "Enable game messages", + "mnemonic": "game_messages", + "defaultValue": false + }, { "nameInUI": "Enable debug messages", "mnemonic": "debug", diff --git a/resources/plugins/splashdamage2/sd2-config.lua b/resources/plugins/splashdamage2/sd2-config.lua index 1575a071..96edf449 100644 --- a/resources/plugins/splashdamage2/sd2-config.lua +++ b/resources/plugins/splashdamage2/sd2-config.lua @@ -15,6 +15,7 @@ if dcsRetribution then splash_damage_options.wave_explosions = dcsRetribution.plugins.splashdamage2.wave_explosions splash_damage_options.damage_model = dcsRetribution.plugins.splashdamage2.damage_model + splash_damage_options.game_messages = dcsRetribution.plugins.splashdamage2.game_messages splash_damage_options.debug = dcsRetribution.plugins.splashdamage2.debug splash_damage_options.explTable_multiplier = dcsRetribution.plugins.splashdamage2.explTable_multiplier splash_damage_options.static_damage_boost = dcsRetribution.plugins.splashdamage2.static_damage_boost