File: default.txt

package info (click to toggle)
highlight.js 10.7.3%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,332 kB
  • sloc: javascript: 41,059; makefile: 157; python: 29; sh: 20
file content (16 lines) | stat: -rw-r--r-- 408 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/***
	Arma Scripting File
	Edition: 1.66
***/

// Enable eating to improve health.
_unit addAction ["Eat Energy Bar", {
    if (_this getVariable ["EB_NumActivation", 0] > 0) then {
        _this setDamage (0 max (damage _this - 0.25));
    } else {
        hint "You have eaten it all";
    };
    // 4 - means something...
    Z_obj_vip = nil;
    [_boat, ["Black", 1], true] call BIS_fnc_initVehicle;
}];