mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
298 lines
8.2 KiB
C++
298 lines
8.2 KiB
C++
class bulk: CA_Magazine {
|
|
scope = 2;
|
|
count = 1;
|
|
type = 256;
|
|
displayName = $STR_EPOCH_BULK_NAME;
|
|
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
|
|
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
|
descriptionShort = $STR_EPOCH_BULK_DESC;
|
|
weight = 5;
|
|
};
|
|
class bulk_empty: bulk {
|
|
descriptionShort = $STR_EPOCH_BULK_DESC_EMPTY;
|
|
weight = 5;
|
|
class ItemActions {
|
|
class Crafting {
|
|
text = $STR_EPOCH_PLAYER_221;
|
|
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
|
neednearby[] = {};
|
|
requiretools[] = {"ItemToolbox"};
|
|
output[] = {{"bulk_ItemSodaCoke",1}};
|
|
input[] = {{"bulk_empty",1},{"ItemSodaCoke",6}};
|
|
};
|
|
class Crafting1 {
|
|
text = $STR_EPOCH_PLAYER_222;
|
|
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
|
|
neednearby[] = {};
|
|
requiretools[] = {"ItemToolbox"};
|
|
output[] = {{"bulk_ItemSodaPepsi",1}};
|
|
input[] = {{"bulk_empty",1},{"ItemSodaPepsi",6}};
|
|
};
|
|
|
|
class Crafting2 {
|
|
text = $STR_EPOCH_PLAYER_223;
|
|
script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;";
|
|
neednearby[] = {};
|
|
requiretools[] = {"ItemToolbox"};
|
|
output[] = {{"bulk_PartGenericHalf",1}};
|
|
input[] = {{"bulk_empty",1},{"PartGeneric",6}};
|
|
};
|
|
class Crafting3 {
|
|
text = $STR_EPOCH_PLAYER_224;
|
|
script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;";
|
|
neednearby[] = {};
|
|
requiretools[] = {"ItemToolbox"};
|
|
output[] = {{"bulk_ItemTankTrapHalf",1}};
|
|
input[] = {{"bulk_empty",1},{"ItemTankTrap",6}};
|
|
};
|
|
class Crafting4 {
|
|
text = $STR_EPOCH_PLAYER_225;
|
|
script = ";['Crafting4','CfgMagazines', _id] spawn player_craftItem;";
|
|
neednearby[] = {};
|
|
requiretools[] = {"ItemToolbox"};
|
|
output[] = {{"bulk_ItemWireHalf",1}};
|
|
input[] = {{"bulk_empty",1},{"ItemWire",6}};
|
|
};
|
|
class Crafting5 {
|
|
text = $STR_EPOCH_PLAYER_226;
|
|
script = ";['Crafting5','CfgMagazines', _id] spawn player_craftItem;";
|
|
neednearby[] = {};
|
|
requiretools[] = {"ItemToolbox"};
|
|
output[] = {{"bulk_FoodbaconCooked",1}};
|
|
input[] = {{"bulk_empty",1},{"FoodbaconCooked",6}};
|
|
};
|
|
};
|
|
};
|
|
|
|
class bulk_ItemSodaCoke: bulk {
|
|
descriptionShort = $STR_EPOCH_BULK_DESC_SODACOKE_HALF;
|
|
class ItemActions {
|
|
class CreateMags {
|
|
text = $STR_EPOCH_PLAYER_209;
|
|
script = "spawn player_loadCrate;";
|
|
output[] = {"ItemSodaCoke",6,"magazine"};
|
|
};
|
|
class Crafting {
|
|
text = $STR_EPOCH_PLAYER_221;
|
|
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
|
neednearby[] = {};
|
|
requiretools[] = {"ItemToolbox"};
|
|
output[] = {{"bulk_ItemSodaCokeFull",1}};
|
|
input[] = {{"bulk_ItemSodaCoke",1},{"ItemSodaCoke",6}};
|
|
};
|
|
};
|
|
};
|
|
class bulk_ItemSodaCokeFull: bulk {
|
|
descriptionShort = $STR_EPOCH_BULK_DESC_SODACOKE_FULL;
|
|
class ItemActions {
|
|
class CreateMags {
|
|
text = $STR_EPOCH_PLAYER_209;
|
|
script = "spawn player_loadCrate;";
|
|
output[] = {"ItemSodaCoke",12,"magazine"};
|
|
};
|
|
};
|
|
};
|
|
|
|
class bulk_ItemSodaPepsi: bulk {
|
|
descriptionShort = $STR_EPOCH_BULK_DESC_SODAPEPSI_HALF;
|
|
class ItemActions {
|
|
class CreateMags {
|
|
text = $STR_EPOCH_PLAYER_209;
|
|
script = "spawn player_loadCrate;";
|
|
output[] = {"ItemSodaPepsi",6,"magazine"};
|
|
};
|
|
class Crafting {
|
|
text = $STR_EPOCH_PLAYER_222;
|
|
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
|
neednearby[] = {};
|
|
requiretools[] = {"ItemToolbox"};
|
|
output[] = {{"bulk_ItemSodaPepsiFull",1}};
|
|
input[] = {{"bulk_ItemSodaPepsi",1},{"ItemSodaPepsi",6}};
|
|
};
|
|
};
|
|
};
|
|
class bulk_ItemSodaPepsiFull: bulk {
|
|
descriptionShort = $STR_EPOCH_BULK_DESC_SODAPEPSI_FULL;
|
|
class ItemActions {
|
|
class CreateMags {
|
|
text = $STR_EPOCH_PLAYER_209;
|
|
script = "spawn player_loadCrate;";
|
|
output[] = {"ItemSodaPepsi",12,"magazine"};
|
|
};
|
|
};
|
|
};
|
|
|
|
class bulk_FoodbaconCooked: bulk {
|
|
descriptionShort = $STR_EPOCH_BULK_DESC_BACON_HALF;
|
|
class ItemActions {
|
|
class CreateMags {
|
|
text = $STR_EPOCH_PLAYER_209;
|
|
script = "spawn player_loadCrate;";
|
|
output[] = {"FoodbaconCooked",6,"magazine"};
|
|
};
|
|
class Crafting {
|
|
text = $STR_EPOCH_PLAYER_227;
|
|
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
|
neednearby[] = {};
|
|
requiretools[] = {"ItemToolbox"};
|
|
output[] = {{"bulk_FoodbaconCookedFull",1}};
|
|
input[] = {{"bulk_FoodbaconCooked",1},{"FoodbaconCooked",6}};
|
|
};
|
|
};
|
|
};
|
|
class bulk_FoodbaconCookedFull: bulk {
|
|
descriptionshort = $STR_EPOCH_BULK_DESC_BACON_FULL;
|
|
class ItemActions {
|
|
class CreateMags {
|
|
text = $STR_EPOCH_PLAYER_209;
|
|
script = "spawn player_loadCrate;";
|
|
output[] = {"FoodbaconCooked",12,"magazine"};
|
|
};
|
|
};
|
|
};
|
|
|
|
// Ammo
|
|
class bulk_17Rnd_9x19_glock17: bulk {
|
|
descriptionShort = $STR_EPOCH_BULK_DESC_G17;
|
|
class ItemActions {
|
|
class CreateMags {
|
|
text = $STR_EPOCH_PLAYER_209;
|
|
script = "spawn player_loadCrate;";
|
|
output[] = {"17Rnd_9x19_glock17",12,"magazine"};
|
|
};
|
|
};
|
|
};
|
|
class bulk_15Rnd_9x19_M9SD: bulk {
|
|
descriptionShort = $STR_EPOCH_BULK_DESC_M9SD;
|
|
class ItemActions {
|
|
class CreateMags {
|
|
text = $STR_EPOCH_PLAYER_209;
|
|
script = "spawn player_loadCrate;";
|
|
output[] = {"15Rnd_9x19_M9SD",12,"magazine"};
|
|
};
|
|
};
|
|
};
|
|
class bulk_30Rnd_9x19_MP5SD: bulk {
|
|
descriptionShort = $STR_EPOCH_BULK_DESC_MP5SD;
|
|
class ItemActions {
|
|
class CreateMags {
|
|
text = $STR_EPOCH_PLAYER_209;
|
|
script = "spawn player_loadCrate;";
|
|
output[] = {"30Rnd_9x19_MP5SD",12,"magazine"};
|
|
};
|
|
};
|
|
};
|
|
class bulk_30Rnd_556x45_StanagSD: bulk {
|
|
descriptionShort = $STR_EPOCH_BULK_DESC_STANAGSD;
|
|
class ItemActions {
|
|
class CreateMags {
|
|
text = $STR_EPOCH_PLAYER_209;
|
|
script = "spawn player_loadCrate;";
|
|
output[] = {"30Rnd_556x45_StanagSD",12,"magazine"};
|
|
};
|
|
};
|
|
};
|
|
|
|
class bulk_ItemSandbag: bulk {
|
|
descriptionShort = $STR_EPOCH_BULK_DESC_SANDBAG;
|
|
class ItemActions {
|
|
class CreateMags {
|
|
text = $STR_EPOCH_PLAYER_209;
|
|
script = "spawn player_loadCrate;";
|
|
output[] = {"ItemSandbag",12,"magazine"};
|
|
};
|
|
};
|
|
};
|
|
|
|
class bulk_ItemTankTrap: bulk {
|
|
descriptionShort = $STR_EPOCH_BULK_DESC_TANKTRAP_FULL;
|
|
weight = 25;
|
|
class ItemActions {
|
|
class CreateMags {
|
|
text = $STR_EPOCH_PLAYER_209;
|
|
script = "spawn player_loadCrate;";
|
|
output[] = {"ItemTankTrap",12,"magazine"};
|
|
};
|
|
};
|
|
};
|
|
class bulk_ItemTankTrapHalf: bulk {
|
|
descriptionShort = $STR_EPOCH_BULK_DESC_TANKTRAP_HALF;
|
|
weight = 12.5;
|
|
class ItemActions {
|
|
class CreateMags {
|
|
text = $STR_EPOCH_PLAYER_209;
|
|
script = "spawn player_loadCrate;";
|
|
output[] = {"ItemTankTrap",6,"magazine"};
|
|
};
|
|
class Crafting {
|
|
text = $STR_EPOCH_PLAYER_224;
|
|
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
|
neednearby[] = {};
|
|
requiretools[] = {"ItemToolbox"};
|
|
output[] = {{"bulk_ItemTankTrap",1}};
|
|
input[] = {{"bulk_ItemTankTrapHalf",1},{"ItemTankTrap",6}};
|
|
};
|
|
};
|
|
};
|
|
|
|
class bulk_ItemWire: bulk {
|
|
descriptionShort = $STR_EPOCH_BULK_DESC_WIREKIT_FULL;
|
|
weight = 25;
|
|
class ItemActions {
|
|
class CreateMags {
|
|
text = $STR_EPOCH_PLAYER_209;
|
|
script = "spawn player_loadCrate;";
|
|
output[] = {"ItemWire",12,"magazine"};
|
|
};
|
|
};
|
|
};
|
|
class bulk_ItemWireHalf: bulk {
|
|
descriptionShort = $STR_EPOCH_BULK_DESC_WIREKIT_HALF;
|
|
weight = 12.5;
|
|
class ItemActions {
|
|
class CreateMags {
|
|
text = $STR_EPOCH_PLAYER_209;
|
|
script = "spawn player_loadCrate;";
|
|
output[] = {"ItemWire",6,"magazine"};
|
|
};
|
|
class Crafting {
|
|
text = $STR_EPOCH_PLAYER_225;
|
|
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
|
neednearby[] = {};
|
|
requiretools[] = {"ItemToolbox"};
|
|
output[] = {{"bulk_ItemWire",1}};
|
|
input[] = {{"bulk_ItemWireHalf",1},{"ItemWire",6}};
|
|
};
|
|
};
|
|
};
|
|
|
|
class bulk_PartGeneric: bulk {
|
|
descriptionShort = $STR_EPOCH_BULK_DESC_GENERIC_FULL;
|
|
weight = 60;
|
|
class ItemActions {
|
|
class CreateMags {
|
|
text = $STR_EPOCH_PLAYER_209;
|
|
script = "spawn player_loadCrate;";
|
|
output[] = {"PartGeneric",12,"magazine"};
|
|
};
|
|
};
|
|
};
|
|
class bulk_PartGenericHalf: bulk {
|
|
descriptionShort = $STR_EPOCH_BULK_DESC_GENERIC_HALF;
|
|
weight = 30;
|
|
class ItemActions {
|
|
class CreateMags {
|
|
text = $STR_EPOCH_PLAYER_209;
|
|
script = "spawn player_loadCrate;";
|
|
output[] = {"PartGeneric",6,"magazine"};
|
|
};
|
|
class Crafting {
|
|
text = $STR_EPOCH_PLAYER_223;
|
|
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
|
neednearby[] = {};
|
|
requiretools[] = {"ItemToolbox"};
|
|
output[] = {{"bulk_PartGeneric",1}};
|
|
input[] = {{"bulk_PartGenericHalf",1},{"PartGeneric",6}};
|
|
};
|
|
};
|
|
}; |