class WeaponFireGun;    // External class reference
class WeaponCloudsGun;  // External class reference
class WeaponFireMGun;   // External class reference
class WeaponCloudsMGun;

class CfgVehicles {

	#include "CfgVehicles\Zeds\Zeds.hpp"
	#include "CfgVehicles\Zeds\NewZeds.hpp"
	#include "CfgVehicles\Zeds\PlayerZeds.hpp"
	#include "CfgVehicles\Females\females.hpp"
	#include "CfgVehicles\antihack_logic.hpp"

	class All;
	
	class HouseBase;
	class Ruins: HouseBase {};
	#include "CfgVehicles\antihack_plants.hpp"
	#include "CfgVehicles\DZE\LockboxStorage.hpp"
	#include "CfgVehicles\DZE\VaultStorage.hpp"

	class AllVehicles;
	
	class Land;	// External class reference
	class LandVehicle : Land { 
		class NewTurret; 
		class Sounds; 
		class ViewOptics; 
		class ViewPilot; 
		class AnimationSources; 
		class EventHandlers;
		class Reflectors
		{
			class Left
			{
				color[] = {0.9,0.8,0.8,1};
				ambient[] = {0.1,0.1,0.1,1};
				position = "L svetlo";
				direction = "konec L svetla";
				hitpoint = "L svetlo";
				selection = "L svetlo";
				size = 0.5;
				brightness = 0.5;
			};
			class Right
			{
				color[] = {0.9,0.8,0.8,1};
				ambient[] = {0.1,0.1,0.1,1};
				position = "P svetlo";
				direction = "konec P svetla";
				hitpoint = "P svetlo";
				selection = "P svetlo";
				size = 0.5;
				brightness = 0.5;
			};
		};
	};
	class car: landvehicle {
		
		class Turrets
		{
			class MainTurret: NewTurret
			{
				class Turrets;
				class ViewOptics;
			};
		};
		class HitPoints
		{
		  class HitEngine;
		  class HitRGlass;
		  class HitLGlass;
		  class HitBody;
		  class HitFuel;
		  class HitLFWheel;
		  class HitRFWheel;
		  class HitLF2Wheel;
		  class HitRF2Wheel;
		  class HitLMWheel;
		  class HitRMWheel;
		  class HitLBWheel;
		  class HitRBWheel;
		  class HitGlass1;
		  class HitGlass2;
		  class HitGlass3;
		  class HitGlass4;
		};
		class Sounds : Sounds {	class Engine; class Movement;};
	};

	class Air : AllVehicles 
	{
	class NewTurret;
	class ViewPilot;
	class AnimationSources;
	};
	class Helicopter : Air 
	{
		
		class HitPoints
		{
			class HitHull
			{
				armor = 1;
				material = 51;
				name = "NEtrup";
				visual = "trup";
				passThrough = 1;
			};
			class HitEngine
			{
				armor = 0.25;
				material = 51;
				name = "motor";
				visual = "motor";
				passThrough = 1;
			};
			class HitAvionics
			{
				armor = 0.15;
				material = 51;
				name = "elektronika";
				visual = "elektronika";
				passThrough = 1;
			};
			class HitVRotor
			{
				armor = 0.3;
				material = 51;
				name = "mala vrtule";
				visual = "mala vrtule staticka";
				passThrough = 0.3;
			};
			class HitHRotor
			{
				armor = 0.2;
				material = 51;
				name = "velka vrtule";
				visual = "velka vrtule staticka";
				passThrough = 0.1;
			};
			class HitMissiles
			{
				armor = 0.1;
				material = 51;
				name = "munice";
				visual = "munice";
				passThrough = 0.5;
			};
			class HitRGlass
			{
				convexComponent = "sklo predni P";
				armor = 0.1;
				material = 51;
				name = "sklo predni P";
				visual = "sklo predni P";
				passThrough = 0;
			};
			class HitLGlass
			{
				convexComponent = "sklo predni L";
				armor = 0.1;
				material = 51;
				name = "sklo predni L";
				visual = "sklo predni L";
				passThrough = 0;
			};
			class HitGlass1
			{
				armor = 2;
				material = -1;
				name = "glass1";
				visual = "glass1";
				passThrough = 0;
			};
			class HitGlass2
			{
				armor = 2;
				material = -1;
				name = "glass2";
				visual = "glass2";
				passThrough = 0;
			};
			class HitGlass3
			{
				armor = 2;
				material = -1;
				name = "glass3";
				visual = "glass3";
				passThrough = 0;
			};
			class HitGlass4
			{
				armor = 2;
				material = -1;
				name = "glass4";
				visual = "glass4";
				passThrough = 0;
			};
			class HitGlass5
			{
				armor = 2;
				material = -1;
				name = "glass5";
				visual = "glass5";
				passThrough = 0;
			};
			class HitGlass6
			{
				armor = 2;
				material = -1;
				name = "glass6";
				visual = "glass6";
				passThrough = 0;
			};
		};


		class Turrets
        {
            class MainTurret: NewTurret
            {
                class Turrets;
				class ViewOptics;
            };
        };
	};
	
	class Mi17_base: Helicopter 
	{
		class Turrets: Turrets
		{
			class MainTurret: MainTurret
			{
				class ViewOptics: ViewOptics {};
				class Turrets: Turrets {};
			};
			class BackTurret: MainTurret
			{
				class Turrets: Turrets {};
			};
		};
	};
	
	class Mi17_DZ: Mi17_base	
	{
		displayname = "Mi-17";
		displaynameshort = "Mi17_DZ";
		scope = 2;
		side = 2;
		crew = "";
		typicalCargo[] = {};
		hiddenSelections[] = {};
		class TransportMagazines{};
		class TransportWeapons{};
		commanderCanSee = 2+16+32;
		gunnerCanSee = 2+16+32;
		driverCanSee = 2+16+32;
		transportMaxWeapons = 10;
		transportMaxMagazines = 50;
        transportmaxbackpacks = 10;
		
		class Turrets : Turrets 
		{
			class MainTurret : MainTurret 
			{
				magazines[] = {"100Rnd_762x54_PK"};
			};
			class BackTurret : BackTurret
			{
				magazines[] = {"100Rnd_762x54_PK"};
			};
		};
	};
	class Mi17_DZE: Mi17_DZ	
	{
		displaynameshort = "Mi17_DZE";
		class Turrets : Turrets 
		{
			class MainTurret : MainTurret 
			{
				magazines[] = {};
			};
			class BackTurret : BackTurret
			{
				magazines[] = {};
			};
		};
	};

	class Mi17_Civilian;
	class Mi17_Civilian_DZ: Mi17_Civilian	
	{
		displayname = "Mi-17 (Civilian)";
		displaynameshort = "Mi-17 (Civ)";
		scope = 2;
		side = 3;
		crew = "";
		typicalCargo[] = {};
		class TransportMagazines{};
		class TransportWeapons{};
		commanderCanSee = 2+16+32;
		gunnerCanSee = 2+16+32;
		driverCanSee = 2+16+32;
		transportMaxWeapons = 10;
		transportMaxMagazines = 50;
        transportmaxbackpacks = 10;
	};

	// UH1Y
	class UH1_Base: Helicopter 
	{
		class Turrets: Turrets
		{
			class MainTurret: MainTurret
			{
				class ViewOptics: ViewOptics {};
				class Turrets: Turrets {};
			};
			class RightDoorGun: MainTurret
			{
				class Turrets: Turrets {};
			};
			class CoPilotObs: MainTurret
			{
				class Turrets: Turrets {};
			};
			
		};
	};
	class UH1Y_DZ: UH1_Base
	{
		scope = 2;
		side = 2;
		crew = "";
		typicalCargo[] = {};
		hiddenSelections[] = {};
		class TransportMagazines{};
		class TransportWeapons{};
		commanderCanSee = 2+16+32;
		gunnerCanSee = 2+16+32;
		driverCanSee = 2+16+32;
		transportMaxWeapons = 5;
		transportMaxMagazines = 25;
        transportmaxbackpacks = 4;
		weapons[] = {}; 
		magazines[] = {}; 
		
		class Turrets : Turrets 
		{
			class MainTurret : MainTurret 
			{
				magazines[] = {"2000Rnd_762x51_M134"};
			};
			class RightDoorGun : RightDoorGun
			{
				magazines[] = {"2000Rnd_762x51_M134"};
			};
		};
	};
	class UH1Y_DZE: UH1Y_DZ
	{
		class Turrets : Turrets 
		{
			class MainTurret : MainTurret 
			{
				magazines[] = {};
			};
			class RightDoorGun : RightDoorGun
			{
				magazines[] = {};
			};
		};
	};
	class UH1H_base: Helicopter 
	{
		class Turrets: Turrets
		{
			class MainTurret: MainTurret
			{
				class ViewOptics: ViewOptics {};
				class Turrets: Turrets {};
			};
			class LeftDoorGun: MainTurret
			{
				class Turrets: Turrets {};
			};
		};
	};
	
	class UH1H_DZ: UH1H_base
	{
		scope = 2;
		side = 2;
		crew = "";
		typicalCargo[] = {};
		hiddenSelections[] = {};
		class TransportMagazines{};
		class TransportWeapons{};
		commanderCanSee = 2+16+32;
		gunnerCanSee = 2+16+32;
		driverCanSee = 2+16+32;
		transportMaxWeapons = 5;
		transportMaxMagazines = 25;
        transportmaxbackpacks = 4;
		
