mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Add half and quarter metal floors
Models made by @Helion4 This also changes the metal floor recipe. A metal floor needs 2 half metal floors now. And a half metal floors needs 2 quarter floors. Metal panel are no longer used to craft metal floors.
This commit is contained in:
@@ -20,6 +20,68 @@ class metal_floor_kit: CA_Magazine
|
||||
};
|
||||
};
|
||||
|
||||
class metal_floor_half_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_EPOCH_METALFLOORHALF;
|
||||
descriptionShort = $STR_EPOCH_METALFLOORHALF
|
||||
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox"};
|
||||
create = "MetalFloor_Half_DZ";
|
||||
};
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_228;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop","fire"};
|
||||
requiretools[] = {"ItemToolbox","ItemCrowbar","ItemSledge"};
|
||||
output[] = {{"metal_floor_kit",1}};
|
||||
input[] = {{"metal_floor_half_kit",2}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class metal_floor_quarter_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_EPOCH_METALFLOORQUARTER;
|
||||
descriptionShort = $STR_EPOCH_METALFLOORQUARTER;
|
||||
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox"};
|
||||
create = "MetalFloor_Quarter_DZ";
|
||||
};
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_228_1;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop","fire"};
|
||||
requiretools[] = {"ItemToolbox","ItemCrowbar","ItemSledge"};
|
||||
output[] = {{"metal_floor_half_kit",1}};
|
||||
input[] = {{"metal_floor_quarter_kit",2}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class metal_pillar_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
|
||||
Reference in New Issue
Block a user