From 62700f37e4ea123bb64ffcd51a50585d720328fd Mon Sep 17 00:00:00 2001 From: ebaydayz Date: Thu, 19 May 2016 16:29:35 -0400 Subject: [PATCH] Add note about splint and broken legs Since R4z0r doesn't want it changed in vanilla. --- .../Configs/CfgCrafting/Recipes/Medical/woodensplint.hpp | 2 +- SQF/dayz_code/compile/player_updateGui.sqf | 2 +- SQF/dayz_code/compile/player_updateGuiDark.sqf | 2 +- SQF/dayz_code/compile/player_updateGuiEpoch.sqf | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/SQF/dayz_code/Configs/CfgCrafting/Recipes/Medical/woodensplint.hpp b/SQF/dayz_code/Configs/CfgCrafting/Recipes/Medical/woodensplint.hpp index 5e1cb7fed..451d2c29c 100644 --- a/SQF/dayz_code/Configs/CfgCrafting/Recipes/Medical/woodensplint.hpp +++ b/SQF/dayz_code/Configs/CfgCrafting/Recipes/Medical/woodensplint.hpp @@ -7,7 +7,7 @@ class Blueprint_woodensplint : Recipe { }; output[] = { - {"equip_woodensplint","CfgMagazines",1} + {"equip_woodensplint","CfgMagazines",1} // Only need one splint to fix legs }; required[] = { diff --git a/SQF/dayz_code/compile/player_updateGui.sqf b/SQF/dayz_code/compile/player_updateGui.sqf index f1028cb52..e4a165176 100644 --- a/SQF/dayz_code/compile/player_updateGui.sqf +++ b/SQF/dayz_code/compile/player_updateGui.sqf @@ -161,7 +161,7 @@ if (_audible < 0.2) then {_audible = 0.2;}; _ctrlEar ctrlSetTextColor [1, 1, 1, _audible]; // Fracture/Broken Legs -if !(canStand player) then { +if !(canStand player) then { //&& !(ctrlShown _ctrlFracture) makes icon flash non-stop until leg is fixed _ctrlFracture ctrlShow true; } else { diff --git a/SQF/dayz_code/compile/player_updateGuiDark.sqf b/SQF/dayz_code/compile/player_updateGuiDark.sqf index 6e300666a..48f8b36fb 100644 --- a/SQF/dayz_code/compile/player_updateGuiDark.sqf +++ b/SQF/dayz_code/compile/player_updateGuiDark.sqf @@ -88,7 +88,7 @@ _ctrlEye ctrlSetText _visualtext; _ctrlEar ctrlSetText _audibletext; // Fracture/Broken Legs -if !(canStand player) then { +if !(canStand player) then { //&& !(ctrlShown _ctrlFracture) makes icon flash non-stop until leg is fixed _ctrlFracture ctrlShow true; } else { diff --git a/SQF/dayz_code/compile/player_updateGuiEpoch.sqf b/SQF/dayz_code/compile/player_updateGuiEpoch.sqf index ba029ec9f..f63082499 100644 --- a/SQF/dayz_code/compile/player_updateGuiEpoch.sqf +++ b/SQF/dayz_code/compile/player_updateGuiEpoch.sqf @@ -113,7 +113,7 @@ if (_audible > 0) then {_audibletext = "\z\addons\dayz_code\gui\status_epoch\val _ctrlEar ctrlSetText _audibletext; // Fracture/Broken Legs -if !(canStand player) then { +if !(canStand player) then { //&& !(ctrlShown _ctrlFracture) makes icon flash non-stop until leg is fixed _ctrlFracture ctrlShow true; } else {