Add the option to craft a metal sheet

This commit is contained in:
AirwavesMan
2021-03-17 09:56:21 +01:00
parent 6f2db96918
commit db134935ba
2 changed files with 15 additions and 2 deletions

View File

@@ -36,12 +36,21 @@ class PartGeneric : CA_Magazine
requiretools[] = {"ItemToolbox","ItemCrowbar"}; requiretools[] = {"ItemToolbox","ItemCrowbar"};
output[] = {{"ItemMetalSheet",1}}; output[] = {{"ItemMetalSheet",1}};
input[] = {{"PartGeneric",3}}; input[] = {{"PartGeneric",3}};
}; };
class Crafting3 class Crafting3
{ {
text = $STR_EPOCH_ACTION_METAL_DOORWAY; text = $STR_CRAFTING_METALSHEET;
script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop","fire"}; neednearby[] = {"workshop","fire"};
requiretools[] = {"ItemToolbox","ItemCrowbar","ItemSledge"};
output[] = {{"equip_metal_sheet",1}};
input[] = {{"PartGeneric",2},{"ItemTankTrap",2}};
};
class Crafting4
{
text = $STR_EPOCH_ACTION_METAL_DOORWAY;
script = ";['Crafting4','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop","fire"};
requiretools[] = {"ItemToolbox","ItemCrowbar"}; requiretools[] = {"ItemToolbox","ItemCrowbar"};
output[] = {{"door_frame_kit",1}}; output[] = {{"door_frame_kit",1}};
input[] = {{"ItemPole",4},{"ItemTankTrap",4},{"PartGeneric",2}}; input[] = {{"ItemPole",4},{"ItemTankTrap",4},{"PartGeneric",2}};

View File

@@ -33396,6 +33396,10 @@
<German>Wellblech herstellen</German> <German>Wellblech herstellen</German>
<Russian>Создать: Гофрир. лист</Russian> <Russian>Создать: Гофрир. лист</Russian>
</Key> </Key>
<Key ID="STR_CRAFTING_METALSHEET">
<English>Craft Sheet Metal</English>
<German>Metallplatte herstellen</German>
</Key>
<Key ID="STR_CRAFTING_NEEDED_ITEMS"> <Key ID="STR_CRAFTING_NEEDED_ITEMS">
<English>Needed items:</English> <English>Needed items:</English>
<German>Benötigte Gegenstände:</German> <German>Benötigte Gegenstände:</German>