Add cinder wall with window

Model made by @Helion4
This commit is contained in:
AirwavesMan
2020-12-04 14:21:59 +01:00
parent fb407679f8
commit 3e1040ff13
7 changed files with 232 additions and 14 deletions

View File

@@ -64,6 +64,59 @@ class full_cinder_wall_kit: CA_Magazine
};
};
class cinderwall_window_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_CINDERBLOCKWALLWINDOW;
descriptionShort = $STR_EPOCH_CINDERBLOCKWALLWINDOW_DESC;
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 = "CinderWallWindow_DZ";
};
class Crafting
{
text = $STR_EPOCH_PLAYER_239_1_2;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {};
output[] = {{"cinderwall_window_locked_kit",1}};
input[] = {{"cinderwall_window_kit",1},{"ItemComboLock",1}};
};
};
};
class cinderwall_window_locked_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_CINDERBLOCKWALLWINDOW_LOCKED;
descriptionShort = $STR_EPOCH_CINDERBLOCKWALLWINDOW_LOCKED_DESC;
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 = "CinderWallWindowLocked_DZ";
};
};
};
class cinder_door_frame_kit: CA_Magazine
{
scope = 2;
@@ -1360,4 +1413,5 @@ class door_locked_kit: CA_Magazine
create = "DoorLocked_DZ";
};
};
};
};