mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-25 01:20:49 +03:00
Add Metal Floor 4x, half and quarter glass floors
Models made by @Helion4
This commit is contained in:
@@ -99,13 +99,22 @@ class ItemPole: CA_Magazine
|
||||
};
|
||||
class Crafting4
|
||||
{
|
||||
text = $STR_EPOCH_ACTION_GLASS_FLOOR;
|
||||
text = $STR_EPOCH_ACTION_GLASS_FLOOR_QUARTER;
|
||||
script = ";['Crafting4','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox","ItemCrowbar"};
|
||||
output[] = {{"glass_floor_kit",1}};
|
||||
output[] = {{"glass_floor_quarter_kit",1}};
|
||||
input[] = {{"ItemPole",8},{"PartGlass",4}};
|
||||
};
|
||||
};
|
||||
class Crafting5
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_228_2;
|
||||
script = ";['Crafting5','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop","fire"};
|
||||
requiretools[] = {"ItemToolbox","ItemCrowbar","ItemSledge"};
|
||||
output[] = {{"metal_floor_quarter_kit",1}};
|
||||
input[] = {{"ItemPole",4},{"equip_metal_sheet",4}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -90,6 +90,19 @@ class PartGlass : CA_Magazine
|
||||
picture = "\dayz_equip\textures\equip_carglass_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_30;
|
||||
descriptionShort = $STR_EQUIP_DESC_30;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_EPOCH_ACTION_GLASS_FLOOR_QUARTER;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox","ItemCrowbar"};
|
||||
output[] = {{"glass_floor_quarter_kit",1}};
|
||||
input[] = {{"ItemPole",4},{"PartGlass",4}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
// PartGeneric can be found under Items\Metal.hpp
|
||||
Reference in New Issue
Block a user