mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
133 lines
3.9 KiB
C++
133 lines
3.9 KiB
C++
class ItemStone: CA_Magazine
|
|
{
|
|
scope = 2;
|
|
count = 1;
|
|
type = 256;
|
|
displayName = $STR_BLD_name_ItemStone;//"Rough Stone"
|
|
picture = "\z\addons\dayz_buildings\equip\rocks.paa";
|
|
model = "z\addons\dayz_buildings\models\rocks.p3d";
|
|
descriptionShort = $STR_BLD_desc_ItemStone;//"Rough Stone"
|
|
|
|
class ItemActions
|
|
{
|
|
class Crafting
|
|
{
|
|
text = $STR_BLD_name_WoodenFence_1_foundation;
|
|
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
|
neednearby[] = {"workshop"};
|
|
requiretools[] = {"ItemToolbox"};
|
|
output[] = {{"woodfence_foundation_kit",1}};
|
|
input[] = {{"ItemStone",8},{"MortarBucket",1},{"ItemPlank",1}};
|
|
};
|
|
class Crafting1
|
|
{
|
|
text = $STR_BLD_name_MetalFence_1_foundation;
|
|
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
|
|
neednearby[] = {"workshop"};
|
|
requiretools[] = {"ItemToolbox"};
|
|
output[] = {{"metalfence_foundation_kit",1}};
|
|
input[] = {{"ItemStone",8},{"MortarBucket",1},{"ItemRSJ",1}};
|
|
};
|
|
class Crafting2
|
|
{
|
|
text = $STR_BLD_name_WoodenFence_1_foundation;
|
|
script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;";
|
|
neednearby[] = {"workshop"};
|
|
requiretools[] = {"ItemToolbox"};
|
|
output[] = {{"woodfence_gate_foundation_kit",1}};
|
|
input[] = {{"ItemLog",4}};
|
|
};
|
|
};
|
|
};
|
|
|
|
class ItemConcreteBlock: CA_Magazine
|
|
{
|
|
scope = 2;
|
|
count = 1;
|
|
type = 256;
|
|
displayName = $STR_BLD_name_ItemConcreteBlock;//"Concrete Block"
|
|
picture = "\z\addons\dayz_buildings\equip\concreteblock.paa";
|
|
model = "z\addons\dayz_buildings\models\concreteblock.p3d";
|
|
descriptionShort = $STR_BLD_desc_ItemConcreteBlock;//"Concrete Block"
|
|
};
|
|
|
|
class CinderBlocks: CA_Magazine
|
|
{
|
|
scope = 2;
|
|
count = 1;
|
|
type = 256;
|
|
displayName = $STR_EPOCH_CINDERBLOCKS;
|
|
model = "\z\addons\dayz_epoch\models\cinder_stack.p3d";
|
|
picture = "\z\addons\dayz_epoch\pictures\epuip_cinder_blocks_CA.paa";
|
|
descriptionShort = $STR_EPOCH_CINDERBLOCKS_DESC;
|
|
|
|
class ItemActions
|
|
{
|
|
class Crafting
|
|
{
|
|
text = $STR_EPOCH_PLAYER_252;
|
|
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
|
neednearby[] = {"workshop"};
|
|
requiretools[] = {"ItemToolbox"};
|
|
output[] = {{"half_cinder_wall_kit",1}};
|
|
input[] = {{"CinderBlocks",3},{"MortarBucket",1}};
|
|
};
|
|
class Crafting1
|
|
{
|
|
text = $STR_EPOCH_PLAYER_253;
|
|
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
|
|
neednearby[] = {"workshop"};
|
|
requiretools[] = {"ItemToolbox"};
|
|
output[] = {{"cinder_garage_kit",1}};
|
|
input[] = {{"CinderBlocks",3},{"MortarBucket",1},{"ItemTankTrap",1}};
|
|
};
|
|
class Crafting2
|
|
{
|
|
text = $STR_EPOCH_PLAYER_234;
|
|
script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;";
|
|
neednearby[] = {"workshop"};
|
|
requiretools[] = {"ItemToolbox"};
|
|
output[] = {{"cinder_door_kit",1}};
|
|
input[] = {{"CinderBlocks",4},{"MortarBucket",1},{"ItemTankTrap",1}};
|
|
};
|
|
class Crafting3
|
|
{
|
|
text = $STR_EPOCH_PLAYER_252_1;
|
|
script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;";
|
|
neednearby[] = {"workshop"};
|
|
requiretools[] = {"ItemToolbox"};
|
|
output[] = {{"full_cinder_wall_kit",1}};
|
|
input[] = {{"CinderBlocks",7},{"MortarBucket",2}};
|
|
};
|
|
};
|
|
};
|
|
class MortarBucket: CA_Magazine
|
|
{
|
|
scope = 2;
|
|
count = 1;
|
|
type = 256;
|
|
displayName = $STR_EPOCH_BUCKETOFMORTAR;
|
|
model = "\z\addons\dayz_epoch\models\mortar.p3d";
|
|
picture = "\z\addons\dayz_epoch\pictures\equip_mortar_CA.paa";
|
|
descriptionShort = $STR_EPOCH_BUCKETOFMORTAR_DESC;
|
|
};
|
|
|
|
class equip_brick : CA_Magazine
|
|
{
|
|
scope = 2;
|
|
count = 1;
|
|
model = "\z\addons\dayz_communityassets\models\brick.p3d";
|
|
picture = "\z\addons\dayz_communityassets\pictures\equip_brick.paa";
|
|
displayName = $STR_ITEM_NAME_equip_brick;
|
|
descriptionShort = $STR_ITEM_DESC_equip_brick;
|
|
};
|
|
|
|
class CementBag: CA_Magazine
|
|
{
|
|
scope = 2;
|
|
count = 1;
|
|
displayName = $STR_ITEM_NAME_CEMENT_BAG;
|
|
descriptionShort = $STR_ITEM_DESC_CEMENT_BAG;
|
|
picture = "\dayz_epoch_c\icons\equipment\ItemCementBag.paa";
|
|
model = "\z\addons\dayz_epoch_w\items\cement_bag.p3d";
|
|
}; |