		class Turrets : Turrets 
		{
			class MainTurret : MainTurret 
			{
				magazines[] = {"100Rnd_762x51_M240"};
			};
			class LeftDoorGun : LeftDoorGun
			{
				magazines[] = {"100Rnd_762x51_M240"};
			};
		};
	};
	class UH1H_DZE: UH1H_DZ
	{
		class Turrets : Turrets 
		{
			class MainTurret : MainTurret 
			{
				magazines[] = {};
			};
			class LeftDoorGun : LeftDoorGun
			{
				magazines[] = {};
			};
		};
	};
	class AH6_Base_EP1;
	//class AH6X_EP1: AH6_Base_EP1 {};
	class AH6X_DZ: AH6_Base_EP1
	{
		displayname = "AH6X Little Bird";
		displaynameshort = "AH6X_DZ";
		audible = 6;
		enablemanualfire = 0;
		scope = 2;
		side = 2;
		crew = "";
		typicalCargo[] = {};
		hiddenselections[] = {"camo1"};
		hiddenselectionstextures[] = {"ca\air_e\ah6j\data\ah6_merge1_co.paa"};
		icon = "\ca\air_e\data\UI\Icon_ah6x_CA.paa";
		model = "\ca\air_e\ah6j\ah6x";
		picture = "\ca\air_e\data\UI\Picture_ah6x_CA.paa";
		isuav = 0;
		radartype = 0;
		class TransportMagazines{};
		class TransportWeapons{};
		weapons[] = {};
		magazines[] = {};
		commanderCanSee = 2+16+32;
		gunnerCanSee = 2+16+32;
		driverCanSee = 2+16+32;
		transportMaxWeapons = 3;
		transportMaxMagazines = 10;
        transportmaxbackpacks = 2;
		class Turrets {};
	};
	
	#include "CfgVehicles\AIR\AN2.hpp"
	#include "CfgVehicles\AIR\BAF_Merlin.hpp"
	#include "CfgVehicles\AIR\CH47.hpp"
	#include "CfgVehicles\AIR\MV22.hpp"
	#include "CfgVehicles\AIR\UH60.hpp"

	// LAND
	#include "CfgVehicles\LAND\HMMWV.hpp"
	#include "CfgVehicles\LAND\LandRover.hpp"
	#include "CfgVehicles\LAND\UAZ_MG.hpp"
	#include "CfgVehicles\LAND\Gaz_Vodnik.hpp"
	#include "CfgVehicles\LAND\ArmoredSUV.hpp"
	#include "CfgVehicles\LAND\Pickup_PK.hpp"
	#include "CfgVehicles\LAND\Offroad_DSHKM.hpp"
	
	#include "CfgVehicles\LAND\V3S.hpp"
	#include "CfgVehicles\LAND\Ural.hpp"
	#include "CfgVehicles\LAND\Kamaz.hpp"
	#include "CfgVehicles\LAND\Volha.hpp"
	#include "CfgVehicles\LAND\VWGolf.hpp"
	#include "CfgVehicles\LAND\Skoda.hpp"
	#include "CfgVehicles\LAND\datsun.hpp"	
	#include "CfgVehicles\LAND\Lada.hpp"
	#include "CfgVehicles\LAND\hilux.hpp"
	#include "CfgVehicles\LAND\UAZ.hpp"
	#include "CfgVehicles\LAND\SUV.hpp"
	#include "CfgVehicles\LAND\TT650.hpp"

	// SEA
	// #include "CfgVehicles\SEA\RHIB.hpp"
	class RubberBoat;
	class PBX: RubberBoat {
		cargoaction[] = {"PBX_Cargo01", "PBX_Cargo02", "PBX_Cargo03"};
		crew = "";
		displayname = "PBX";
		driveraction = "PBX_Driver";
		extcameraposition[] = {0, 4, -14};
		faction = "RU";
		icon = "\Ca\water\Data\map_ico\icomap_rubber_CA.paa";
		mapsize = 6;
		maxspeed = 65;
		model = "\ca\water\PBX";
		picture = "\ca\water\data\ico\pbx_CA.paa";
		scope = 2;
		side = 0;
		transportsoldier = 3;
		typicalcargo[] = {};
		class TransportMagazines {};
		class Library {
			libtextdesc = "The PBX is a Combat Rubber Craft very similar to the CRRC in design. It is intended to be used for maritime raids and infiltration, as well as riverine operations.";
		};
		class Damage {
			mat[] = {"ca\water\data\pbx_engine.rvmat", "ca\water\data\pbx_engine.rvmat", "ca\water\data\pbx_engine_destruct.rvmat", "ca\water\data\pbx_01.rvmat", "ca\water\data\pbx_01.rvmat", "ca\water\data\pbx_01_destruct.rvmat", "ca\water\data\pbx_02.rvmat", "ca\water\data\pbx_02.rvmat", "ca\water\data\pbx_02_destruct.rvmat"};
			tex[] = {};
		};
		transportMaxMagazines = 50;
        transportMaxWeapons = 5;
        transportMaxBackpacks = 1;
	};
	class MH6J_DZ: AH6_Base_EP1
	{
		scope = 2;
		side = 2;
		crew = "";
		enablemanualfire = 0;
		typicalCargo[] = {};
		displayname = "MH-6J Little Bird";
		displaynameshort = "MH6J_DZ";
		hiddenselections[] = {"camo1", "camo2"};
		transportsoldier = 5;
		hiddenselectionstextures[] = {"ca\air_e\ah6j\data\ah6_merge1_co.paa", "ca\air_e\ah6j\data\default_co.paa"};
		icon = "\ca\air_e\data\UI\Icon_mh6j_CA.paa";
		model = "\ca\air_e\ah6j\mh6j";
		picture = "\ca\air_e\data\UI\Picture_mh6j_CA.paa";
		radartype = 0;
		class TransportMagazines{};
		class TransportWeapons{};
		weapons[] = {};
		magazines[] = {};
		commanderCanSee = 2+16+32;
		gunnerCanSee = 2+16+32;
		driverCanSee = 2+16+32;
		transportMaxWeapons = 3;
		transportMaxMagazines = 20;
        transportmaxbackpacks = 5;
		class Turrets {};
	};	
	class Animal;
	class Pastor;
	class Fin;
	class DZAnimal: Animal
	{
		scope = 0;
		side = 1;
		accuracy = 0.25;
		boneHead = "head";
		bonePrimaryWeapon = "head";
		triggerAnim = "";
		picture = "";
		icon = "\Ca\animals2\data\mapicon_animals_ca.paa";
		mapSize = 10;
		weaponSlots = 0;
		fsmFormation = "";
		fsmDanger = "";
		agentTasks[] = {};
		moves = "CfgMovesAnimal";
		memoryPointHeadAxis = "head_axis";
		woman = 0;
		faceType = "Default";
		boneLEye = "l_eye";
		boneREye = "r_eye";
		boneLEyelidUp = "eye_upl";
		boneREyelidUp = "eye_upr";
		boneLEyelidDown = "eye_lwl";
		boneREyelidDown = "eye_lwr";
		boneLPupil = "l_pupila";
		boneRPupil = "r_pupila";
		memoryPointAim = "aimPoint";
		memoryPointCameraTarget = "camera";
		extCameraPosition[] = {0,0.5,-2.5};
		class EventHandlers{};
		class Wounds
		{
			tex[] = {};
			mat[] = {};
		};
		class VariablesScalar {};
		class VariablesString {};
	};
	class DZ_Pastor : Pastor {
		scope = 2;
		side = 1;
		model = "\ca\animals2\Dogs\Pastor\Pastor";
		displayName = "Alsatian";
		moves = "CfgMovesDogDZ";
		gestures = "CfgGesturesDogDZ";
		fsmDanger = "";
		fsmFormation = "";
		agentTasks[] = {};
		woman = 0;
		class EventHandlers{};
		class Wounds
		{
			tex[] = {};
			mat[] = {};
		};
		class VariablesScalar {};
		class VariablesString {};
	};
	
	class DZ_Fin : Fin {
		scope = 2;
		model = "\ca\animals2\Dogs\Fin\Fin";
		displayName = "Fin";
		moves = "CfgMovesDogDZ";
		gestures = "CfgGesturesDogDZ";
		fsmDanger = "";
		fsmFormation = "";
	};
	#include "CfgVehicles\Players.hpp"
	#include "CfgVehicles\Bags.hpp"

	class House {
		class DestructionEffects;
	};
	
	// This parent class is made to make referring to these objects easier later with allMissionObjects
	class SpawnableWreck : House {};
	class Mass_grave;
	class Mass_grave_DZ: Mass_grave
	{
		displayName = "Mass Grave W/ Zombies";
	};

	class UH1Wreck_DZ: SpawnableWreck
	{
		model = "\ca\air2\UH1Y\UH1Y_Crashed.p3d";
		icon = "\ca\air2\data\UI\icon_UH1Y_CA.paa";
		mapSize = 15;
		displayName = "Crashed UH-1Y";
		vehicleClass = "Wrecks";
	};
	class UH60Wreck_DZ: SpawnableWreck
	{
		model = "\Ca\Misc_E\Wreck_UH60_EP1.p3d";
		icon = "ca\Misc_E\data\Icons\Icon_uh60_wreck_CA";
		mapSize = 15;
		displayName = "UH-60 Wreck";
		vehicleClass = "Wrecks";
	};
	class Strategic;
	class NonStrategic;

	class Land_A_FuelStation_Feed: Strategic
	{
		model = "\ca\structures\House\A_FuelStation\A_FuelStation_Feed";
		transportFuel = 0; //50000;
		nameSound = "fuelstation";
	};

	class Land_Ind_FuelStation_Feed_EP1: Strategic
	{
		model = "\ca\Structures_E\Ind\Ind_FuelStation\Ind_FuelStation_Feed_ep1.p3d"; 
		transportFuel = 0; 
		nameSound = "fuelstation";
	};
	class FuelStation : Strategic { 
	  icon = "\Ca\buildings\Icons\i_fuel_CA.paa"; 
	  scope = 0; 
	  animated = 0; 
	  armor = 2000; 
	  displayName = "Fuel station"; 
	  accuracy = 0.5; 
	  transportFuel = 0; 
	};

	class Land_FuelStation_Feed_PMC : Strategic { 
	  model = "\ca\Structures_PMC\Ind\FuelStation\FuelStation_Feed_PMC.p3d"; 
	  transportFuel = 0; 
	  nameSound = "fuelstation"; 
	};

	// lingor
	class Land_ibr_FuelStation_Feed : Strategic { 
		model = "\ibr\lingor_fuel\ibr_FuelStation_Feed.p3d"; 
		transportFuel = 0; 
		nameSound = "fuelstation"; 
	};
	// lingor
	class Land_fuelstation_army : Strategic { 
		model = "\ibr\ibr_plants\fuelstation_army"; 
		transportFuel = 0; 
		nameSound = "fuelstation"; 
	};
	// lingor
	class Land_fuelstation : Strategic { 
		model = "\ibr\ibr_plants\fuelstation";
		transportFuel = 0; 
		nameSound = "fuelstation"; 
	};
	// Lingor hangars
	class land_ibr_hangar : House { 
		model = "\ibr\ibr_hangars\ibr_hangar"; 
		scope = 2; 
		vehicleClass = "ibr_hangars"; 
		transportFuel = 0; 
		transportRepair = 0; 
		icon = "\ibr\ibr_hangars\icons\icon5.paa"; 
		mapSize = 40; 
		displayName = "House"; 
		destrType = "DestructBuilding"; 
		armor = 1200; 
	};
	// Panthera
	class Land_benzina_schnell: Strategic
	{
		model = "\ibr\ibr_plants\benzina_schnell"; 
		transportFuel = 0; 
		nameSound = "fuelstation";
	};
	
	class Ship: AllVehicles 
	{
        displayName = "Ship";
        transportMaxMagazines = 2000;
        transportMaxWeapons = 200;
        transportMaxBackpacks = 40;
	};
    class SmallShip: Ship 
	{
        displayName = "Small Ship";
        transportMaxMagazines = 100;
        transportMaxWeapons = 20;
	};
    class BigShip: Ship 
	{
        displayName = "Big Ship";
        transportMaxMagazines = 500;
        transportMaxWeapons = 200;
	};
    class Fishing_Boat: Ship 
	{
        displayName = "Fishing boat";
		maxSpeed = 40;
        transportMaxMagazines = 400;
        transportMaxWeapons = 40;
        transportMaxBackpacks = 8;
	};
    class Smallboat_1: Ship 
	{
        displayName = "Small boat";
		maxSpeed = 30;    
		transportMaxMagazines = 200;
        transportMaxWeapons = 20;
        transportMaxBackpacks = 4;
	};
    class smallboat_2: Smallboat_1 
	{
        displayName = "Small boat II";
	};
    class Boat: Ship 
	{
        transportMaxMagazines = 100;
        transportMaxWeapons = 10;
        transportMaxBackpacks = 2;
	};
    class RHIB: Boat 
	{
        displayName = "RHIB";
	};
    class RHIB2Turret: RHIB 
	{
        displayName = "RHIB (Mk19)";
	};
	class M113Ambul_UN_EP1;
	class M113Ambul_UN_EP1_DZ: M113Ambul_UN_EP1
	{
		scope = 2;
		side = 2;
		crew = "";
		typicalCargo[] = {};
		hiddenSelections[] = {};
		class TransportMagazines{};
		class TransportWeapons{};
		commanderCanSee = 2+16+32;
		gunnerCanSee = 2+16+32;
		driverCanSee = 2+16+32;
		transportMaxWeapons = 5;
		transportMaxMagazines = 25;
        transportmaxbackpacks = 4;
	};
	class M113Ambul_TK_EP1;
	class M113Ambul_TK_EP1_DZ: M113Ambul_TK_EP1
	{
		scope = 2;
		side = 2;
		crew = "";
		typicalCargo[] = {};
		hiddenSelections[] = {};
		class TransportMagazines{};
		class TransportWeapons{};
		commanderCanSee = 2+16+32;
		gunnerCanSee = 2+16+32;
		driverCanSee = 2+16+32;
		transportMaxWeapons = 5;
		transportMaxMagazines = 25;
        transportmaxbackpacks = 4;
	};
	class KamazRefuel;
	class KamazRefuel_DZ: KamazRefuel
	{
		scope = 2;
		side = 2;
		crew = "";
		typicalCargo[] = {};
		hiddenSelections[] = {};
		class TransportMagazines{};
		class TransportWeapons{};
		transportFuel = 0;
		fuelCapacity = 10000;
	};
	class UralRefuel_TK_EP1;
	class UralRefuel_TK_EP1_DZ: UralRefuel_TK_EP1
	{
		scope = 2;
		side = 2;
		crew = "";
		typicalCargo[] = {};
		hiddenSelections[] = {};
		class TransportMagazines{};
		class TransportWeapons{};
		transportFuel = 0;
		fuelCapacity = 10000;
	};
	class MtvrRefuel_DES_EP1;
	class MtvrRefuel_DES_EP1_DZ: MtvrRefuel_DES_EP1
	{
		scope = 2;
		side = 2;
		crew = "";
		typicalCargo[] = {};
		hiddenSelections[] = {};
		class TransportMagazines{};
		class TransportWeapons{};
		transportFuel = 0;
		fuelCapacity = 10000;
	};
	class MtvrRefuel;
	class MtvrRefuel_DZ: MtvrRefuel
	{
		scope = 2;
		side = 2;
		crew = "";
		typicalCargo[] = {};
		hiddenSelections[] = {};
		class TransportMagazines{};
		class TransportWeapons{};
		transportFuel = 0;
		fuelCapacity = 10000;
	};
	class V3S_Refuel_TK_GUE_EP1;
	class V3S_Refuel_TK_GUE_EP1_DZ: V3S_Refuel_TK_GUE_EP1
	{
		scope = 2;
		side = 2;
		crew = "";
		typicalCargo[] = {};
		hiddenSelections[] = {};
		class TransportMagazines{};
		class TransportWeapons{};
		transportFuel = 0;
		fuelCapacity = 10000;
	};
	
	//class NonStrategic;
	class BuiltItems: NonStrategic{};
	class ModularItems: NonStrategic{

		placement = "vertical";
	
		class DestructionEffects {
			class Sound {
				simulation = "sound";
				type = "DestrHouse";
				position = "destructionEffect1";
				intensity = 1;
				interval = 1;
				lifeTime = 0.05;
			};

			class DestroyPhase1 {
				simulation = "destroy";
				type = "DelayedDestruction";
				lifeTime = 2.5;
				position = "";
				intensity = 1;
				interval = 1;
			};

			class DamageAround1 {
				simulation = "damageAround";
				type = "DamageAroundHouse";
				position = "";
				intensity = 0.1;
				interval = 1;
				lifeTime = 1;
			};
		};
	};
	class MiningItems: NonStrategic{
		class DestructionEffects {
			class Sound {
				simulation = "sound";
				type = "DestrMine";
				position = "destructionEffect1";
				intensity = 1;
				interval = 1;
				lifeTime = 0.05;
			};

			class DestroyPhase1 {
				simulation = "destroy";
				type = "DelayedDestruction";
				lifeTime = 2.5;
				position = "";
				intensity = 1;
				interval = 1;
			};

			class DamageAround1 {
				simulation = "damageAround";
				type = "DamageAroundHouse";
				position = "";
				intensity = 0.1;
				interval = 1;
				lifeTime = 1;
			};
		};
	};
	class DebugBox_DZ: NonStrategic
	{
		placement = "vertical";
		scope = 2;
		destrType = "DestructNo";
		cost = 100;
		model = "\z\addons\dayz_epoch\models\debug_box.p3d";
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 2000;
		displayName = "Debug Box";
		vehicleClass = "Fortifications";		
	};
	class DebugBoxPlayer_DZ: NonStrategic
	{
		placement = "vertical";
		scope = 2;
		destrType = "DestructNo";
		cost = 100;
		model = "\z\addons\dayz_epoch\models\player_box.p3d";
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 2000;
		displayName = "Player Debug Box";
		vehicleClass = "Fortifications";		
		class Eventhandlers
		{
			init = "_this call eh_localCleanup;";
		};
	};

	class TrapItems: NonStrategic{};
	// buildables
	class Hedgehog_DZ: BuiltItems
	{
		scope = 2;
		destrType = "DestructNo";
		cost = 100;
		offset[] = {0,1.5,0.55};
		model = "\ca\misc\jezek_kov";
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 400;
		displayName = "Hedgehog (Steel)";
		vehicleClass = "Fortifications";
		constructioncount = 1;
		removeoutput[] = {{"ItemTankTrap",1}};
		nounderground = 0;
	};
	// WorkBench_DZ
	class WorkBench_DZ: BuiltItems
	{
		scope = 2;
		destrType = "DestructTree";
		cost = 100;
		offset[] = {0,1.5,0};
		model = "\z\addons\dayz_epoch\models\workbench.p3d";
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 400;
		displayName = "Workbench";
		vehicleClass = "Fortifications";
		maintainBuilding[] = {{"PartWoodLumber",1}};
		constructioncount = 1;
		removeoutput[] = {{"PartWoodPlywood",1},{"PartWoodLumber",2}};
		requireplot = 0;
		nounderground = 0;
	};

	// belt buckle
	class Helper_Base_EP1;
	class BeltBuckle_DZE : Helper_Base_EP1 { 
		scope = 2; 
		model = "\z\addons\dayz_epoch\models\skull.p3d"; 
		displayName = "Belt Buckle"; 
		accuracy = 1000; 
		hiddenSelections[] = {"camo1"}; 
		hiddenSelectionsTextures[] = {"#(argb,8,8,3)color(1,0.5,0.5,0.5,ca)"};
	};

	// Metal Panel
	class MetalPanel_DZ: BuiltItems
	{
		scope = 2;
		destrType = "DestructTree";
		cost = 100;
		offset[] = {0,2.5,0.5};
		model = "\ca\structures\wall\wall_indcnc2_3.p3d";
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 4000;
		displayName = "Metal Panel";
		vehicleClass = "Fortifications";
		constructioncount = 6;
		removeoutput[] = {{"metal_panel_kit",1}};
	};
	class Generator_DZ: BuiltItems
	{
		scope = 2;
		destrType = "DestructNo";
		cost = 100;
		offset[] = {0,1.5,0};
		model = "\dayz_equip\models\generator.p3d";
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 400;
		displayName = "Generator";
		vehicleClass = "Fortifications";
		constructioncount = 1;
		removeoutput[] = {{"ItemGenerator",1}};
		requireplot = 0;
		nounderground = 0;
	};
	class FuelPump_DZ: BuiltItems
	{
		scope = 2;
		destrType = "DestructNo";
		cost = 100;
		offset[] = {0,2,0};
		model = "\ca\Structures_E\Ind\Ind_FuelStation\Ind_FuelStation_Feed_ep1.p3d"; 
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 400;
		displayName = "Fuel Pump";
		vehicleClass = "Fortifications";
		constructioncount = 2;
		removeoutput[] = {{"ItemFuelPump",1}};
		requireplot = 0;
		nounderground = 0;
	};

	class Fort_RazorWire : BuiltItems { 
	  scope = 2; 
	  animated = 0; 
	  vehicleClass = "Fortifications"; 
	  model = "\ca\misc\Fort_Razorwire"; 
	  icon = "\Ca\misc\data\icons\I_drutkolczasty_CA.paa"; 
	  offset[] = {0,1.5,0.5};
	  accuracy = 0.3; 
	  mapSize = 5.5; 
	  displayName = "Wire"; 
	  destrType = "DestructTent"; 
	  armor = 100; 
	  GhostPreview = "Fort_RazorWirePreview"; 
	  nounderground = 0;
	};

	class Sandbag1_DZ: BuiltItems
	{
		scope = 2;
		destrType = "DestructNo";
		cost = 100;
		model = "\ca\misc2\BagFenceLong.p3d";
		icon = "\Ca\misc3\data\Icons\icon_fortBagFenceLong_ca.paa";
		offset[] = {0,1.5,0.5};
		mapSize = 2;
		armor = 400;
		displayName = "Bag Fence";
		vehicleClass = "Fortifications";
		constructioncount = 3;
		removeoutput[] = {{"ItemSandbag",1}};
		nounderground = 0;
	};
	//review some of these settings
	class BagFenceRound_DZ: BuiltItems
	{
		scope = 2;
		destrType = "DestructNo";
		cost = 100;
		model = "\ca\misc2\BagFenceRound.p3d";
		icon = "\Ca\misc3\data\Icons\icon_bagFenceRound_ca.paa";
		offset[] = {0,1.5,0.5};
		mapSize = 2;
		armor = 400;
		displayName = "Bag fence (Round)";
		vehicleClass = "Fortifications";
		constructioncount = 3;
		removeoutput[] = {{"ItemSandbag",1}};
		nounderground = 0;
	};
	
	class Land_HBarrier1_DZ : BuiltItems { 
		scope = 2; 
		animated = 0; 
		vehicleClass = "Fortifications"; 
		typicalCargo[] = {}; 
		offset[] = {0,2,0};
		irTarget = 0; 
		accuracy = 0.3; 
		transportAmmo = 0; 
		transportRepair = 0; 
		transportFuel = 0; 
		destrType = "DestructBuilding"; 
		armor = 500; 
		coefInside = 0.5; 
		coefInsideHeur = 0.8; 
		cost = 0; 
		picture = "\CA\ui\data\icon_wf_barriers_ca.paa"; 
		model = "\ca\misc2\HBarrier1.p3d"; 
		icon = "\Ca\misc2\data\Icons\icon_hescoBarrier1_ca.paa"; 
		mapSize = 2; 
		displayName = "H-barrier cube"; 
		GhostPreview = "Land_HBarrier1Preview"; 
		constructioncount = 4;
		removeoutput[] = {{"ItemSandbagLarge",1}};
		nounderground = 0;
	};
	class Land_HBarrier3_DZ : BuiltItems { 
		model = "\ca\misc2\HBarrier3.p3d"; 
		icon = "\Ca\misc2\data\Icons\icon_hescoBarrier3_ca.paa"; 
		mapSize = 3.5; 
		displayName = "H-barrier (short)"; 
		GhostPreview = "Land_HBarrier3ePreview"; 
		scope = 2; 
		animated = 0; 
		vehicleClass = "Fortifications"; 
		typicalCargo[] = {}; 
		irTarget = 0; 
		accuracy = 0.3; 
		transportAmmo = 0; 
		transportRepair = 0; 
		transportFuel = 0; 
		destrType = "DestructBuilding"; 
		armor = 500; 
		coefInside = 0.5; 
		coefInsideHeur = 0.8; 
		cost = 0; 
		picture = "\CA\ui\data\icon_wf_barriers_ca.paa";
		offset[] = {0,2.5,0};
		constructioncount = 8;
		removeoutput[] = {{"ItemSandbagExLarge",1}};
		nounderground = 0;
	};
	
	class Land_HBarrier5_DZ:BuiltItems {
		model = "\ca\misc2\HBarrier5.p3d"; 
		icon = "\Ca\misc2\data\Icons\icon_hescoBarrier5_ca.paa"; 
		mapSize = 7; 
		displayName = "H-barrier (long)"; 
		GhostPreview = "Land_HBarrier5Preview"; 
		scope = 2; 
		animated = 0; 
		vehicleClass = "Fortifications"; 
		typicalCargo[] = {}; 
		irTarget = 0; 
		accuracy = 0.3; 
		transportAmmo = 0; 			
		transportRepair = 0; 
		transportFuel = 0; 
		destrType = "DestructBuilding"; 
		armor = 500; 
		coefInside = 0.5; 
		coefInsideHeur = 0.8; 
		cost = 0; 
		picture = "\CA\ui\data\icon_wf_barriers_ca.paa";
		offset[] = {0,2.5,0};
		constructioncount = 8;
		removeoutput[] = {{"ItemSandbagExLarge5x",1}};
		nounderground = 0;
        };
        
	class SandNest_DZ : BuiltItems { 
		scope = 2; 
		model = "\ca\Misc_E\fortified_nest_small_ep1"; 
		displayName = "Sandbag Nest";
		expansion = 1; 
		icon = "\Ca\misc3\data\Icons\icon_fortNestSmall_ca.paa"; 
		mapSize = 5; 
		armor = 500; 
		irTarget = 0; 
		vehicleClass = "Fortifications"; 
		GhostPreview = "Land_fortified_nest_smallPreview"; 
		animated = 0; 
		simulation = "house"; 
		accuracy = 0.2; 
		cost = 0; 
		ladders[] = {}; 
		TextPlural = "Houses"; 
		TextSingular = "House"; 
		nameSound = "obj_house"; 
		offset[] = {0,3,1};
		removeoutput[] = {{"sandbag_nest_kit",1}};
		nounderground = 0;
	};

	class Supply_Crate_DZE: MiningItems
	{
		scope = 2;
		destrType = "DestructBuilding";
		cost = 100;
		
		model="\z\addons\dayz_epoch\models\ammo_supply.p3d";
		icon = "\ca\data\data\Unknown_object.paa";

		mapSize = 2;
		armor = 40;
		displayName = "Supply Crate";

		vehicleClass = "Fortifications";
		
		class DestructionEffects : DestructionEffects
		{
			class Ruin1
			{
			simulation = "ruin";
			type = "\z\addons\dayz_epoch\models\ammo_supply_wreck.p3d";
			position = "";
			intensity = 1;
			interval = 1;
			lifeTime = 1;
			};
		};
	};

	// mining
	class Gold_Vein_DZE: MiningItems
	{
		scope = 2;
		destrType = "DestructBuilding";
		cost = 100;
		
		model="\z\addons\dayz_epoch\models\gold_vein.p3d";
		icon = "\ca\data\data\Unknown_object.paa";

		mapSize = 2;
		armor = 70;
		displayName = "Rock with Gold";

		vehicleClass = "Fortifications";
		
		class DestructionEffects : DestructionEffects
		{
			class Ruin1
			{
			simulation = "ruin";
			type = "\z\addons\dayz_epoch\models\gold_vein_wreck.p3d";
			position = "";
			intensity = 1;
			interval = 1;
			lifeTime = 1;
			};
		};
	};
	class Silver_Vein_DZE: MiningItems
	{
		scope = 2;
		destrType = "DestructBuilding";
		cost = 100;
		
		model="\z\addons\dayz_epoch\models\silver_vein.p3d";
		icon = "\ca\data\data\Unknown_object.paa";

		mapSize = 2;
		armor = 60;
		displayName = "Rock with Silver";

		vehicleClass = "Fortifications";
		
		class DestructionEffects : DestructionEffects
		{
			class Ruin1
			{
			simulation = "ruin";
			type = "\z\addons\dayz_epoch\models\silver_vein_wreck.p3d";
			position = "";
			intensity = 1;
			interval = 1;
			lifeTime = 1;
			};
		};
	};
	class Iron_Vein_DZE: MiningItems
	{
		scope = 2;
		destrType = "DestructBuilding";
		cost = 100;
		
		model="\z\addons\dayz_epoch\models\iron_vein.p3d";
		icon = "\ca\data\data\Unknown_object.paa";

		mapSize = 2;
		armor = 50;
		displayName = "Rock with Iron";

		vehicleClass = "Fortifications";
		
		class DestructionEffects : DestructionEffects
		{
			class Ruin1
			{
			simulation = "ruin";
			type = "\z\addons\dayz_epoch\models\iron_vein_wreck.p3d";
			position = "";
			intensity = 1;
			interval = 1;
			lifeTime = 1;
			};
		};
	};
	class Land_Fire_barrel;
	class FireBarrel_DZ:Land_Fire_barrel
	{
		scope = 2;
		// destrType = "DestructNo";
		cost = 100;
		offset[] = {0,2,0.5};
		//model = "\z\addons\dayz_epoch\models\oil_drum_model.p3d"; 
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 400;
		displayName = "Fire Barrel";
		vehicleClass = "Fortifications";
		constructioncount = 2;
		removeoutput[] = {{"ItemFuelBarrelEmpty",1}};
		nounderground = 0;
		/*class EventHandlers
			{
				init = "(_this select 0) inflame 1";
			};*/
	};
	class Gunrack1;
	class GunRack_DZ: Gunrack1
    {
		armor = 200;
		scope = 2;
		displayName = "Gun Rack";
		vehicleClass = "Fortifications";
		transportMaxWeapons = 20;
		transportMaxMagazines = 10;
		transportMaxBackpacks = 0;
		offset[] = {0,2.5,0.5};
		removeoutput[] = {{"ItemGunRackKit",1}};
		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
	class MetalFloor_DZ: ModularItems
	{
		scope = 2;
		destrType = "DestructBuilding";
		cost = 100;
		offset[] = {0,4,0};
		model="\z\addons\dayz_epoch\models\metal_floor.p3d";
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 3000;
		displayName = "Metal Floor";
		vehicleClass = "Fortifications";
		GhostPreview = "MetalFloor_Preview_DZ";
		class DestructionEffects : DestructionEffects
		{
			class Ruin1
			{
			simulation = "ruin";
			type = "\z\addons\dayz_epoch\models\wreck_metal_floor.p3d";
			position = "";
			intensity = 1;
			interval = 1;
			lifeTime = 1;
			};
		};
	};
	class WoodRamp_DZ: ModularItems
	{
		scope = 2;
		destrType = "DestructBuilding";
		cost = 100;
		offset[] = {0,4,0};
		model="\z\addons\dayz_epoch\models\Wood_Ramp.p3d";
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 2000;
		displayName = "Wood Ramp";
		vehicleClass = "Fortifications";
		GhostPreview = "WoodRamp_Preview_DZ";
	};
	class CinderWallHalf_DZ: ModularItems
	{
		scope = 2;
		destrType = "DestructBuilding";
		cost = 100;
		offset[] = {0,1.5,0};
		model="\z\addons\dayz_epoch\models\cinder_wall_half.p3d";
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 2200;
		displayName = "Half Cinder Block Wall";
		vehicleClass = "Fortifications";
		upgradeBuilding[] = {"CinderWall_DZ",{{"CinderBlocks",4},{"MortarBucket",1}}};
		maintainBuilding[] = {{"MortarBucket",1}};
		GhostPreview = "CinderWallHalf_Preview_DZ";
		class DestructionEffects : DestructionEffects
		{
			class Ruin1
			{
			simulation = "ruin";
			type = "\z\addons\dayz_epoch\models\wreck_cinder.p3d"; /* path to the object*/
				/* Warning, if you use a custom rubble model, it has to be defined in the cfgvehicles (see below)*/
			position = "";
			intensity = 1;
			interval = 1;
			lifeTime = 1;
			};
		};
	};
	class CinderWall_DZ: ModularItems
	{
		scope = 2;
		destrType = "DestructBuilding";
		cost = 100;
		offset[] = {0,1.5,0};
		model="\z\addons\dayz_epoch\models\cinder_wall_full.p3d";
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 3400;
		displayName = "Cinder Block Wall";
		vehicleClass = "Fortifications";
		maintainBuilding[] = {{"MortarBucket",1}};
		GhostPreview = "CinderWall_Preview_DZ";
		class DestructionEffects : DestructionEffects
		{
			class Ruin1
			{
			simulation = "ruin";
			type = "\z\addons\dayz_epoch\models\wreck_cinder.p3d"; /* path to the object*/
				/* Warning, if you use a custom rubble model, it has to be defined in the cfgvehicles (see below)*/
			position = "";
			intensity = 1;
			interval = 1;
			lifeTime = 1;
			};
		};
	};

	class CinderWallDoorway_DZ: ModularItems
	{
		scope = 2;
		destrType = "DestructBuilding";
		cost = 100;
		offset[] = {0,2,0};
		model="\z\addons\dayz_epoch\models\steel_garage_frame.p3d";
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 3400;
		displayName = "Block Garage Doorway";
		vehicleClass = "Fortifications";
		maintainBuilding[] = {{"MortarBucket",1}};
		upgradeBuilding[] = {"CinderWallDoor_DZ",{{"ItemPole",3},{"ItemTankTrap",3}}};
		GhostPreview = "CinderWallDoorway_Preview_DZ";
		class DestructionEffects : DestructionEffects
		{
			class Ruin1
			{
			simulation = "ruin";
			type = "\z\addons\dayz_epoch\models\wreck_cinder.p3d"; /* path to the object*/
				/* Warning, if you use a custom rubble model, it has to be defined in the cfgvehicles (see below)*/
			position = "";
			intensity = 1;
			interval = 1;
			lifeTime = 1;
			};
		};
	};	
	
	class CinderWallSmallDoorway_DZ: ModularItems
	{
		scope = 2;
		destrType = "DestructBuilding";
		cost = 100;
		offset[] = {0,2,0};
		model="\z\addons\dayz_epoch\models\Steel_door_frame.p3d";
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 3400;
		displayName = "Block Doorway";
		vehicleClass = "Fortifications";
		maintainBuilding[] = {{"MortarBucket",1}};
		upgradeBuilding[] = {"CinderWallDoorSmall_DZ",{{"ItemPole",1},{"ItemTankTrap",1}}};
		GhostPreview = "CinderWallSmallDoorway_Preview_DZ";
		class DestructionEffects : DestructionEffects
		{
			class Ruin1
			{
			simulation = "ruin";
			type = "\z\addons\dayz_epoch\models\wreck_cinder.p3d"; /* path to the object*/
				/* Warning, if you use a custom rubble model, it has to be defined in the cfgvehicles (see below)*/
			position = "";
			intensity = 1;
			interval = 1;
			lifeTime = 1;
			};
		};
	};	

	class WoodFloor_DZ: ModularItems
	{
		scope = 2;
		destrType = "DestructBuilding";
		cost = 100;
		offset[] = {0,4,0};
		model="\z\addons\dayz_epoch\models\Wood_Floor.p3d";
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 2000;
		displayName = "Wood Floor";
		vehicleClass = "Fortifications";
		maintainBuilding[] = {{"PartWoodLumber",4}};
		GhostPreview = "WoodFloor_Preview_DZ";
		class DestructionEffects : DestructionEffects
		{
			class Ruin1
			{
			simulation = "ruin";
			type = "\z\addons\dayz_epoch\models\wood_wreck_floor.p3d"; /* path to the object*/
				/* Warning, if you use a custom rubble model, it has to be defined in the cfgvehicles (see below)*/
			position = "";
			intensity = 1;
			interval = 1;
			lifeTime = 1;
			};
		};
	};
	class WoodFloorHalf_DZ: ModularItems
	{
		scope = 2;
		destrType = "DestructBuilding";
		cost = 100;
		offset[] = {0,4,0};
		model="\z\addons\dayz_epoch\models\half_floor.p3d";
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 1000;
		displayName = "Wood Floor 1/2";
		vehicleClass = "Fortifications";
		maintainBuilding[] = {{"PartWoodLumber",2}};
		constructioncount = 2;
		GhostPreview = "WoodFloorHalf_Preview_DZ";
		class DestructionEffects : DestructionEffects
		{
			class Ruin1
			{
			simulation = "ruin";
			type = "\z\addons\dayz_epoch\models\wood_wreck_half.p3d"; /* path to the object*/
				/* Warning, if you use a custom rubble model, it has to be defined in the cfgvehicles (see below)*/
			position = "";
			intensity = 1;
			interval = 1;
			lifeTime = 1;
			};
		};
	};
	class WoodFloorQuarter_DZ: ModularItems
	{
		scope = 2;
		destrType = "DestructBuilding";
		cost = 100;
		offset[] = {0,4,0};
		model="\z\addons\dayz_epoch\models\quarter_floor.p3d";
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 600;
		displayName = "Wood Floor 1/4";
		vehicleClass = "Fortifications";
		maintainBuilding[] = {{"PartWoodLumber",1}};
		constructioncount = 1;
		GhostPreview = "WoodFloorQuarter_Preview_DZ";
		class DestructionEffects : DestructionEffects
		{
			class Ruin1
			{
			simulation = "ruin";
			type = "\z\addons\dayz_epoch\models\wood_wreck_quarter.p3d"; /* path to the object*/
				/* Warning, if you use a custom rubble model, it has to be defined in the cfgvehicles (see below)*/
			position = "";
			intensity = 1;
			interval = 1;
			lifeTime = 1;
			};
		};
	};

	class WoodLargeWall_DZ: ModularItems
	{
		scope = 2;
		destrType = "DestructBuilding";
		cost = 100;
		offset[] = {0,1.5,0};
		model="\z\addons\dayz_epoch\models\large_wall.p3d";
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 2200;
		displayName = "Large Wall";
		vehicleClass = "Fortifications";
		upgradeBuilding[] = {"WoodLargeWallWin_DZ",{{"PartGlass",1}}};
		maintainBuilding[] = {{"PartWoodPlywood",1},{"PartWoodLumber",1}};
		GhostPreview = "WoodLargeWall_Preview_DZ"; 
		class DestructionEffects : DestructionEffects
		{
			class Ruin1
			{
			simulation = "ruin";
			type = "\z\addons\dayz_epoch\models\wood_wreck_frame.p3d";
			position = "";
			intensity = 1;
			interval = 1;
			lifeTime = 1;
			};
		};
	};
	
	class WoodLargeWallDoor_DZ: ModularItems
	{
		scope = 2;
		destrType = "DestructBuilding";
		cost = 100;
		offset[] = {0,1.5,0};
		model="\z\addons\dayz_epoch\models\large_wall_door.p3d";
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 2200;
		displayName = "Large Wall Doorway";
		vehicleClass = "Fortifications";
		maintainBuilding[] = {{"PartWoodPlywood",1},{"PartWoodLumber",1}};
		upgradeBuilding[] = {"Land_DZE_LargeWoodDoor",{{"PartWoodPlywood",1},{"PartWoodLumber",1}}};
		GhostPreview = "WoodLargeWallDoor_Preview_DZ";
		class DestructionEffects : DestructionEffects
		{
			class Ruin1
			{
			simulation = "ruin";
			type = "\z\addons\dayz_epoch\models\wood_wreck_frame.p3d";
			position = "";
			intensity = 1;
			interval = 1;
			lifeTime = 1;
			};
		};
	};
	class WoodLargeWallWin_DZ: ModularItems
	{
		scope = 2;
		destrType = "DestructBuilding";
		cost = 100;
		offset[] = {0,1.5,0};
		model="\z\addons\dayz_epoch\models\large_wall_win.p3d";
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 2200;
		displayName = "Large Wall Window";
		vehicleClass = "Fortifications";
		maintainBuilding[] = {{"PartWoodPlywood",1},{"PartWoodLumber",1}};
		GhostPreview = "WoodLargeWallWin_Preview_DZ"; 
		class DestructionEffects : DestructionEffects
		{
			class Ruin1
			{
			simulation = "ruin";
			type = "\z\addons\dayz_epoch\models\wood_wreck_frame.p3d";
			position = "";
			intensity = 1;
			interval = 1;
			lifeTime = 1;
			};
		};
	};
	
	class WoodSmallWall_DZ: ModularItems
	{
		scope = 2;
		destrType = "DestructBuilding";
		cost = 100;
		offset[] = {0,1.5,0};
		model="\z\addons\dayz_epoch\models\small_wall.p3d";
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 2000;
		displayName = "Small Wall";
		vehicleClass = "Fortifications";
		maintainBuilding[] = {{"PartWoodPlywood",1},{"PartWoodLumber",1}};
		upgradeBuilding[] = {"WoodSmallWallWin_DZ",{{"PartGlass",1}}};
		GhostPreview = "WoodSmallWall_Preview_DZ"; 
		class DestructionEffects : DestructionEffects
		{
			class Ruin1
			{
			simulation = "ruin";
			type = "\z\addons\dayz_epoch\models\wood_wreck_frame.p3d";
			position = "";
			intensity = 1;
			interval = 1;
			lifeTime = 1;
			};
		};
	};
	class WoodSmallWallThird_DZ: ModularItems
	{
		scope = 2;
		destrType = "DestructBuilding";
		cost = 100;
		offset[] = {0,1.5,0};
		model="\z\addons\dayz_epoch\models\third_wall.p3d";
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 600;
		displayName = "Wood Wall 1/3";
		vehicleClass = "Fortifications";
		maintainBuilding[] = {{"PartWoodLumber",1}};
		constructioncount = 1;
		GhostPreview = "WoodSmallWallThird_Preview_DZ";
		class DestructionEffects : DestructionEffects
		{
			class Ruin1
			{
			simulation = "ruin";
			type = "\z\addons\dayz_epoch\models\wood_wreck_third.p3d";
			position = "";
			intensity = 1;
			interval = 1;
			lifeTime = 1;
			};
		};
	};
	class WoodSmallWallWin_DZ: ModularItems
	{
		scope = 2;
		destrType = "DestructBuilding";
		cost = 100;
		offset[] = {0,1.5,0};
		model="\z\addons\dayz_epoch\models\small_wall_win.p3d";
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 2000;
		displayName = "Small Wall Window";
		vehicleClass = "Fortifications";
		maintainBuilding[] = {{"PartWoodPlywood",1},{"PartWoodLumber",1}};
		GhostPreview = "WoodSmallWallWin_Preview_DZ";
		class DestructionEffects : DestructionEffects
		{
			class Ruin1
			{
			simulation = "ruin";
			type = "\z\addons\dayz_epoch\models\wood_wreck_frame.p3d";
			position = "";
			intensity = 1;
			interval = 1;
			lifeTime = 1;
			};
		};
	};
	class WoodSmallWallDoor_DZ: ModularItems
	{
		scope = 2;
		destrType = "DestructBuilding";
		cost = 100;
		offset[] = {0,1.5,0};
		model="\z\addons\dayz_epoch\models\small_wall_door.p3d";
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 2000;
		displayName = "Small Wall Door";
		vehicleClass = "Fortifications";
		upgradeBuilding[] = {"Land_DZE_WoodDoor",{{"PartWoodPlywood",1},{"PartWoodLumber",1}}};
		maintainBuilding[] = {{"PartWoodPlywood",1},{"PartWoodLumber",1}};
		GhostPreview = "WoodSmallWallDoor_Preview_DZ"; 
		class DestructionEffects : DestructionEffects
		{
			class Ruin1
			{
			simulation = "ruin";
			type = "\z\addons\dayz_epoch\models\wood_wreck_frame.p3d"; /* path to the object*/
				/* Warning, if you use a custom rubble model, it has to be defined in the cfgvehicles (see below)*/
			position = "";
			intensity = 1;
			interval = 1;
			lifeTime = 1;
			};
		};
	};
	class WoodStairs_DZ: ModularItems
	{
		scope = 2;
		destrType = "DestructBuilding";
		cost = 100;
		offset[] = {0,1.5,0};
		model="\z\addons\dayz_epoch\models\wood_stairs.p3d";
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 600;
		displayName = "Wood Stairs";
		vehicleClass = "Fortifications";
		maintainBuilding[] = {{"PartWoodLumber",1}};
		GhostPreview = "WoodStairs_Preview_DZ"; 
	};	
	class WoodLadder_DZ: ModularItems
	{
		scope = 2;
		destrType = "DestructBuilding";
		cost = 100;
		offset[] = {0,1.5,0};
		model="\z\addons\dayz_epoch\models\wood_ladder.p3d";
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 300;
		displayName = "Wood Ladder";
		vehicleClass = "Fortifications";
		maintainBuilding[] = {{"PartWoodLumber",1}};
		GhostPreview = "WoodLadder_Preview_DZ"; 
		ladders[] = {{"start1","end1"}};
	};
	
	class WoodStairsSans_DZ: ModularItems
	{
		scope = 2;
		destrType = "DestructBuilding";
		cost = 100;
		offset[] = {0,1.5,0};
		model="\z\addons\dayz_epoch\models\wood_stairs_sans.p3d";
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 500;
		displayName = "Wood Stairs Sans";
		vehicleClass = "Fortifications";
		maintainBuilding[] = {{"PartWoodLumber",1}};
		upgradeBuilding[] = {"WoodStairs_DZ",{{"PartWoodLumber",2}}};
		GhostPreview = "WoodStairsSans_Preview_DZ"; 
	};

	// ghost models
	class CinderWallSmallDoorway_Preview_DZ: NonStrategic
	{
		scope = 2;
		destrType = "DestructNo";
		cost = 100;
		offset[] = {0,1.5,0};
		model="\z\addons\dayz_epoch\models\Steel_door_frame_ghost.p3d"; // todo change this 
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 1000;
		displayName = "Block Doorway Preview";
		vehicleClass = "Fortifications";
	};
	class CinderWallDoorway_Preview_DZ: NonStrategic
	{
		scope = 2;
		destrType = "DestructNo";
		cost = 100;
		offset[] = {0,1.5,0};
		model="\z\addons\dayz_epoch\models\steel_garage_frame_ghost.p3d";
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 1000;
		displayName = "Block Garage Doorway Preview";
		vehicleClass = "Fortifications";
	};
	class MetalFloor_Preview_DZ: NonStrategic
	{
		scope = 2;
		destrType = "DestructNo";
		cost = 100;
		offset[] = {0,1.5,0};
		model="\z\addons\dayz_epoch\models\metal_floor_ghost.p3d";
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 1000;
		displayName = "Metal Floor Preview";
		vehicleClass = "Fortifications";
	};
	class WoodRamp_Preview_DZ: NonStrategic
	{
		scope = 2;
		destrType = "DestructNo";
		cost = 100;
		offset[] = {0,1.5,0};
		model="\z\addons\dayz_epoch\models\Wood_Ramp_ghost.p3d";
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 1000;
		displayName = "Wood Ramp Preview";
		vehicleClass = "Fortifications";
		
	};
	class CinderWallHalf_Preview_DZ: NonStrategic
	{
		scope = 2;
		destrType = "DestructNo";
		cost = 100;
		offset[] = {0,1.5,0};
		model="\z\addons\dayz_epoch\models\cinder_wall_half_ghost.p3d";
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 1000;
		displayName = "Cinder Block Wall 1/2 Preview";
		vehicleClass = "Fortifications";
	};
	class CinderWall_Preview_DZ: NonStrategic
	{
		scope = 2;
		destrType = "DestructNo";
		cost = 100;
		offset[] = {0,1.5,0};
		model="\z\addons\dayz_epoch\models\cinder_wall_full_ghost.p3d";
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 1000;
		displayName = "Cinder Block Wall Preview";
		vehicleClass = "Fortifications";
	};


	class WoodFloorQuarter_Preview_DZ: NonStrategic
	{
		scope = 2;
		destrType = "DestructNo";
		cost = 100;
		offset[] = {0,1.5,0};
		model="\z\addons\dayz_epoch\models\quarter_floor_ghost.p3d";
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 1000;
		displayName = "Floor 1/4 Preview";
		vehicleClass = "Fortifications";
	};
	class WoodFloorHalf_Preview_DZ: NonStrategic
	{
		scope = 2;
		destrType = "DestructNo";
		cost = 100;
		offset[] = {0,1.5,0};
		model="\z\addons\dayz_epoch\models\half_floor_ghost.p3d";
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 1000;
		displayName = "Floor 1/2 Preview";
		vehicleClass = "Fortifications";
	};
	class WoodSmallWall_Preview_DZ: NonStrategic
	{
		scope = 2;
		destrType = "DestructNo";
		cost = 100;
		offset[] = {0,1.5,0};
		model="\z\addons\dayz_epoch\models\small_wall_ghost.p3d";
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 1000;
		displayName = "Small Wall Preview";
		vehicleClass = "Fortifications";
	};
	class WoodSmallWallThird_Preview_DZ: NonStrategic
	{
		scope = 2;
		destrType = "DestructNo";
		cost = 100;
		offset[] = {0,1.5,0};
		model="\z\addons\dayz_epoch\models\third_wall_ghost.p3d";
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 1000;
		displayName = "Small Wall Preview 1/3";
		vehicleClass = "Fortifications";
	};
	class WoodSmallWallWin_Preview_DZ: NonStrategic
	{
		scope = 2;
		destrType = "DestructNo";
		cost = 100;
		offset[] = {0,1.5,0};
		model="\z\addons\dayz_epoch\models\small_wall_win_ghost.p3d";
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 1000;
		displayName = "Small Wall Window Preview";
		vehicleClass = "Fortifications";
	};
	class WoodFloor_Preview_DZ: NonStrategic
	{
		scope = 2;
		destrType = "DestructNo";
		cost = 100;
		offset[] = {0,1.5,0};
		model="\z\addons\dayz_epoch\models\Wood_Floor_ghost.p3d";
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 1000;
		displayName = "Wood Floor Preview";
		vehicleClass = "Fortifications";
	};
	class WoodSmallWallDoor_Preview_DZ: NonStrategic
	{
		scope = 2;
		destrType = "DestructNo";
		cost = 100;
		offset[] = {0,1.5,0};
		model="\z\addons\dayz_epoch\models\small_wall_door_ghost.p3d";
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 1000;
		displayName = "Small Wall Door Preview";
		vehicleClass = "Fortifications";
	};
	class WoodLargeWall_Preview_DZ: NonStrategic
	{
		scope = 2;
		destrType = "DestructNo";
		cost = 100;
		offset[] = {0,1.5,0};
		model="\z\addons\dayz_epoch\models\large_wall_ghost.p3d";
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 1000;
		displayName = "Large Wall Preview";
		vehicleClass = "Fortifications";
	};
	class WoodLargeWallDoor_Preview_DZ: NonStrategic
	{
		scope = 2;
		destrType = "DestructNo";
		cost = 100;
		offset[] = {0,1.5,0};
		model="\z\addons\dayz_epoch\models\large_wall_door_ghost.p3d";
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 1000;
		displayName = "Large Wall Door Preview";
		vehicleClass = "Fortifications";
	};
	class WoodLargeWallWin_Preview_DZ: NonStrategic
	{
		scope = 2;
		destrType = "DestructNo";
		cost = 100;
		offset[] = {0,1.5,0};
		model="\z\addons\dayz_epoch\models\large_wall_win_ghost.p3d";
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 1000;
		displayName = "Large Wall Window Preview";
		vehicleClass = "Fortifications";
	};
	
	class WoodStairs_Preview_DZ: NonStrategic
	{
		scope = 2;
		destrType = "DestructNo";
		cost = 100;
		offset[] = {0,1.5,0};
		model="\z\addons\dayz_epoch\models\wood_stairs_ghost.p3d";
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 1000;
		displayName = "Wood Stairs Preview";
		vehicleClass = "Fortifications";
	};
	class WoodStairsSans_Preview_DZ: NonStrategic
	{
		scope = 2;
		destrType = "DestructNo";
		cost = 100;
		offset[] = {0,1.5,0};
		model="\z\addons\dayz_epoch\models\wood_stairs_sans_ghost.p3d";
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 1000;
		displayName = "Wood Stairs Sans Preview";
		vehicleClass = "Fortifications";
	};

	class WoodLadder_Preview_DZ: NonStrategic
	{
		scope = 2;
		destrType = "DestructNo";
		cost = 100;
		offset[] = {0,1.5,0};
		model="\z\addons\dayz_epoch\models\wood_ladder_ghost.p3d";
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 1000;
		displayName = "Wood Stairs Sans Preview";
		vehicleClass = "Fortifications";
	};
	class WoodDoor_Preview_DZ: NonStrategic
	{
		scope = 2;
		destrType = "DestructNo";
		cost = 100;
		offset[] = {0,1.5,0};
		model="\z\addons\dayz_epoch\models\small_wall_door_anim_ghost.p3d";
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 1000;
		displayName = "Door Preview";
		vehicleClass = "Fortifications";
	};
	class LargeWoodDoor_Preview_DZ: NonStrategic
	{
		scope = 2;
		destrType = "DestructNo";
		cost = 100;
		offset[] = {0,1.5,0};
		model="\z\addons\dayz_epoch\models\large_wall_door_anim_ghost.p3d";
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 1000;
		displayName = "Large Door Preview";
		vehicleClass = "Fortifications";
	};
	class GarageWoodDoor_Preview_DZ: NonStrategic
	{
		scope = 2;
		destrType = "DestructNo";
		cost = 100;
		offset[] = {0,1.5,0};
		model="\z\addons\dayz_epoch\models\Garage_door_anim_ghost.p3d";
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 1000;
		displayName = "Garage Door Preview";
		vehicleClass = "Fortifications";
	};
	
	// PLAYER BUILDINGS
	// class Plastic_Pole_EP1;
	class Sign_1L_Noentry_EP1;
	class Plastic_Pole_EP1_DZ: Sign_1L_Noentry_EP1
	{
		destrType = "DestructTree"; 
		armor = 2000;
		
		// static
		hasDriver = 0;
		simulation = "house";
		weapons[] = {};
		magazines[] = {};
		irTarget = 0;
		type = 1;
		threat[] = {0,0,0};
		maxSpeed = 0;
		coefInside = 4;
		coefInsideHeur = 4;

		scope = 2;
		offset[] = {0,2.5,0.3};
		displayName = "30m Plot Pole";
		vehicleClass = "Fortifications";
		removeoutput[] = {{"30m_plot_kit",1}};
		requireplot = 0;
		nounderground = 0;
	};
	class USMC_WarfareBMGNest_M240;
	class M240Nest_DZ: USMC_WarfareBMGNest_M240
	{
		destrType = "DestructBuilding"; 
		armor = 450;
		scope = 2;
		offset[] = {0,3.5,0};
		displayName = "M240 Nest";
		vehicleClass = "Fortifications";
		transportMaxMagazines = 25;
		transportMaxWeapons = 4;
		transportMaxBackpacks = 1;
		constructioncount = 10;
		removeoutput[] = {{"m240_nest_kit",1}};
		
	};
	class Land_covering_hut_EP1;
	class CanvasHut_DZ: Land_covering_hut_EP1
	{
		armor = 200;
		scope = 2;
		offset[] = {0,2.5,1};
		displayName = "Canvas Hut";
		vehicleClass = "Fortifications";
	};
	class Park_bench1;
	class ParkBench_DZ: Park_bench1
	{
		scope = 2;
		offset[] = {0,1.5,0.5};
		displayName = "Wood Bench";
		vehicleClass = "Fortifications";
		removeoutput[] = {{"park_bench_kit",1}};
	};
	class Land_CamoNet_EAST_EP1;
	class DesertCamoNet_DZ: Land_CamoNet_EAST_EP1
	{
		armor = 300;
		destrType = "DestructNo";
		scope = 2;
		offset[] = {0,5,0};
		displayName = "Desert Camo Net";
		vehicleClass = "Fortifications";
		removeoutput[] = {{"desert_net_kit",1}};
	};
	class Land_CamoNet_EAST;
	class ForestCamoNet_DZ: Land_CamoNet_EAST
	{
		armor = 300;
		destrType = "DestructNo";
		scope = 2;
		offset[] = {0,5,0};
		displayName = "Forest Camo Net";
		vehicleClass = "Fortifications";
		removeoutput[] = {{"forest_net_kit",1}};
	};
	class Land_CamoNetB_EAST_EP1;
	class DesertLargeCamoNet_DZ: Land_CamoNetB_EAST_EP1
	{
		armor = 300;
		destrType = "DestructNo";
		scope = 2;
		offset[] = {0,9,0};
		displayName = "Large Desert Camo Net";
		vehicleClass = "Fortifications";
		removeoutput[] = {{"desert_large_net_kit",1}};
	};
	class Land_Misc_deerstand;
	class DeerStand_DZ: Land_Misc_deerstand
	{
		armor = 300;
		// destrType = "DestructNo";
		scope = 2;
		offset[] = {0,5,0};
		displayName = "Deer Stand";
		vehicleClass = "Fortifications";
		removeoutput[] = {{"deer_stand_kit",1}};
	};
	class Land_CamoNetB_EAST;
	class ForestLargeCamoNet_DZ: Land_CamoNetB_EAST
	{
		armor = 300;
		destrType = "DestructNo";
		scope = 2;
		offset[] = {0,9,0};
		displayName = "Large Forest Camo Net";
		vehicleClass = "Fortifications";
		removeoutput[] = {{"forest_large_net_kit",1}};
	};

