mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
This got discussed earlier. Since epoch got merged with DayZ Mod we have a different name for the scope and type of configs. A proper config should use numbers for those entries. This is the same how arma configs are written. The basicDefines.hpp has all the needed information stored. Also, this removes the weight entries from the magazines since we have them in a separate folder, so admins can edit them.
92 lines
2.7 KiB
C++
92 lines
2.7 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 ItemConcreteBlock: CA_Magazine //Construection,indestrial
|
|
{
|
|
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;
|
|
}; |