mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-20 23:20:50 +03:00
fixes duplicate class, missing tag and cfg typo
This commit is contained in:
@@ -1329,37 +1329,38 @@ class CfgMagazines {
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_oildrum_e_CA.paa";
|
||||
descriptionShort = "210 litres of fuel per barrel (Empty)";
|
||||
class ItemActions {
|
||||
class Crafting
|
||||
{
|
||||
text = "$STR_EPOCH_PLAYER_276";
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"fire"};
|
||||
requiretools[] = {"ItemToolbox","ItemHatchet"};
|
||||
output[] = {{"ItemFireBarrel_kit",1}};
|
||||
input[] = {{"ItemFuelBarrelEmpty",1},{"ItemJerryCan",1},{"PartWoodPile",4}};
|
||||
};
|
||||
class Crafting
|
||||
{
|
||||
text = "$STR_EPOCH_PLAYER_276";
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"fire"};
|
||||
requiretools[] = {"ItemToolbox","ItemHatchet"};
|
||||
output[] = {{"ItemFireBarrel_kit",1}};
|
||||
input[] = {{"ItemFuelBarrelEmpty",1},{"ItemJerryCan",1},{"PartWoodPile",4}};
|
||||
};
|
||||
};
|
||||
};
|
||||
class ItemFireBarrel_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = "Fire Barrel Kit";
|
||||
descriptionShort = "Fire Barrel";
|
||||
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
||||
weight = 45;
|
||||
class ItemActions
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = "Fire Barrel Kit";
|
||||
descriptionShort = "Fire Barrel";
|
||||
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
||||
weight = 45;
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = "$STR_ACTIONS_BUILD";
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox"};
|
||||
create = "FireBarrel_DZ";
|
||||
};
|
||||
text = "$STR_ACTIONS_BUILD";
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox"};
|
||||
create = "FireBarrel_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
class ItemJerrycan: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
|
||||
Reference in New Issue
Block a user