mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
geiger counter energy consumption
This commit is contained in:
parent
431e10ee58
commit
434c3159b9
@ -51,6 +51,11 @@ if (_playerRadiation > 1) then {
|
||||
[0, 2] call epoch_setRadiation;
|
||||
};
|
||||
|
||||
// Geiger Deplete Energy
|
||||
if (EPOCH_geiger_shown) then {
|
||||
_energyValue = _energyValue - (["CfgEpochClient", "outOfBoundsRadiation", 10] call EPOCH_fnc_returnConfigEntryV2);
|
||||
};
|
||||
|
||||
// Energy Handler
|
||||
_playerEnergy = [_playerEnergyKey,_energyValue,_playerEnergyMax,_playerEnergyMin] call EPOCH_fnc_setVariableLimited;
|
||||
|
||||
|
@ -21,7 +21,7 @@ class CfgEpochClient
|
||||
antagonistRngChance = 100; // increase number to reduce chances and reduce to increase. Default 100
|
||||
outOfBoundsRadiation = 10; // how much rads per tick (10sec), when outside play area.
|
||||
radioactiveLocations[] = {"NameCityCapital", "NameCity", "Airport"}; // used for random radioactive locations and to suppress animal spawns within cities.
|
||||
|
||||
geigerCounterEnergyUsage = 10; // default loss of 10 energy every 10sec of use
|
||||
|
||||
baseHungerLoss = 2; // increase number to speed up rate of Hunger loss
|
||||
baseThirstLoss = 2; // increase number to speed up rate of Thirst loss
|
||||
|
Loading…
Reference in New Issue
Block a user