Optional Safe with less maxload

This commit is contained in:
He-Man 2019-03-25 00:23:55 +01:00
parent 765ad30d4d
commit feef60b72a
8 changed files with 29 additions and 0 deletions

View File

@ -1414,6 +1414,21 @@ class CfgBaseBuilding
{
returnOnPack[] = {};
};
class Safe_s_EPOCH : Default
{
returnOnPack[] = {{"ItemSafe_s",1}};
simulClass = "Safe_s_SIM_EPOCH";
staticClass = "Safe_s_EPOCH";
weaponHolderProxy = "SafeProxy_EPOCH";
GhostPreview = "Safe_s_EPOCH";
bypassJammer = 1;
limitNearby = 2;
isSecureStorage = 1;
};
class Safe_s_SIM_EPOCH : Safe_EPOCH
{
returnOnPack[] = {};
};
class GunSafe_EPOCH : Default
{
returnOnPack[] = {{"ItemGunSafe",1}};

View File

@ -249,6 +249,10 @@ class CfgItemInteractions
{
buildClass = "Safe_SIM_EPOCH";
};
class ItemSafe_s : Item_Build_base
{
buildClass = "Safe_s_SIM_EPOCH";
};
class ItemGunSafe : Item_Build_base
{
buildClass = "GunSafe_SIM_EPOCH";

View File

@ -1155,6 +1155,7 @@ class CfgItemSort
"ItemLockbox",
"Pelt_EPOCH",
"ItemSafe",
"ItemSafe_s",
"ItemGunSafe",
"ItemSolar",
"ItemCables",

View File

@ -330,6 +330,11 @@ class CfgPricing
price = 1250;
tax = 0.5;
};
class ItemSafe_s
{
price = 1250;
tax = 0.5;
};
class ItemGunSafe
{
price = 1250;

View File

@ -84,6 +84,7 @@ class CfgLootTable
{
items[] = {
{ { "ItemSafe", "magazine" }, 1 },
// { { "ItemSafe_s", "magazine" }, 1 }, // Variant with less Load than the normal Safe
{ { "ItemGunSafe", "magazine" }, 1 }
};
};

View File

@ -84,6 +84,7 @@ class CfgLootTable_CUP
{
items[] = {
{ { "ItemSafe", "magazine" }, 1 },
// { { "ItemSafe_s", "magazine" }, 1 }, // Variant with less Load than the normal Safe
{ { "ItemGunSafe", "magazine" }, 1 }
};
};

View File

@ -84,6 +84,7 @@ class CfgLootTable_MAD
{
items[] = {
{ { "ItemSafe", "magazine" }, 1 },
// { { "ItemSafe_s", "magazine" }, 1 }, // Variant with less Load than the normal Safe
{ { "ItemGunSafe", "magazine" }, 1 }
};
};

View File

@ -84,6 +84,7 @@ class CfgLootTable_MADCUP
{
items[] = {
{ { "ItemSafe", "magazine" }, 1 },
// { { "ItemSafe_s", "magazine" }, 1 }, // Variant with less Load than the normal Safe
{ { "ItemGunSafe", "magazine" }, 1 }
};
};