mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
Adds ambient water sources
Adds the ability to drink from ambient water sources like ponds and streams but not sea water
This commit is contained in:
parent
2ddd524d9c
commit
8c10b4790c
@ -115,7 +115,7 @@ class base_mode_attach
|
|||||||
};
|
};
|
||||||
class Drink
|
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]];";
|
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";
|
icon = "x\addons\a3_epoch_code\Data\UI\buttons\Drink.paa";
|
||||||
tooltip = "Drink";
|
tooltip = "Drink";
|
||||||
@ -275,4 +275,4 @@ class Epad
|
|||||||
action = "if (isnull (finddisplay 9898)) then {createdialog 'epoch_tablet_gui';};";
|
action = "if (isnull (finddisplay 9898)) then {createdialog 'epoch_tablet_gui';};";
|
||||||
icon = "x\addons\a3_epoch_code\Data\UI\buttons\Epad.paa";
|
icon = "x\addons\a3_epoch_code\Data\UI\buttons\Epad.paa";
|
||||||
tooltip = "E-Pad";
|
tooltip = "E-Pad";
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user