Commit 2dfc678c authored by Superxpdude's avatar Superxpdude

Added a cargo definition for the checkpoint supply boxes.

Fixed an issue where civilians would not spawn with IDs.
parent b2eaf7ef
......@@ -66,4 +66,23 @@ class itemCargos
{"FirstAidKit", {1,3,5}}
};
};
class nato_supply
{
items[] = {
{"CUP_30Rnd_556x45_Stanag_Tracer_Red",50},
{"CUP_5Rnd_762x51_M24",50},
{"CUP_10Rnd_127x99_M107",20},
{"ACE_HandFlare_Red",20},
{"SmokeShell",20}
};
itemsBasicMed[] = {
{"ACE_fieldDressing",100},
{"ACE_epinephrine",25},
{"ACE_adenosine",25},
{"ACE_morphine",10},
{"ACE_bloodIV",10}
};
itemsAdvMed[] = {};
};
};
\ No newline at end of file
......@@ -71,6 +71,9 @@ if (side player == west) then {
_player forceAddUniform _uniform;
_player addHeadgear _hat;
_player addBackpack _backpack;
if ((random 1) < 0.75) then {
_player addItem "Wallet_ID";
};
// Add a weapon
if (_smugglerWeaponChance > (random 100)) then {
......@@ -129,6 +132,7 @@ if (side player == west) then {
_player forceAddUniform _uniform;
_player addHeadgear _hat;
_player addBackpack _backpack;
_player addItem "Wallet_ID";
// Add the delivery item
private _deliveryItem = selectRandom j23_deliveryItems;
......@@ -150,6 +154,7 @@ if (side player == west) then {
_player forceAddUniform _uniform;
_player addHeadgear _hat;
_player addBackpack _backpack;
_player addItem "Wallet_ID";
// Add clutter
[_player, random [4,5,6]] call _fnc_addClutter;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment