Add prelocked versions of cinder door/garage

This is as per the wooden versions, adds cinder_door_kit_locked and
cinder_garage_kit_locked.

The same could be done for the version with the door WITHOUT the door
lock, but I feel this is enough.
This commit is contained in:
oiad
2018-03-30 23:49:45 +13:00
parent 21412b74d2
commit e1f655106e
2 changed files with 62 additions and 4 deletions

View File

@@ -35,6 +35,7 @@ class half_cinder_wall_kit: CA_Magazine {
}; };
}; };
}; };
class full_cinder_wall_kit: CA_Magazine { class full_cinder_wall_kit: CA_Magazine {
scope = public; scope = public;
count = 1; count = 1;
@@ -53,6 +54,7 @@ class full_cinder_wall_kit: CA_Magazine {
}; };
}; };
}; };
class cinder_door_kit: CA_Magazine { class cinder_door_kit: CA_Magazine {
scope = public; scope = public;
count = 1; count = 1;
@@ -71,6 +73,26 @@ class cinder_door_kit: CA_Magazine {
}; };
}; };
}; };
class cinder_door_kit_locked: CA_Magazine {
scope = public;
count = 1;
type = 256;
displayName = $STR_EPOCH_BLOCKDOORLOCKED;
descriptionShort = $STR_EPOCH_BLOCKDOORWAY_LOCKED_DESC;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
weight = 340;
class ItemActions {
class Build {
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "CinderWallDoorSmallLocked_DZ";
};
};
};
class cinder_garage_kit: CA_Magazine { class cinder_garage_kit: CA_Magazine {
scope = public; scope = public;
count = 1; count = 1;
@@ -90,6 +112,25 @@ class cinder_garage_kit: CA_Magazine {
}; };
}; };
class cinder_garage_kit_locked: CA_Magazine {
scope = public;
count = 1;
type = 256;
displayName = $STR_EPOCH_BLOCKGARAGEDOORLOCKED;
descriptionShort = $STR_EPOCH_BLOCKGARAGEDOORWAY_LOCKED_DESC;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
weight = 340;
class ItemActions {
class Build {
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "CinderWallDoorLocked_DZ";
};
};
};
class ItemWoodFloor: CA_Magazine { class ItemWoodFloor: CA_Magazine {
scope = public; scope = public;
count = 1; count = 1;
@@ -108,6 +149,7 @@ class ItemWoodFloor: CA_Magazine {
}; };
}; };
}; };
class ItemWoodFloorHalf: CA_Magazine { class ItemWoodFloorHalf: CA_Magazine {
scope = public; scope = public;
count = 1; count = 1;
@@ -134,6 +176,7 @@ class ItemWoodFloorHalf: CA_Magazine {
}; };
}; };
}; };
class ItemWoodFloorQuarter: CA_Magazine { class ItemWoodFloorQuarter: CA_Magazine {
scope = public; scope = public;
count = 1; count = 1;
@@ -187,6 +230,7 @@ class ItemWoodStairs: CA_Magazine {
}; };
}; };
}; };
class ItemWoodStairsSupport: CA_Magazine { class ItemWoodStairsSupport: CA_Magazine {
scope = public; scope = public;
count = 1; count = 1;
@@ -267,6 +311,7 @@ class ItemWoodWall: CA_Magazine {
}; };
}; };
}; };
class ItemWoodWallThird: CA_Magazine { class ItemWoodWallThird: CA_Magazine {
scope = public; scope = public;
count = 1; count = 1;
@@ -293,6 +338,7 @@ class ItemWoodWallThird: CA_Magazine {
}; };
}; };
}; };
class ItemWoodWallWindow: CA_Magazine { class ItemWoodWallWindow: CA_Magazine {
scope = public; scope = public;
count = 1; count = 1;
@@ -338,6 +384,7 @@ class ItemWoodWallDoor: CA_Magazine {
}; };
}; };
}; };
class ItemWoodWallWithDoor: CA_Magazine { class ItemWoodWallWithDoor: CA_Magazine {
scope = public; scope = public;
count = 1; count = 1;
@@ -364,6 +411,7 @@ class ItemWoodWallWithDoor: CA_Magazine {
}; };
}; };
}; };
class ItemWoodWallWithDoorLocked: CA_Magazine { class ItemWoodWallWithDoorLocked: CA_Magazine {
scope = public; scope = public;
count = 1; count = 1;
@@ -409,6 +457,7 @@ class ItemWoodWallGarageDoor: CA_Magazine {
}; };
}; };
}; };
class ItemWoodWallGarageDoorLocked: CA_Magazine { class ItemWoodWallGarageDoorLocked: CA_Magazine {
scope = public; scope = public;
count = 1; count = 1;
@@ -470,6 +519,7 @@ class ItemWoodWallLg: CA_Magazine {
}; };
}; };
}; };
class ItemWoodWallWindowLg: CA_Magazine { class ItemWoodWallWindowLg: CA_Magazine {
scope = public; scope = public;
count = 1; count = 1;
@@ -515,6 +565,7 @@ class ItemWoodWallDoorLg: CA_Magazine {
}; };
}; };
}; };
class ItemWoodWallWithDoorLg: CA_Magazine { class ItemWoodWallWithDoorLg: CA_Magazine {
scope = public; scope = public;
count = 1; count = 1;
@@ -541,6 +592,7 @@ class ItemWoodWallWithDoorLg: CA_Magazine {
}; };
}; };
}; };
class ItemWoodWallWithDoorLgLocked: CA_Magazine { class ItemWoodWallWithDoorLgLocked: CA_Magazine {
scope = public; scope = public;
count = 1; count = 1;

View File

@@ -15607,7 +15607,7 @@
<Russian>Дверной проём</Russian> <Russian>Дверной проём</Russian>
</Key> </Key>
<Key ID="STR_EPOCH_BLOCKDOORWAY_DESC"> <Key ID="STR_EPOCH_BLOCKDOORWAY_DESC">
<English>Cinder block doorway.</English> <English>Cinder block wall with metal single access door.</English>
<German>Ein Türdurchgang aus Beton.</German> <German>Ein Türdurchgang aus Beton.</German>
<Russian>Дверной проём в стене из шлакоблоков.</Russian> <Russian>Дверной проём в стене из шлакоблоков.</Russian>
</Key> </Key>
@@ -15618,14 +15618,17 @@
<Key ID="STR_EPOCH_BLOCKDOORLOCKED"> <Key ID="STR_EPOCH_BLOCKDOORLOCKED">
<English>Cinder Door (locked)</English> <English>Cinder Door (locked)</English>
<German>Betontür (verschlossen)</German> <German>Betontür (verschlossen)</German>
</Key> </Key>
<Key ID="STR_EPOCH_BLOCKDOORWAY_LOCKED_DESC">
<English>Cinder block wall with locked metal single access door.</English>
</Key>
<Key ID="STR_EPOCH_BLOCKGARAGEDOORWAY"> <Key ID="STR_EPOCH_BLOCKGARAGEDOORWAY">
<English>Cinder Garage Doorway</English> <English>Cinder Garage Doorway</English>
<German>Beton-Garagentürrahmen</German> <German>Beton-Garagentürrahmen</German>
<Russian>Дверной проём (гаражный)</Russian> <Russian>Дверной проём (гаражный)</Russian>
</Key> </Key>
<Key ID="STR_EPOCH_BLOCKGARAGEDOORWAY_DESC"> <Key ID="STR_EPOCH_BLOCKGARAGEDOORWAY_DESC">
<English>Cinder block garage doorway.</English> <English>Cinder block wall with metal garage doorway.</English>
<German>Ein Garagentürrahmen aus Beton.</German> <German>Ein Garagentürrahmen aus Beton.</German>
<Russian>Гаражный дверной проём в стене из шлакоблоков.</Russian> <Russian>Гаражный дверной проём в стене из шлакоблоков.</Russian>
</Key> </Key>
@@ -15636,7 +15639,10 @@
<Key ID="STR_EPOCH_BLOCKGARAGEDOORLOCKED"> <Key ID="STR_EPOCH_BLOCKGARAGEDOORLOCKED">
<English>Cinder Garage Door (locked)</English> <English>Cinder Garage Door (locked)</English>
<German>Beton-Garagentür (verschlossen)</German> <German>Beton-Garagentür (verschlossen)</German>
</Key> </Key>
<Key ID="STR_EPOCH_BLOCKGARAGEDOORWAY_LOCKED_DESC">
<English>Cinder block wall with locked metal garage doorway.</English>
</Key>
<Key ID="STR_EPOCH_FLOORCEILING"> <Key ID="STR_EPOCH_FLOORCEILING">
<English>Floor/Ceiling</English> <English>Floor/Ceiling</English>
<German>Holzboden/Decke</German> <German>Holzboden/Decke</German>