SHOW:
|
|
- or go back to the newest paste.
1 | scriptName "functions_paycheckIncrease_1"; | |
2 | /*-------------------------------------------------------------------- | |
3 | Author: Maverick (ofpectag: MAV) | |
4 | File: functions_paycheckIncrease_1.sqf | |
5 | ||
6 | <Maverick Applications> | |
7 | Written by Maverick Applications (www.maverick-apps.de) | |
8 | You're not allowed to use this file without permission from the author! | |
9 | --------------------------------------------------------------------*/ | |
10 | #define __filename "functions_paycheckIncrease_1.sqf" | |
11 | ||
12 | _ownsDependency1 = [life_currentExpPerks, "perk_paycheck_2"] call mav_ttm_fnc_hasPerk; | |
13 | _ownsDependency2 = [life_currentExpPerks, "perk_paycheck_3"] call mav_ttm_fnc_hasPerk; | |
14 | _ownsDependency3 = [life_currentExpPerks, "perk_paycheck_4"] call mav_ttm_fnc_hasPerk; | |
15 | _ownsDependency4 = [life_currentExpPerks, "perk_paycheck_5"] call mav_ttm_fnc_hasPerk; | |
16 | _ownsDependency5 = [life_currentExpPerks, "perk_paycheck_6"] call mav_ttm_fnc_hasPerk; | |
17 | _ownsDependency6 = [life_currentExpPerks, "perk_paycheck_7"] call mav_ttm_fnc_hasPerk; | |
18 | _ownsDependency7 = [life_currentExpPerks, "perk_paycheck_8"] call mav_ttm_fnc_hasPerk; | |
19 | _ownsDependency8 = [life_currentExpPerks, "perk_paycheck_9"] call mav_ttm_fnc_hasPerk; | |
20 | _ownsDependency9 = [life_currentExpPerks, "perk_paycheck_10"] call mav_ttm_fnc_hasPerk; | |
21 | ||
22 | ||
23 | if (!_ownsDependency1 && !_ownsDependency2&& !_ownsDependency3&& !_ownsDependency4&& !_ownsDependency5&& | |
24 | !_ownsDependency6&& !_ownsDependency7&& !_ownsDependency8&& !_ownsDependency9&& !_ownsDependency10) | |
25 | then { | |
26 | life_paycheck = life_paycheck * 1.1; | |
27 | }; |