mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-26 03:36:02 +03:00
Organize files a bit and removed non source pbo's
This commit is contained in:
13
SQF/dayz_code/medical/antibiotics.sqf
Normal file
13
SQF/dayz_code/medical/antibiotics.sqf
Normal file
@@ -0,0 +1,13 @@
|
||||
private["_hasMeds","_med","_effect"];
|
||||
_med = "ItemAntibiotic";
|
||||
_hasMeds = _med in magazines player;
|
||||
if (_hasMeds) then {
|
||||
player removeMagazine _med;
|
||||
};
|
||||
//remove option
|
||||
player removeAction s_player_antiobiotic;
|
||||
s_player_antiobiotic = -1;
|
||||
|
||||
//remove infection
|
||||
r_player_infected = false;
|
||||
player setVariable["USEC_infected",false,true];
|
||||
Reference in New Issue
Block a user