From 31f65f6beeca0fc211deea0cafafbf76c26505a9 Mon Sep 17 00:00:00 2001 From: vbawol Date: Mon, 4 Sep 2017 10:54:55 -0500 Subject: [PATCH] comments --- Sources/epoch_code/compile/setup/masterLoop/Event2.sqf | 2 +- Sources/epoch_code/compile/setup/masterLoop/Event5.sqf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/epoch_code/compile/setup/masterLoop/Event2.sqf b/Sources/epoch_code/compile/setup/masterLoop/Event2.sqf index 6be211be..b35470fe 100644 --- a/Sources/epoch_code/compile/setup/masterLoop/Event2.sqf +++ b/Sources/epoch_code/compile/setup/masterLoop/Event2.sqf @@ -45,7 +45,7 @@ if (_playerRadiation > 1) then { [_radiationVal, 2] call epoch_setRadiation; // if player has geiger counter make sound based on rads level - if ('ItemGeigerCounter_EPOCH' in assignedItems player) then { // TODO change classname to match + if ('ItemGeigerCounter_EPOCH' in assignedItems player) then { _level = round(linearConversion [0,100,_radsLevel,0,3,true]); _sound = format ["geiger_%1",_level]; playSound _sound; diff --git a/Sources/epoch_code/compile/setup/masterLoop/Event5.sqf b/Sources/epoch_code/compile/setup/masterLoop/Event5.sqf index 996eb43e..73e99317 100644 --- a/Sources/epoch_code/compile/setup/masterLoop/Event5.sqf +++ b/Sources/epoch_code/compile/setup/masterLoop/Event5.sqf @@ -22,7 +22,7 @@ if (_outOfBounds) then { _radsLevel = (_radioActiveSite getVariable ["EPOCH_Rads", 0]) / (player distance _radioActiveSite); _playerRadiation = ((_playerRadiation + _radsLevel) min 100) max 0; } else { - // handle reduction of rads in master loop + // TODO handle reduction of rads in master loop _anitRadiation = player getVariable ["EPOCH_antiRadiation", 0]; if (_anitRadiation > 0) then { // lower radiation by 0.1 per tick