add GeigerCounter price and to loot table

This commit is contained in:
vbawol 2017-09-08 12:21:42 -05:00
parent eab380784e
commit 58c0481b6c
7 changed files with 15 additions and 6 deletions

View File

@ -323,6 +323,7 @@ class CfgItemSort
"Laserdesignator", "Laserdesignator",
"ItemCompass", "ItemCompass",
"ItemGPS", "ItemGPS",
"ItemGeigerCounter_EPOCH",
"ItemWatch", "ItemWatch",
"NVG_EPOCH", "NVG_EPOCH",
"Binocular", "Binocular",

View File

@ -326,6 +326,10 @@ class CfgPricing
{ {
price = 20; price = 20;
}; };
class ItemGeigerCounter_EPOCH
{
price = 500;
};
class EpochRadio0 class EpochRadio0
{ {
price = 2; price = 2;

View File

@ -1945,7 +1945,7 @@ _skn_admincode = compileFinal ("
if (_this == 69) then { if (_this == 69) then {
_optics = ['optic_Arco', 'optic_Hamr', 'optic_Aco', 'optic_ACO_grn', 'optic_Aco_smg', 'optic_ACO_grn_smg', 'optic_Holosight', 'optic_Holosight_smg', 'optic_SOS', 'optic_MRCO', 'optic_DMS', 'optic_Yorris', 'optic_MRD', 'optic_LRPS', 'optic_NVS', 'optic_tws', 'optic_tws_mg']; _optics = ['optic_Arco', 'optic_Hamr', 'optic_Aco', 'optic_ACO_grn', 'optic_Aco_smg', 'optic_ACO_grn_smg', 'optic_Holosight', 'optic_Holosight_smg', 'optic_SOS', 'optic_MRCO', 'optic_DMS', 'optic_Yorris', 'optic_MRD', 'optic_LRPS', 'optic_NVS', 'optic_tws', 'optic_tws_mg'];
_muzzles = ['muzzle_snds_H','muzzle_snds_L','muzzle_snds_M','muzzle_snds_B','muzzle_snds_H_MG','muzzle_snds_acp','Heal_EPOCH','Defib_EPOCH','Repair_EPOCH','acc_flashlight','acc_pointer_IR']; _muzzles = ['muzzle_snds_H','muzzle_snds_L','muzzle_snds_M','muzzle_snds_B','muzzle_snds_H_MG','muzzle_snds_acp','Heal_EPOCH','Defib_EPOCH','Repair_EPOCH','acc_flashlight','acc_pointer_IR'];
_misc = ['Binocular','NVG_EPOCH','ItemCompass','ItemGPS','ItemMap','EpochRadio0','EpochRadio1','EpochRadio2','EpochRadio3','EpochRadio4','EpochRadio5','EpochRadio6','EpochRadio7','EpochRadio8','EpochRadio9','ItemWatch']; _misc = ['Binocular','NVG_EPOCH','ItemCompass','ItemGPS','ItemGeigerCounter_EPOCH','ItemMap','EpochRadio0','EpochRadio1','EpochRadio2','EpochRadio3','EpochRadio4','EpochRadio5','EpochRadio6','EpochRadio7','EpochRadio8','EpochRadio9','ItemWatch'];
_attachments = _optics + _muzzles + _misc; _attachments = _optics + _muzzles + _misc;
{ {
_config = 'CfgPricing' call EPOCH_returnConfig; _config = 'CfgPricing' call EPOCH_returnConfig;

View File

@ -45,7 +45,8 @@ class CfgLootTable
{ {
items[] = { items[] = {
{ { "ItemCompass", "item" }, 20 }, { { "ItemCompass", "item" }, 20 },
{ { "ItemGPS", "item" }, 10 }, { { "ItemGeigerCounter_EPOCH", "item" }, 1 },
{ { "ItemGPS", "item" }, 9 },
{ { "EpochRadio0", "item" }, 3 }, { { "EpochRadio0", "item" }, 3 },
{ { "EpochRadio1", "item" }, 3 }, { { "EpochRadio1", "item" }, 3 },
{ { "EpochRadio2", "item" }, 3 }, { { "EpochRadio2", "item" }, 3 },

View File

@ -45,7 +45,8 @@ class CfgLootTable_CUP
{ {
items[] = { items[] = {
{ { "ItemCompass", "item" }, 20 }, { { "ItemCompass", "item" }, 20 },
{ { "ItemGPS", "item" }, 10 }, { { "ItemGeigerCounter_EPOCH", "item" }, 1 },
{ { "ItemGPS", "item" }, 9 },
{ { "EpochRadio0", "item" }, 3 }, { { "EpochRadio0", "item" }, 3 },
{ { "EpochRadio1", "item" }, 3 }, { { "EpochRadio1", "item" }, 3 },
{ { "EpochRadio2", "item" }, 3 }, { { "EpochRadio2", "item" }, 3 },

View File

@ -45,7 +45,8 @@ class CfgLootTable_MAD
{ {
items[] = { items[] = {
{ { "ItemCompass", "item" }, 20 }, { { "ItemCompass", "item" }, 20 },
{ { "ItemGPS", "item" }, 10 }, { { "ItemGeigerCounter_EPOCH", "item" }, 1 },
{ { "ItemGPS", "item" }, 9 },
{ { "EpochRadio0", "item" }, 3 }, { { "EpochRadio0", "item" }, 3 },
{ { "EpochRadio1", "item" }, 3 }, { { "EpochRadio1", "item" }, 3 },
{ { "EpochRadio2", "item" }, 3 }, { { "EpochRadio2", "item" }, 3 },

View File

@ -45,7 +45,8 @@ class CfgLootTable_MADCUP
{ {
items[] = { items[] = {
{ { "ItemCompass", "item" }, 20 }, { { "ItemCompass", "item" }, 20 },
{ { "ItemGPS", "item" }, 10 }, { { "ItemGeigerCounter_EPOCH", "item" }, 1 },
{ { "ItemGPS", "item" }, 9 },
{ { "EpochRadio0", "item" }, 3 }, { { "EpochRadio0", "item" }, 3 },
{ { "EpochRadio1", "item" }, 3 }, { { "EpochRadio1", "item" }, 3 },
{ { "EpochRadio2", "item" }, 3 }, { { "EpochRadio2", "item" }, 3 },