From 8c10b4790cf375a8bf11bd9a21b0ebb2dc4ee540 Mon Sep 17 00:00:00 2001 From: Grahame Date: Sun, 19 May 2019 18:08:47 -0400 Subject: [PATCH] Adds ambient water sources Adds the ability to drink from ambient water sources like ponds and streams but not sea water --- .../epoch_config/Configs/CfgActionMenu/CfgActionMenu_self.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/epoch_config/Configs/CfgActionMenu/CfgActionMenu_self.hpp b/Sources/epoch_config/Configs/CfgActionMenu/CfgActionMenu_self.hpp index 264b706a..2afd7bc7 100644 --- a/Sources/epoch_config/Configs/CfgActionMenu/CfgActionMenu_self.hpp +++ b/Sources/epoch_config/Configs/CfgActionMenu/CfgActionMenu_self.hpp @@ -115,7 +115,7 @@ class base_mode_attach }; class Drink { - condition = "dyna_Watersource"; + condition = "dyna_Watersource || dyna_DirtyWatersource"; action = "if (currentweapon player == '') then {player playmove 'AinvPknlMstpSnonWnonDnon_Putdown_AmovPknlMstpSnonWnonDnon';}else {if (currentweapon player == handgunweapon player) then {player playmove 'AinvPknlMstpSrasWpstDnon_Putdown_AmovPknlMstpSrasWpstDnon';}else { player playmove 'AinvPknlMstpSrasWrflDnon_Putdown_AmovPknlMstpSrasWrflDnon';};};{_output = _x call EPOCH_giveAttributes;if (_output != '') then {[_output, 5] call Epoch_message_stack;};} foreach [['Thirst',100],['Toxicity',1,1],['Stamina',10]];"; icon = "x\addons\a3_epoch_code\Data\UI\buttons\Drink.paa"; tooltip = "Drink"; @@ -275,4 +275,4 @@ class Epad action = "if (isnull (finddisplay 9898)) then {createdialog 'epoch_tablet_gui';};"; icon = "x\addons\a3_epoch_code\Data\UI\buttons\Epad.paa"; tooltip = "E-Pad"; -}; \ No newline at end of file +};