mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Added Buildable Wood Crate Storage
Construct a wooden crate (5/50/1) for item storage from 6 lumber.
This commit is contained in:
@@ -1487,6 +1487,27 @@ class CfgMagazines {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
class ItemWoodCrateKit: CA_Magazine
|
||||||
|
{
|
||||||
|
scope = 2;
|
||||||
|
count = 1;
|
||||||
|
type = 256;
|
||||||
|
displayName = "Wood Crate";
|
||||||
|
descriptionShort = "A wood crate that holds a lot of items.";
|
||||||
|
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
|
||||||
|
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
||||||
|
weight = 20;
|
||||||
|
class ItemActions
|
||||||
|
{
|
||||||
|
class Build
|
||||||
|
{
|
||||||
|
text = $STR_ACTIONS_BUILD;
|
||||||
|
script = "spawn player_build;";
|
||||||
|
require[] = {"ItemToolbox"};
|
||||||
|
create = "WoodCrate_DZ";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
class ItemOilBarrel: CA_Magazine
|
class ItemOilBarrel: CA_Magazine
|
||||||
{
|
{
|
||||||
scope = 2;
|
scope = 2;
|
||||||
@@ -3503,6 +3524,15 @@ class CfgMagazines {
|
|||||||
output[] = {{"ItemGunRackKit",1}};
|
output[] = {{"ItemGunRackKit",1}};
|
||||||
input[] = {{"PartWoodLumber",6}};
|
input[] = {{"PartWoodLumber",6}};
|
||||||
};
|
};
|
||||||
|
class Crafting7
|
||||||
|
{
|
||||||
|
text = $STR_EPOCH_PLAYER_304;
|
||||||
|
Script = ";['Crafting7','CfgMagazines', _id] spawn player_craftItem;";
|
||||||
|
neednearby[] = {};
|
||||||
|
requiretools[] = {"ItemToolbox"};
|
||||||
|
output[] = {{"ItemWoodCrateKit",1}};
|
||||||
|
input[] = {{"PartWoodLumber",6}};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
class PartWoodPlywood: CA_Magazine
|
class PartWoodPlywood: CA_Magazine
|
||||||
|
|||||||
@@ -1873,6 +1873,21 @@ class CfgVehicles {
|
|||||||
removeoutput[] = {{"ItemGunRackKit",1}};
|
removeoutput[] = {{"ItemGunRackKit",1}};
|
||||||
nounderground = 0;
|
nounderground = 0;
|
||||||
};
|
};
|
||||||
|
class Fort_Crate_wood;
|
||||||
|
class WoodCrate_DZ: Fort_Crate_wood
|
||||||
|
{
|
||||||
|
scope = 2;
|
||||||
|
destrType = "DestructBuilding";
|
||||||
|
offset[] = {0,2.5,0.5};
|
||||||
|
armor = 200;
|
||||||
|
displayName = "Wood Crate";
|
||||||
|
vehicleClass = "Fortifications";
|
||||||
|
transportMaxMagazines = 50;
|
||||||
|
transportMaxWeapons = 5;
|
||||||
|
transportMaxBackpacks = 1;
|
||||||
|
removeoutput[] = {{"ItemWoodCrateKit",1}};
|
||||||
|
nounderground = 0;
|
||||||
|
};
|
||||||
// modular
|
// modular
|
||||||
class MetalFloor_DZ: ModularItems
|
class MetalFloor_DZ: ModularItems
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -493,10 +493,10 @@ if(isNil "dayz_zedsAttackVehicles") then {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// update objects
|
// update objects
|
||||||
dayz_updateObjects = ["Plane","Car", "Helicopter", "Motorcycle", "Ship", "TentStorage", "VaultStorage","LockboxStorage","OutHouse_DZ","Wooden_shed_DZ","WoodShack_DZ","StorageShed_DZ","GunRack_DZ"];
|
dayz_updateObjects = ["Plane","Car", "Helicopter", "Motorcycle", "Ship", "TentStorage", "VaultStorage","LockboxStorage","OutHouse_DZ","Wooden_shed_DZ","WoodShack_DZ","StorageShed_DZ","GunRack_DZ","WoodCrate_DZ"];
|
||||||
dayz_disallowedVault = ["TentStorage", "BuiltItems","ModularItems","DZE_Base_Object"];
|
dayz_disallowedVault = ["TentStorage", "BuiltItems","ModularItems","DZE_Base_Object"];
|
||||||
dayz_reveal = ["AllVehicles","WeaponHolder","Land_A_tent","BuiltItems","ModularItems","DZE_Base_Object"];
|
dayz_reveal = ["AllVehicles","WeaponHolder","Land_A_tent","BuiltItems","ModularItems","DZE_Base_Object"];
|
||||||
dayz_allowedObjects = ["TentStorage","TentStorageDomed","TentStorageDomed2", "VaultStorageLocked", "Hedgehog_DZ", "Sandbag1_DZ","BagFenceRound_DZ","TrapBear","Fort_RazorWire","WoodGate_DZ","Land_HBarrier1_DZ","Land_HBarrier3_DZ","Land_HBarrier5_DZ","Fence_corrugated_DZ","M240Nest_DZ","CanvasHut_DZ","ParkBench_DZ","MetalGate_DZ","OutHouse_DZ","Wooden_shed_DZ","WoodShack_DZ","StorageShed_DZ","Plastic_Pole_EP1_DZ","Generator_DZ","StickFence_DZ","LightPole_DZ","FuelPump_DZ","DesertCamoNet_DZ","ForestCamoNet_DZ","DesertLargeCamoNet_DZ","ForestLargeCamoNet_DZ","SandNest_DZ","DeerStand_DZ","MetalPanel_DZ","WorkBench_DZ","WoodFloor_DZ","WoodLargeWall_DZ","WoodLargeWallDoor_DZ","WoodLargeWallWin_DZ","WoodSmallWall_DZ","WoodSmallWallWin_DZ","WoodSmallWallDoor_DZ","LockboxStorageLocked","WoodFloorHalf_DZ","WoodFloorQuarter_DZ","WoodStairs_DZ","WoodStairsSans_DZ","WoodSmallWallThird_DZ","WoodLadder_DZ","Land_DZE_GarageWoodDoor","Land_DZE_LargeWoodDoor","Land_DZE_WoodDoor","Land_DZE_GarageWoodDoorLocked","Land_DZE_LargeWoodDoorLocked","Land_DZE_WoodDoorLocked","CinderWallHalf_DZ","CinderWall_DZ","CinderWallDoorway_DZ","CinderWallDoor_DZ","CinderWallDoorLocked_DZ","CinderWallSmallDoorway_DZ","CinderWallDoorSmall_DZ","CinderWallDoorSmallLocked_DZ","MetalFloor_DZ","WoodRamp_DZ","GunRack_DZ","FireBarrel_DZ"];
|
dayz_allowedObjects = ["TentStorage","TentStorageDomed","TentStorageDomed2", "VaultStorageLocked", "Hedgehog_DZ", "Sandbag1_DZ","BagFenceRound_DZ","TrapBear","Fort_RazorWire","WoodGate_DZ","Land_HBarrier1_DZ","Land_HBarrier3_DZ","Land_HBarrier5_DZ","Fence_corrugated_DZ","M240Nest_DZ","CanvasHut_DZ","ParkBench_DZ","MetalGate_DZ","OutHouse_DZ","Wooden_shed_DZ","WoodShack_DZ","StorageShed_DZ","Plastic_Pole_EP1_DZ","Generator_DZ","StickFence_DZ","LightPole_DZ","FuelPump_DZ","DesertCamoNet_DZ","ForestCamoNet_DZ","DesertLargeCamoNet_DZ","ForestLargeCamoNet_DZ","SandNest_DZ","DeerStand_DZ","MetalPanel_DZ","WorkBench_DZ","WoodFloor_DZ","WoodLargeWall_DZ","WoodLargeWallDoor_DZ","WoodLargeWallWin_DZ","WoodSmallWall_DZ","WoodSmallWallWin_DZ","WoodSmallWallDoor_DZ","LockboxStorageLocked","WoodFloorHalf_DZ","WoodFloorQuarter_DZ","WoodStairs_DZ","WoodStairsSans_DZ","WoodSmallWallThird_DZ","WoodLadder_DZ","Land_DZE_GarageWoodDoor","Land_DZE_LargeWoodDoor","Land_DZE_WoodDoor","Land_DZE_GarageWoodDoorLocked","Land_DZE_LargeWoodDoorLocked","Land_DZE_WoodDoorLocked","CinderWallHalf_DZ","CinderWall_DZ","CinderWallDoorway_DZ","CinderWallDoor_DZ","CinderWallDoorLocked_DZ","CinderWallSmallDoorway_DZ","CinderWallDoorSmall_DZ","CinderWallDoorSmallLocked_DZ","MetalFloor_DZ","WoodRamp_DZ","GunRack_DZ","FireBarrel_DZ","WoodCrate_DZ"];
|
||||||
|
|
||||||
DZE_LockableStorage = ["VaultStorage","VaultStorageLocked","LockboxStorageLocked","LockboxStorage"];
|
DZE_LockableStorage = ["VaultStorage","VaultStorageLocked","LockboxStorageLocked","LockboxStorage"];
|
||||||
DZE_LockedStorage = ["VaultStorageLocked","LockboxStorageLocked"];
|
DZE_LockedStorage = ["VaultStorageLocked","LockboxStorageLocked"];
|
||||||
@@ -508,7 +508,7 @@ DZE_DoorsLocked = ["Land_DZE_GarageWoodDoorLocked","Land_DZE_LargeWoodDoorLocked
|
|||||||
DZE_isRemovable = ["Fence_corrugated_DZ","M240Nest_DZ","ParkBench_DZ","Plastic_Pole_EP1_DZ","FireBarrel_DZ"];
|
DZE_isRemovable = ["Fence_corrugated_DZ","M240Nest_DZ","ParkBench_DZ","Plastic_Pole_EP1_DZ","FireBarrel_DZ"];
|
||||||
DZE_isWreck = ["SKODAWreck","HMMWVWreck","UralWreck","datsun01Wreck","hiluxWreck","datsun02Wreck","UAZWreck","Land_Misc_Garb_Heap_EP1","Fort_Barricade_EP1","Rubbish2"];
|
DZE_isWreck = ["SKODAWreck","HMMWVWreck","UralWreck","datsun01Wreck","hiluxWreck","datsun02Wreck","UAZWreck","Land_Misc_Garb_Heap_EP1","Fort_Barricade_EP1","Rubbish2"];
|
||||||
DZE_isWreckBuilding = ["Land_wreck_cinder","Land_wood_wreck_quarter","Land_wood_wreck_floor","Land_wood_wreck_third","Land_wood_wreck_frame","Land_iron_vein_wreck","Land_silver_vein_wreck","Land_gold_vein_wreck","Land_ammo_supply_wreck"];
|
DZE_isWreckBuilding = ["Land_wreck_cinder","Land_wood_wreck_quarter","Land_wood_wreck_floor","Land_wood_wreck_third","Land_wood_wreck_frame","Land_iron_vein_wreck","Land_silver_vein_wreck","Land_gold_vein_wreck","Land_ammo_supply_wreck"];
|
||||||
DZE_isNewStorage = ["VaultStorage","OutHouse_DZ","Wooden_shed_DZ","WoodShack_DZ","StorageShed_DZ","GunRack_DZ"];
|
DZE_isNewStorage = ["VaultStorage","OutHouse_DZ","Wooden_shed_DZ","WoodShack_DZ","StorageShed_DZ","GunRack_DZ","WoodCrate_DZ"];
|
||||||
|
|
||||||
// These work with just a running generator
|
// These work with just a running generator
|
||||||
dayz_fuelpumparray = ["FuelPump_DZ","Land_A_FuelStation_Feed","Land_Ind_FuelStation_Feed_EP1","Land_FuelStation_Feed_PMC","FuelStation","Land_ibr_FuelStation_Feed","Land_fuelstation_army","Land_fuelstation","land_fuelstation_w","Land_benzina_schnell"];
|
dayz_fuelpumparray = ["FuelPump_DZ","Land_A_FuelStation_Feed","Land_Ind_FuelStation_Feed_EP1","Land_FuelStation_Feed_PMC","FuelStation","Land_ibr_FuelStation_Feed","Land_fuelstation_army","Land_fuelstation","land_fuelstation_w","Land_benzina_schnell"];
|
||||||
|
|||||||
@@ -5756,6 +5756,16 @@
|
|||||||
<French>Meurtres</French>
|
<French>Meurtres</French>
|
||||||
<Czech>Vražda</Czech>
|
<Czech>Vražda</Czech>
|
||||||
</Key>
|
</Key>
|
||||||
|
<Key ID="STR_EPOCH_PLAYER_304">
|
||||||
|
<Original>Craft Wood Crate</Original>
|
||||||
|
<English>Craft Wood Crate</English>
|
||||||
|
<!-- <German></German> -->
|
||||||
|
<!-- <Russian></Russian> -->
|
||||||
|
<!-- <Spanish></Spanish> -->
|
||||||
|
<!-- <Dutch></Dutch> -->
|
||||||
|
<!-- <French></French> -->
|
||||||
|
<!-- <Czech></Czech> -->
|
||||||
|
</Key>
|
||||||
<Key ID="STR_EPOCH_PLAYER_REPAIRV">
|
<Key ID="STR_EPOCH_PLAYER_REPAIRV">
|
||||||
<Original>Repair Vehicle</Original>
|
<Original>Repair Vehicle</Original>
|
||||||
<English>Repair Vehicle</English>
|
<English>Repair Vehicle</English>
|
||||||
|
|||||||
Reference in New Issue
Block a user