	class Land_Wall_Gate_Ind1_L;
	class MetalGate_DZ: Land_Wall_Gate_Ind1_L
	{
		armor = 400;
		scope = 2;
		offset[] = {0,2.5,1};
		displayName = "Rusty Gate";
		vehicleClass = "Fortifications";
		removeoutput[] = {{"rusty_gate_kit",1}};
	};
	class Land_KBud;
	class OutHouse_DZ: Land_KBud
	{
		armor = 200;
		scope = 2;
		offset[] = {0,2.5,1};
		displayName = "Outhouse";
		vehicleClass = "Fortifications";
		transportMaxMagazines = 4;
		transportMaxWeapons = 4;
		transportMaxBackpacks = 4;
		constructioncount = 2;
		class transportmagazines
		{
			class _xx_ItemTrashToiletpaper
			{
				magazine = "ItemTrashToiletpaper";
				count = 1;
			};
		};
	};
	class Land_Shed_M01;
	class StorageShed_DZ: Land_Shed_M01
	{
		armor = 1600;
		scope = 2;
		offset[] = {0,2.5,1};
		displayName = "Storage Shed";
		vehicleClass = "Fortifications";
		transportMaxMagazines = 400;
		transportMaxWeapons = 40;
		transportMaxBackpacks = 20;
		constructioncount = 6;
	};
	class Fence_corrugated_plate;
	class Fence_corrugated_DZ: Fence_corrugated_plate
	{
		armor = 600;
		scope = 2;
		offset[] = {0,2.5,1};
		removeoutput[] = {{"ItemCorrugated",1}};
		displayName = "Corrugated Fence";
		vehicleClass = "Fortifications";
		nounderground = 0;
		
	};
	class Land_kulna;
	class WoodShack_DZ: Land_kulna
	{
		scope = 2;
		destrType = "DestructBuilding"; 
		offset[] = {0,2.5,1.3};
		armor = 800;
		displayName = "Wooden Shack";
		vehicleClass = "Fortifications";
		transportMaxMagazines = 100;
		transportMaxWeapons = 10;
		transportMaxBackpacks = 5;
		constructioncount = 5;
		nounderground = 0;
	};
	class Land_Shed_wooden;
	class Wooden_shed_DZ: Land_Shed_wooden
	{
		scope = 2;
		destrType = "DestructBuilding"; 
		//cost = 100;
		offset[] = {0,2.5,1};
		armor = 800;
		displayName = "Wooden Shed";
		vehicleClass = "Fortifications";
		transportMaxMagazines = 200;
		transportMaxWeapons = 20;
		transportMaxBackpacks = 10;
		nounderground = 0;
	};
	
	class Wall_FenW2_6_EP1;
	class StickFence_DZ: Wall_FenW2_6_EP1
	{
		destrType = "DestructTree"; 
		armor = 200;
		scope = 2;
		offset[] = {0,2.5,0};
		displayName = "Stick Fence";
		vehicleClass = "Fortifications";
	};
	class ASC_EU_LHVOld;
	class LightPole_DZ: ASC_EU_LHVOld
	{
		armor = 200;
		scope = 2;
		offset[] = {0,2.5,0};
		displayName = "Light Pole";
		vehicleClass = "Fortifications";
		maintainBuilding[] = {{"ItemLightBulb",1}};
	};
	class Land_Misc_Scaffolding;
	class Scaffolding_DZ: Land_Misc_Scaffolding
	{
		armor = 100;
		destrType = "DestructBuilding"; 
		scope = 2;
		displayName = "Scaffolding";
		vehicleClass = "Fortifications";
		constructioncount = 6;
		animated = 0;
		irTarget = 0;
		accuracy = 0.3;
		transportAmmo = 0;
		transportRepair = 0;
		transportFuel = 0;
		typicalCargo[] = {};
		offset[] = {0,8,3};
		cost = 0;
	};
	class WoodGate_DZ: BuiltItems
	{
		scope = 2;
		destrType = "DestructTree"; 
		//cost = 100;
		offset[] = {0,1.5,0.5};
		model = "\ca\structures\Wall\Gate_wood2_5";
		icon = "\ca\data\data\Unknown_object.paa";
		mapSize = 2;
		armor = 100;
		displayName = "Wood Panel";
		vehicleClass = "Fortifications";
		
		class AnimationSources
		{
			class DoorR { 
			  source = "User"; 
			  animPeriod = 1; 
			  initPhase = 0; 
			};
		};
		class UserActions
		{
			class CloseDoor
			{
				position = "";
				displayName = "Close Door";
				radius = 1.5;
				onlyForPlayer = 0;
				condition = "this animationPhase 'DoorR' == 1";
				statement = "this animate ['DoorR', 0];";
			};
			class OpenDoor
			{
				position = "";
				displayName = "Open Door";
				radius = 1.5;
				onlyForPlayer = 0;
				condition = "this animationPhase 'DoorR' == 0";
				statement = "this animate ['DoorR', 1];";
			};
		};
	};

	class ReammoBox;
	class WeaponHolderBase: ReammoBox
	{
		scope = 0;
		accuracy = 1000;
		vehicleClass = "Survival";
		displayName = "Weapon";
		memoryPointSupply = "collect";
		supplyRadius = 3;
		transportMaxWeapons = 0;
		transportMaxMagazines = 0;
		transportMaxBackpacks = 0;
		transportAmmo = 0;
		transportRepair = 0;
		transportFuel = 0;
	};
	class WoodenArrowF : WeaponHolderBase {
		scope = public;
		displayName = "Arrow";
		model = "\dayz_weapons\models\bolt";
		class eventHandlers
		{
			init = "[(_this select 0),'cfgMagazines','WoodenArrow'] execVM '\z\addons\dayz_code\init\object_pickupAction.sqf';";
		};
	};
	
	class WeaponHolder_ItemHatchet_DZE: WeaponHolderBase
	{
		scope = 2;
		displayName = $STR_EQUIP_NAME_41;
		model = "\dayz_equip\models\hatchet.p3d";
		class eventHandlers
		{
			init = "[(_this select 0),'cfgWeapons','ItemHatchet_DZE'] execVM '\z\addons\dayz_code\init\object_pickupAction.sqf';";
		};
	};

	class WeaponHolder_ItemMachete: WeaponHolderBase
	{
		scope = 2;
		displayName = "Machete";
		model="\z\addons\dayz_communityassets\models\machete.p3d";
		class eventHandlers
		{
			init = "[(_this select 0),'cfgWeapons','ItemMachete'] execVM '\z\addons\dayz_code\init\object_pickupAction.sqf';";
		};
	};
	class WeaponHolder_MeleeCrowbar: WeaponHolderBase
	{
		scope = 2;
		displayName = "Crowbar";
		model = "\dayz_equip\models\crowbar.p3d";
		class eventHandlers
		{
			init = "[(_this select 0),'cfgWeapons','ItemCrowbar'] execVM '\z\addons\dayz_code\init\object_pickupAction.sqf';";
		};
	};

	class WeaponHolder;

	class WeaponHolder_ItemTentOld: WeaponHolder
	{
		scope = 2;
		displayName = $STR_EQUIP_NAME_20;
		class transportmagazines
		{
			class _xx_ItemTentOld
			{
				magazine = "ItemTentOld";
				count = 1;
			};
		};
	};
	class WeaponHolder_ItemTentDomed: WeaponHolder
	{
		scope = 2;
		displayName = "Domed Desert Tent";
		class transportmagazines
		{
			class _xx_ItemTentDomed
			{
				magazine = "ItemTentDomed";
				count = 1;
			};
		};
	};
	class WeaponHolder_ItemTentDomed2: WeaponHolder
	{
		scope = 2;
		displayName = "Domed Green Tent";
		class transportmagazines
		{
			class _xx_ItemTentDomed2
			{
				magazine = "ItemTentDomed2";
				count = 1;
			};
		};
	};	
	
	class WeaponHolder_ItemVault: WeaponHolder
	{
		scope = 2;
		displayName = "Safe";
		class transportmagazines
		{
			class _xx_ItemVault
			{
				magazine = "ItemVault";
				count = 1;
			};
		};
	};
	class WeaponHolder_ItemLockbox: WeaponHolder
	{
		scope = 2;
		displayName = "Lockbox";
		class transportmagazines
		{
			class _xx_ItemLockbox
			{
				magazine = "ItemLockbox";
				count = 1;
			};
		};
	};
	class WeaponHolder_ItemJerrycanEmpty: WeaponHolderBase
	{
		scope = 2;
		displayName = $STR_EQUIP_NAME_39;
		model = "\dayz_equip\proxy\jerrycan.p3d";
		class eventHandlers
		{
			init = "[(_this select 0),'cfgMagazines','ItemJerrycanEmpty'] execVM '\z\addons\dayz_code\init\object_pickupAction.sqf';";
		};
	};
	
	class Land_A_tent;
	class ACamp;
	class TentStorage: Land_A_tent
	{
		vehicleClass = "Survival";
		transportMaxMagazines = 50;
		transportMaxWeapons = 10;
		transportMaxBackpacks = 5;
		create = "WeaponHolder_ItemTentOld";
		constructioncount = 1;
		offset[] = {0,2.5,0};
		requireplot = 0;
		nounderground = 0;
	};
	class TentStorageDomed: TentStorage
	{
		displayName = "Digital Camo Tent";
		vehicleClass = "Survival";
		model = "\dayz_epoch_b\models\astan.p3d";
		transportMaxMagazines = 75;
		transportMaxWeapons = 12;
		transportMaxBackpacks = 7;
		create = "WeaponHolder_ItemTentDomed";
		offset[] = {0,2.5,0};
	};
	class TentStorageDomed2: TentStorage
	{
		displayName = "Green Domed Tent";
		vehicleClass = "Survival";
		model = "\ca\Misc_E\Astan_ep1.p3d"; 
		transportMaxMagazines = 75;
		transportMaxWeapons = 12;
		transportMaxBackpacks = 7;
		create = "WeaponHolder_ItemTentDomed2";
		offset[] = {0,2.5,0};
	};
	class GraveDZE: Land_A_tent
	{
		vehicleClass = "Survival";
		displayName = "Grave DZE";
		destrType = "DestructNo";
		model = "\z\addons\dayz_epoch\models\skeleton.p3d";
		transportMaxMagazines = 80;
		transportMaxWeapons = 20;
		transportMaxBackpacks = 1;
	};
};	
