mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-17 09:10:27 +03:00
Add tools as requirement for upgrade buildings
player_upgrade.sqf can upgrade storage buildings too now.
This commit is contained in:
@@ -283,7 +283,7 @@ class Land_DZE_WoodDoor: Land_DZE_WoodDoor_Base {
|
||||
model = "\z\addons\dayz_epoch\models\small_wall_door_anim.p3d";
|
||||
displayName = $STR_EPOCH_WALLWITHDOOR;
|
||||
GhostPreview = "WoodDoor_Preview_DZ";
|
||||
upgradeBuilding[] = {"Land_DZE_WoodDoorLocked",{{"ItemComboLock",1}}};
|
||||
upgradeBuilding[] = {"Land_DZE_WoodDoorLocked",{},{{"ItemComboLock",1}}};
|
||||
/* Arma needs to know, how the animation trigger is triggered*/
|
||||
class AnimationSources {
|
||||
/* name must be identical to the one given by the model.cfg ("Open_Door")" */
|
||||
@@ -382,7 +382,7 @@ class Land_DZE_LargeWoodDoor: Land_DZE_WoodDoor_Base {
|
||||
model = "\z\addons\dayz_epoch\models\large_wall_door_anim.p3d";
|
||||
displayName = $STR_EPOCH_LARGEWALLWITHDOOR;
|
||||
GhostPreview = "LargeWoodDoor_Preview_DZ";
|
||||
upgradeBuilding[] = {"Land_DZE_LargeWoodDoorLocked",{{"ItemComboLock",1}}};
|
||||
upgradeBuilding[] = {"Land_DZE_LargeWoodDoorLocked",{},{{"ItemComboLock",1}}};
|
||||
/* Arma needs to know, how the animation trigger is triggered*/
|
||||
class AnimationSources {
|
||||
/* name must be identical to the one given by the model.cfg ("Open_Door")" */
|
||||
@@ -481,7 +481,7 @@ class Land_DZE_GarageWoodDoor: Land_DZE_WoodDoor_Base {
|
||||
model = "\z\addons\dayz_epoch\models\Garage_door_anim.p3d";
|
||||
displayName = $STR_EPOCH_WOODGARAGEDOOR;
|
||||
GhostPreview = "GarageWoodDoor_Preview_DZ";
|
||||
upgradeBuilding[] = {"Land_DZE_GarageWoodDoorLocked",{{"ItemComboLock",1}}};
|
||||
upgradeBuilding[] = {"Land_DZE_GarageWoodDoorLocked",{},{{"ItemComboLock",1}}};
|
||||
/* Arma needs to know, how the animation trigger is triggered*/
|
||||
class AnimationSources {
|
||||
/* name must be identical to the one given by the model.cfg ("Open_Door")" */
|
||||
@@ -645,7 +645,7 @@ class CinderWallDoor_DZ: CinderWallDoor_DZ_Base {
|
||||
model = "\z\addons\dayz_epoch\models\steel_garage_door.p3d";
|
||||
displayName = $STR_EPOCH_BLOCKGARAGEDOOR;
|
||||
GhostPreview = "CinderWallDoorway_Preview_DZ";
|
||||
upgradeBuilding[] = {"CinderWallDoorLocked_DZ",{{"ItemComboLock",1}}};
|
||||
upgradeBuilding[] = {"CinderWallDoorLocked_DZ",{},{{"ItemComboLock",1}}};
|
||||
/* Arma needs to know, how the animation trigger is triggered*/
|
||||
class AnimationSources {
|
||||
/* name must be identical to the one given by the model.cfg ("Open_Door")" */
|
||||
@@ -747,7 +747,7 @@ class CinderWallDoorSmall_DZ: CinderWallDoor_DZ_Base {
|
||||
model = "\z\addons\dayz_epoch\models\Steel_door.p3d";
|
||||
displayName = $STR_EPOCH_BLOCKDOOR;
|
||||
GhostPreview = "CinderWallSmallDoorway_Preview_DZ";
|
||||
upgradeBuilding[] = {"CinderWallDoorSmallLocked_DZ",{{"ItemComboLock",1}}};
|
||||
upgradeBuilding[] = {"CinderWallDoorSmallLocked_DZ",{},{{"ItemComboLock",1}}};
|
||||
/* Arma needs to know, how the animation trigger is triggered*/
|
||||
class AnimationSources {
|
||||
/* name must be identical to the one given by the model.cfg ("Open_Door")" */
|
||||
|
||||
@@ -74,7 +74,7 @@ class CinderWallHalf_DZ: ModularItems {
|
||||
armor = 2200;
|
||||
displayName = $STR_EPOCH_CINDERBLOCKWALL_HALF;
|
||||
vehicleClass = "Fortifications";
|
||||
upgradeBuilding[] = {"CinderWall_DZ",{{"CinderBlocks",4},{"MortarBucket",1}}};
|
||||
upgradeBuilding[] = {"CinderWall_DZ",{"ItemToolbox"},{{"CinderBlocks",4},{"MortarBucket",1}}};
|
||||
maintainBuilding[] = {{"MortarBucket",1}};
|
||||
GhostPreview = "CinderWallHalf_Preview_DZ";
|
||||
class DestructionEffects : DestructionEffects {
|
||||
@@ -127,7 +127,7 @@ class CinderWallDoorway_DZ: ModularItems {
|
||||
displayName = $STR_EPOCH_BLOCKGARAGEDOORWAY;
|
||||
vehicleClass = "Fortifications";
|
||||
maintainBuilding[] = {{"MortarBucket",1}};
|
||||
upgradeBuilding[] = {"CinderWallDoor_DZ",{{"ItemPole",3},{"ItemTankTrap",3}}};
|
||||
upgradeBuilding[] = {"CinderWallDoor_DZ",{"ItemToolbox"},{{"ItemPole",3},{"ItemTankTrap",3}}};
|
||||
GhostPreview = "CinderWallDoorway_Preview_DZ";
|
||||
class DestructionEffects : DestructionEffects {
|
||||
class Ruin1 {
|
||||
@@ -153,7 +153,7 @@ class CinderWallSmallDoorway_DZ: ModularItems {
|
||||
displayName = $STR_EPOCH_BLOCKDOORWAY;
|
||||
vehicleClass = "Fortifications";
|
||||
maintainBuilding[] = {{"MortarBucket",1}};
|
||||
upgradeBuilding[] = {"CinderWallDoorSmall_DZ",{{"ItemPole",1},{"ItemTankTrap",1}}};
|
||||
upgradeBuilding[] = {"CinderWallDoorSmall_DZ",{"ItemToolbox"},{{"ItemPole",1},{"ItemTankTrap",1}}};
|
||||
GhostPreview = "CinderWallSmallDoorway_Preview_DZ";
|
||||
class DestructionEffects : DestructionEffects {
|
||||
class Ruin1 {
|
||||
@@ -257,7 +257,7 @@ class WoodLargeWall_DZ: ModularItems {
|
||||
armor = 2200;
|
||||
displayName = $STR_EPOCH_LARGEWOODWALL;
|
||||
vehicleClass = "Fortifications";
|
||||
upgradeBuilding[] = {"WoodLargeWallWin_DZ",{{"PartGlass",1}}};
|
||||
upgradeBuilding[] = {"WoodLargeWallWin_DZ",{"ItemToolbox"},{{"PartGlass",1}}};
|
||||
maintainBuilding[] = {{"PartWoodPlywood",1},{"PartWoodLumber",1}};
|
||||
GhostPreview = "WoodLargeWall_Preview_DZ";
|
||||
class DestructionEffects : DestructionEffects {
|
||||
@@ -284,7 +284,7 @@ class WoodLargeWallDoor_DZ: ModularItems {
|
||||
displayName = $STR_EPOCH_LARGEWALLWITHDOORWAY;
|
||||
vehicleClass = "Fortifications";
|
||||
maintainBuilding[] = {{"PartWoodPlywood",1},{"PartWoodLumber",1}};
|
||||
upgradeBuilding[] = {"Land_DZE_LargeWoodDoor",{{"PartWoodPlywood",1},{"PartWoodLumber",1}}};
|
||||
upgradeBuilding[] = {"Land_DZE_LargeWoodDoor",{"ItemToolbox"},{{"PartWoodPlywood",1},{"PartWoodLumber",1}}};
|
||||
GhostPreview = "WoodLargeWallDoor_Preview_DZ";
|
||||
class DestructionEffects : DestructionEffects {
|
||||
class Ruin1 {
|
||||
@@ -334,7 +334,7 @@ class WoodSmallWall_DZ: ModularItems {
|
||||
displayName = $STR_EPOCH_WOODWALL;
|
||||
vehicleClass = "Fortifications";
|
||||
maintainBuilding[] = {{"PartWoodPlywood",1},{"PartWoodLumber",1}};
|
||||
upgradeBuilding[] = {"WoodSmallWallWin_DZ",{{"PartGlass",1}}};
|
||||
upgradeBuilding[] = {"WoodSmallWallWin_DZ",{"ItemToolbox"},{{"PartGlass",1}}};
|
||||
GhostPreview = "WoodSmallWall_Preview_DZ";
|
||||
class DestructionEffects : DestructionEffects {
|
||||
class Ruin1 {
|
||||
@@ -407,7 +407,7 @@ class WoodSmallWallDoor_DZ: ModularItems {
|
||||
armor = 2000;
|
||||
displayName = $STR_EPOCH_WALLWITHDOORWAY;
|
||||
vehicleClass = "Fortifications";
|
||||
upgradeBuilding[] = {"Land_DZE_WoodDoor",{{"PartWoodPlywood",1},{"PartWoodLumber",1}}};
|
||||
upgradeBuilding[] = {"Land_DZE_WoodDoor",{"ItemToolbox"},{{"PartWoodPlywood",1},{"PartWoodLumber",1}}};
|
||||
maintainBuilding[] = {{"PartWoodPlywood",1},{"PartWoodLumber",1}};
|
||||
GhostPreview = "WoodSmallWallDoor_Preview_DZ";
|
||||
class DestructionEffects : DestructionEffects {
|
||||
@@ -434,7 +434,7 @@ class WoodStairs_DZ: ModularItems {
|
||||
displayName = $STR_EPOCH_WOODSTAIRSWITHSUPPORTS;
|
||||
vehicleClass = "Fortifications";
|
||||
maintainBuilding[] = {{"PartWoodLumber",1}};
|
||||
upgradeBuilding[] = {"WoodStairsRails_DZ",{{"PartWoodLumber",2}}};
|
||||
upgradeBuilding[] = {"WoodStairsRails_DZ",{"ItemToolbox"},{{"PartWoodLumber",2}}};
|
||||
GhostPreview = "WoodStairs_Preview_DZ";
|
||||
};
|
||||
class WoodLadder_DZ: ModularItems {
|
||||
@@ -480,7 +480,7 @@ class WoodStairsSans_DZ: ModularItems {
|
||||
displayName = $STR_EPOCH_WOODSTAIRS;
|
||||
vehicleClass = "Fortifications";
|
||||
maintainBuilding[] = {{"PartWoodLumber",1}};
|
||||
upgradeBuilding[] = {"WoodStairs_DZ",{{"PartWoodLumber",2}}};
|
||||
upgradeBuilding[] = {"WoodStairs_DZ",{"ItemToolbox"},{{"PartWoodLumber",2}}};
|
||||
GhostPreview = "WoodStairsSans_Preview_DZ";
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user