mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-10 10:12:54 +03:00
CFG WEAPONS DONE
This commit is contained in:
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/ACOG.hpp
Normal file
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/ACOG.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
class Attachment_ACOG : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\z\addons\dayz_communityweapons\attachments\acog\acog.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\attachments\acog\data\m_acog_ca.paa";
|
||||
|
||||
displayName = $STR_DZ_ATT_ACOG_NAME;
|
||||
descriptionShort = $STR_DZ_ATT_ACOG_DESC;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class AttachToPrimary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
|
||||
script = "; [_id,1] call player_attachAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,24 @@
|
||||
#include "SCOPED.hpp"
|
||||
#include "BELT.hpp"
|
||||
|
||||
#include "FL.hpp"
|
||||
#include "FL_Pist.hpp"
|
||||
|
||||
#include "CCO.hpp"
|
||||
#include "Holo.hpp"
|
||||
#include "ACOG.hpp"
|
||||
#include "Kobra.hpp"
|
||||
#include "PSO1.hpp"
|
||||
|
||||
#include "M203.hpp"
|
||||
#include "GP25.hpp"
|
||||
|
||||
#include "Sup9.hpp"
|
||||
#include "Sup556.hpp"
|
||||
#include "Sup545.hpp"
|
||||
#include "SupMakarov.hpp"
|
||||
#include "SupBizon.hpp"
|
||||
|
||||
#include "Ghillie.hpp"
|
||||
|
||||
#include "SA58RIS.hpp"
|
||||
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/BELT.hpp
Normal file
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/BELT.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
class Attachment_BELT : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\z\addons\dayz_communityweapons\models\attachments\BELT";
|
||||
picture = "\z\addons\dayz_communityweapons\models\attachments\BELT.paa";
|
||||
|
||||
displayName = $STR_ATTACHMENT_NAME_BELT;
|
||||
descriptionShort = $STR_ATTACHMENT_DESC_BELT;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class AttachToPrimary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
|
||||
script = "; [_id,1] call player_attachAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/CCO.hpp
Normal file
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/CCO.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
class Attachment_CCO : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\z\addons\dayz_communityweapons\attachments\cco\cco.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\attachments\cco\data\m_cco_ca.paa";
|
||||
|
||||
displayName = $STR_DZ_ATT_CCO_NAME;
|
||||
descriptionShort = $STR_DZ_ATT_CCO_DESC;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class AttachToPrimary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
|
||||
script = "; [_id,1] call player_attachAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/FL.hpp
Normal file
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/FL.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
class Attachment_FL : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\z\addons\dayz_communityweapons\attachments\flashlight_rifle\flashlight_rifle.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\attachments\flashlight_rifle\data\m_flashlight_rifle_ca.paa";
|
||||
|
||||
displayName = $STR_DZ_ATT_FL_RFL_NAME;
|
||||
descriptionShort = $STR_DZ_ATT_FL_RFL_DESC;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class AttachToPrimary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
|
||||
script = "; [_id,1] call player_attachAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/FL_Pist.hpp
Normal file
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/FL_Pist.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
class Attachment_FL_Pist : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\z\addons\dayz_communityweapons\attachments\flashlight_pistol\flashlight_pistol.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\attachments\flashlight_pistol\data\m_flashlight_pistol_ca.paa";
|
||||
|
||||
displayName = $STR_DZ_ATT_FL_PST_NAME;
|
||||
descriptionShort = $STR_DZ_ATT_FL_PST_DESC;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class AttachToSecondary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_SECONDARY;
|
||||
script = "; [_id,0] call player_attachAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/GP25.hpp
Normal file
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/GP25.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
class Attachment_GP25 : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\z\addons\dayz_communityweapons\attachments\gp25\gp25.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\attachments\gp25\data\m_gp25_ca.paa";
|
||||
|
||||
displayName = $STR_DZ_ATT_GP25_NAME;
|
||||
descriptionShort = $STR_DZ_ATT_GP25_NAME;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class AttachToPrimary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
|
||||
script = "; [_id,1] call player_attachAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
27
SQF/dayz_code/Configs/CfgMagazines/Attachments/Ghillie.hpp
Normal file
27
SQF/dayz_code/Configs/CfgMagazines/Attachments/Ghillie.hpp
Normal file
@@ -0,0 +1,27 @@
|
||||
class Attachment_Ghillie : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "ca\weapons\mag_univ.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\attachments\ghillie\data\m_ghillie_ca.paa";
|
||||
|
||||
displayName = $STR_DZ_ATT_GHIL_NAME;
|
||||
descriptionShort = $STR_DZ_ATT_GHIL_DESC;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class AttachToPrimary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
|
||||
script = "; [_id,1] call player_attachAttachment";
|
||||
};
|
||||
|
||||
/*class AttachToSecondary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_SECONDARY;
|
||||
script = "; [_id,0] call player_attachAttachment";
|
||||
};*/
|
||||
};
|
||||
};
|
||||
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/Holo.hpp
Normal file
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/Holo.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
class Attachment_Holo : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\z\addons\dayz_communityweapons\attachments\holo\holo.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\attachments\holo\data\m_holo_ca.paa";
|
||||
|
||||
displayName = $STR_DZ_ATT_HOLO_NAME;
|
||||
descriptionShort = $STR_DZ_ATT_HOLO_DESC;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class AttachToPrimary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
|
||||
script = "; [_id,1] call player_attachAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/Kobra.hpp
Normal file
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/Kobra.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
class Attachment_Kobra : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\z\addons\dayz_communityweapons\attachments\kobra\kobra.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\attachments\kobra\data\m_kobra_ca.paa";
|
||||
|
||||
displayName = $STR_DZ_ATT_KOBRA_NAME;
|
||||
descriptionShort = $STR_DZ_ATT_KOBRA_DESC;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class AttachToPrimary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
|
||||
script = "; [_id,1] call player_attachAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/M203.hpp
Normal file
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/M203.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
class Attachment_M203 : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\z\addons\dayz_communityweapons\attachments\m203\m203.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\attachments\m203\data\m_m203_ca.paa";
|
||||
|
||||
displayName = $STR_DZ_ATT_M203_NAME;
|
||||
descriptionShort = $STR_DZ_ATT_M203_DESC;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class AttachToPrimary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
|
||||
script = "; [_id,1] call player_attachAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/PSO1.hpp
Normal file
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/PSO1.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
class Attachment_PSO1 : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\z\addons\dayz_communityweapons\attachments\pso\pso.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\attachments\pso\data\m_pso_ca.paa";
|
||||
|
||||
displayName = $STR_DZ_ATT_PSO1_NAME;
|
||||
descriptionShort = $STR_DZ_ATT_PSO1_DESC;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class AttachToPrimary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
|
||||
script = "; [_id,1] call player_attachAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/SA58RIS.hpp
Normal file
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/SA58RIS.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
class Attachment_SA58RIS : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "ca\weapons\mag_univ.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\attachments\SA58RIS\data\m_sa58ris_ca.paa";
|
||||
|
||||
displayName = $STR_DZ_ATT_SA58RIS_NAME;
|
||||
descriptionShort = $STR_DZ_ATT_SA58RIS_DESC;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class AttachToPrimary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
|
||||
script = "; [_id,1] call player_attachAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
19
SQF/dayz_code/Configs/CfgMagazines/Attachments/SCOPED.hpp
Normal file
19
SQF/dayz_code/Configs/CfgMagazines/Attachments/SCOPED.hpp
Normal file
@@ -0,0 +1,19 @@
|
||||
class Attachment_SCOPED : CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
displayName = $STR_ATTACHMENT_NAME_SCOPE;
|
||||
descriptionShort = $STR_ATTACHMENT_DESC_SCOPE;
|
||||
count = 1;
|
||||
model = "z\addons\dayz_communityweapons\models\attachments\SCOPE";
|
||||
picture = "\z\addons\dayz_communityweapons\models\attachments\SCOPE.paa";
|
||||
type = 256;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Use
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
|
||||
script = "; [_id,1] call player_attachAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/Sup545.hpp
Normal file
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/Sup545.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
class Attachment_Sup545 : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\z\addons\dayz_communityweapons\attachments\suppressor545\suppressor545.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\attachments\suppressor545\data\m_suppressor545_ca.paa";
|
||||
|
||||
displayName = $STR_DZ_ATT_SUP545_NAME;
|
||||
descriptionShort = $STR_DZ_ATT_SUP545_DESC;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class AttachToPrimary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
|
||||
script = "; [_id,1] call player_attachAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/Sup556.hpp
Normal file
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/Sup556.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
class Attachment_Sup556 : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\z\addons\dayz_communityweapons\attachments\suppressor556\suppressor556.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\attachments\suppressor556\data\m_suppressor556_ca.paa";
|
||||
|
||||
displayName = $STR_DZ_ATT_SUP556_NAME;
|
||||
descriptionShort = $STR_DZ_ATT_SUP556_DESC;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class AttachToPrimary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
|
||||
script = "; [_id,1] call player_attachAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
27
SQF/dayz_code/Configs/CfgMagazines/Attachments/Sup9.hpp
Normal file
27
SQF/dayz_code/Configs/CfgMagazines/Attachments/Sup9.hpp
Normal file
@@ -0,0 +1,27 @@
|
||||
class Attachment_Sup9 : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\z\addons\dayz_communityweapons\attachments\suppressor9\suppressor9.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\attachments\suppressor9\data\m_suppressor9_ca.paa";
|
||||
|
||||
displayName = $STR_DZ_ATT_SUP9_NAME;
|
||||
descriptionShort = $STR_DZ_ATT_SUP9_DESC;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class AttachToSecondary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_SECONDARY;
|
||||
script = "; [_id,0] call player_attachAttachment";
|
||||
};
|
||||
|
||||
class AttachToPrimary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
|
||||
script = "; [_id,1] call player_attachAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/SupBizon.hpp
Normal file
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/SupBizon.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
class Attachment_SupBizon : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\surpressor.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\attachment_silencer.paa";
|
||||
|
||||
displayName = $STR_ATTACHMENT_NAME_SILENCER_BIZON;
|
||||
descriptionShort = $STR_ATTACHMENT_DESC_SILENCER_BIZON;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class AttachToPrimary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
|
||||
script = "; [_id,1] call player_attachAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,21 @@
|
||||
class Attachment_SupMakarov : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\surpressor.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\attachment_silencer.paa";
|
||||
|
||||
displayName = $STR_ATTACHMENT_NAME_SILENCER_MAKAROV;
|
||||
descriptionShort = $STR_ATTACHMENT_DESC_SILENCER_MAKAROV;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class AttachToSecondary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_SECONDARY;
|
||||
script = "; [_id,0] call player_attachAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
38
SQF/dayz_code/Configs/CfgMagazines/CfgMagazines.hpp
Normal file
38
SQF/dayz_code/Configs/CfgMagazines/CfgMagazines.hpp
Normal file
@@ -0,0 +1,38 @@
|
||||
class CfgMagazines
|
||||
{
|
||||
//External references
|
||||
class CA_Magazine;
|
||||
class HandGrenade;
|
||||
|
||||
|
||||
|
||||
//Weapon magazines
|
||||
#include "Magazines\Magazines.hpp"
|
||||
|
||||
//Trash
|
||||
#include "Trash\Trash.hpp"
|
||||
|
||||
//Vehicle parts
|
||||
#include "VehicleParts.hpp"
|
||||
|
||||
//Chemlight and Roadflare
|
||||
#include "Throwable.hpp"
|
||||
|
||||
//Clothing
|
||||
#include "Clothing\Clothing.hpp"
|
||||
|
||||
//Medical
|
||||
#include "Medical\Medical.hpp"
|
||||
|
||||
//Miscellaneous
|
||||
#include "Items\Items.hpp"
|
||||
|
||||
//Attachments
|
||||
#include "Attachments\Attachments.hpp"
|
||||
|
||||
//Crafting materials
|
||||
#include "Crafting\Crafting.hpp"
|
||||
|
||||
//Consumables: food, drinks etc.
|
||||
#include "Consumables\Consumables.hpp"
|
||||
};
|
||||
6
SQF/dayz_code/Configs/CfgMagazines/Clothing/Camo.hpp
Normal file
6
SQF/dayz_code/Configs/CfgMagazines/Clothing/Camo.hpp
Normal file
@@ -0,0 +1,6 @@
|
||||
class Skin_Camo1_DZ : SkinBase
|
||||
{
|
||||
scope = public;
|
||||
displayName = $STR_EQUIP_NAME_CAMO;
|
||||
descriptionShort = $STR_EQUIP_DESC_CAMO;
|
||||
};
|
||||
30
SQF/dayz_code/Configs/CfgMagazines/Clothing/Clothing.hpp
Normal file
30
SQF/dayz_code/Configs/CfgMagazines/Clothing/Clothing.hpp
Normal file
@@ -0,0 +1,30 @@
|
||||
class SkinBase : CA_Magazine
|
||||
{
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\dayz_equip\models\cloth_parcel.p3d";
|
||||
picture = "\dayz_equip\textures\equip_cloth_parcel_ca.paa";
|
||||
|
||||
Craftoutput = "equip_rag";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Use
|
||||
{
|
||||
text = $STR_EQUIP_TEXT_CLOTHES;
|
||||
script = "spawn player_wearClothes;";
|
||||
};
|
||||
|
||||
class tearClothes
|
||||
{
|
||||
text = "Tear Clothes";
|
||||
script = "spawn player_tearClothes;";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
#include "Ghillie.hpp"
|
||||
#include "Camo.hpp"
|
||||
#include "Soldier.hpp"
|
||||
#include "Survivor.hpp"
|
||||
6
SQF/dayz_code/Configs/CfgMagazines/Clothing/Ghillie.hpp
Normal file
6
SQF/dayz_code/Configs/CfgMagazines/Clothing/Ghillie.hpp
Normal file
@@ -0,0 +1,6 @@
|
||||
class Skin_Sniper1_DZ : SkinBase
|
||||
{
|
||||
scope = public;
|
||||
displayName = $STR_EQUIP_NAME_GHILLIE;
|
||||
descriptionShort = $STR_EQUIP_DESC_GHILLIE;
|
||||
};
|
||||
6
SQF/dayz_code/Configs/CfgMagazines/Clothing/Soldier.hpp
Normal file
6
SQF/dayz_code/Configs/CfgMagazines/Clothing/Soldier.hpp
Normal file
@@ -0,0 +1,6 @@
|
||||
class Skin_Soldier1_DZ : SkinBase
|
||||
{
|
||||
scope = public;
|
||||
displayName = $STR_EQUIP_NAME_SOLDIER;
|
||||
descriptionShort = $STR_EQUIP_DESC_SOLDIER;
|
||||
};
|
||||
6
SQF/dayz_code/Configs/CfgMagazines/Clothing/Survivor.hpp
Normal file
6
SQF/dayz_code/Configs/CfgMagazines/Clothing/Survivor.hpp
Normal file
@@ -0,0 +1,6 @@
|
||||
class Skin_Survivor2_DZ : SkinBase
|
||||
{
|
||||
scope = public;
|
||||
displayName = $STR_EQUIP_NAME_CIV;
|
||||
descriptionShort = $STR_EQUIP_DESC_CIV;
|
||||
};
|
||||
54
SQF/dayz_code/Configs/CfgMagazines/Consumables/Canteen.hpp
Normal file
54
SQF/dayz_code/Configs/CfgMagazines/Consumables/Canteen.hpp
Normal file
@@ -0,0 +1,54 @@
|
||||
class ItemCanteen : FoodDrink
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_equip\models\waterbottle_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_waterbottle_ca.paa";
|
||||
displayName = $STR_ITEM_CANTEEN_NAME;
|
||||
descriptionShort = $STR_ITEM_CANTEEN_DESC;
|
||||
|
||||
Nutrition[] = {0,0,1000,0};
|
||||
|
||||
infectionChance = 0.3;
|
||||
|
||||
consumeOutput = "ItemCanteenEmpty";
|
||||
|
||||
containerEmpty = "ItemCanteenEmpty";
|
||||
|
||||
class ItemActions : ItemActions
|
||||
{
|
||||
class Consume : Consume
|
||||
{
|
||||
};
|
||||
|
||||
class Empty
|
||||
{
|
||||
text = "Empty";//TODO: move to stringtable
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemCanteenInfected : ItemCanteen
|
||||
{
|
||||
infectionChance = 1;
|
||||
};
|
||||
|
||||
class ItemCanteenSafe : ItemCanteen
|
||||
{
|
||||
infectionChance = 0;
|
||||
};
|
||||
|
||||
class ItemCanteenBoiled : ItemCanteen
|
||||
{
|
||||
displayName = $STR_ITEM_CANTEEN_BOILED_NAME;
|
||||
|
||||
infectionChance = 0;
|
||||
};
|
||||
|
||||
class ItemCanteenHerbal : ItemCanteen
|
||||
{
|
||||
displayName = $STR_ITEM_CANTEEN_HERBAL_NAME;
|
||||
|
||||
infectionChance = -0.5;
|
||||
};
|
||||
114
SQF/dayz_code/Configs/CfgMagazines/Consumables/Consumables.hpp
Normal file
114
SQF/dayz_code/Configs/CfgMagazines/Consumables/Consumables.hpp
Normal file
@@ -0,0 +1,114 @@
|
||||
//All Consumable items base class
|
||||
class ConsumableBase : CA_Magazine
|
||||
{
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
//Amount of blood regenerated
|
||||
bloodRegen = 0;
|
||||
|
||||
//Nutrition values [Energy, Food, Water, Temperature]
|
||||
Nutrition[] = {0,0,0,0};
|
||||
|
||||
//Chance to cause infection value range [-1,1]
|
||||
// 0 has no effect
|
||||
// 0.6 60% chance to cause infection
|
||||
// -0.6 60% chance to cure infection
|
||||
infectionChance = 0;
|
||||
|
||||
//Sound played when consumed
|
||||
consumeSound = "";
|
||||
consumeSoundDistance = 3;
|
||||
|
||||
//Item replaced by when consumed
|
||||
consumeOutput = "";
|
||||
//Whether the output item is automatically dropped on consumption
|
||||
consumeDrop = false;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Consume
|
||||
{
|
||||
text = "Consume";
|
||||
script = "spawn player_consume";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
//Drink base class
|
||||
class FoodDrink : ConsumableBase
|
||||
{
|
||||
Nutrition[] = {150,0,0,0};
|
||||
|
||||
consumeSound = "drink";
|
||||
|
||||
class ItemActions : ItemActions
|
||||
{
|
||||
class Consume : Consume
|
||||
{
|
||||
text = $STR_ACTIONS_DRINK2;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
//Edible food base class
|
||||
class FoodEdible : ConsumableBase
|
||||
{
|
||||
Nutrition[] = {239,150,0,0};
|
||||
|
||||
consumeSound = "eat";
|
||||
|
||||
class ItemActions : ItemActions
|
||||
{
|
||||
class Consume : Consume
|
||||
{
|
||||
text = $STR_EAT_FOOD;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
//Prepackaged food base class
|
||||
class FoodPackaged : FoodEdible
|
||||
{
|
||||
consumeDrop = true;
|
||||
};
|
||||
|
||||
//Fizzy drinks base class
|
||||
class ItemSoda : FoodDrink
|
||||
{
|
||||
Nutrition[] = {90,0,100,0};
|
||||
|
||||
consumeSound = "soda";
|
||||
consumeOutput = "ItemSodaEmpty";
|
||||
consumeDrop = true;
|
||||
};
|
||||
|
||||
//Player made drinks base class
|
||||
/*class ItemBrew : FoodDrink
|
||||
{
|
||||
Nutrition[] = {0,0,0,0};
|
||||
};*/
|
||||
|
||||
//Raw food base class
|
||||
class FoodRaw : FoodEdible
|
||||
{
|
||||
bloodRegen = 200;
|
||||
Nutrition[] = {282,0,0,0};
|
||||
|
||||
infectionChance = 0.1;
|
||||
};
|
||||
|
||||
//Cooked food base class
|
||||
class FoodCooked : FoodEdible
|
||||
{
|
||||
bloodRegen = 400;
|
||||
Nutrition[] = {239,0,0,0};
|
||||
};
|
||||
|
||||
#include "PackagedFood.hpp"
|
||||
#include "Meat.hpp"
|
||||
#include "Fish.hpp"
|
||||
|
||||
#include "Soda.hpp"
|
||||
#include "WaterBottle.hpp"
|
||||
//#include "Canteen.hpp"
|
||||
87
SQF/dayz_code/Configs/CfgMagazines/Consumables/Fish.hpp
Normal file
87
SQF/dayz_code/Configs/CfgMagazines/Consumables/Fish.hpp
Normal file
@@ -0,0 +1,87 @@
|
||||
class FishRawTrout : FoodRaw
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\z\addons\dayz_communityassets\models\trout.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_trout_CA.paa";
|
||||
displayName = $STR_FOOD_NAME_TROUT_RAW;
|
||||
descriptionShort = $STR_FOOD_EQUIP_TROUT_RAW;
|
||||
|
||||
bloodRegen = 500;
|
||||
Nutrition[] = {117,350,0,0};
|
||||
|
||||
cookOutput = "FishCookedTrout";
|
||||
};
|
||||
|
||||
class FishCookedTrout : FoodCooked
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\z\addons\dayz_communityassets\models\trout_cooked.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_trout_cooked_CA.paa";
|
||||
displayName = $STR_FOOD_NAME_TROUT_COOKED;
|
||||
descriptionShort = $STR_FOOD_EQUIP_TROUT_COOKED;
|
||||
|
||||
bloodRegen = 1000;
|
||||
Nutrition[] = {117,700,0,0};
|
||||
};
|
||||
|
||||
|
||||
|
||||
class FishRawSeaBass : FoodRaw
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\z\addons\dayz_communityassets\models\seabass.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_seabass_CA.paa";
|
||||
displayName = $STR_FOOD_NAME_SEABASS_RAW;
|
||||
descriptionShort = $STR_FOOD_EQUIP_SEABASS_RAW;
|
||||
|
||||
bloodRegen = 700;
|
||||
Nutrition[] = {110,450,0,0};
|
||||
|
||||
cookOutput = "FishCookedSeaBass";
|
||||
};
|
||||
|
||||
class FishCookedSeaBass : FoodCooked
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\z\addons\dayz_communityassets\models\seabass_cooked.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_seabass_cooked_CA.paa";
|
||||
displayName = $STR_FOOD_NAME_SEABASS_COOKED;
|
||||
descriptionShort = $STR_FOOD_EQUIP_SEABASS_COOKED;
|
||||
|
||||
bloodRegen = 1400;
|
||||
Nutrition[] = {110,900,0,0};
|
||||
};
|
||||
|
||||
|
||||
|
||||
class FishRawTuna : FoodRaw
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\z\addons\dayz_communityassets\models\tuna.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_tuna_CA.paa";
|
||||
displayName = $STR_FOOD_NAME_TUNA_RAW;
|
||||
descriptionShort = $STR_FOOD_EQUIP_TUNA_RAW;
|
||||
|
||||
bloodRegen = 1000;
|
||||
Nutrition[] = {123,550,0,0};
|
||||
|
||||
cookOutput = "FishCookedTuna";
|
||||
};
|
||||
|
||||
class FishCookedTuna : FoodCooked
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\z\addons\dayz_communityassets\models\tuna_cooked.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_tuna_cooked_CA.paa";
|
||||
displayName = $STR_FOOD_NAME_TUNA_COOKED;
|
||||
descriptionShort = $STR_FOOD_EQUIP_TUNA_COOKED;
|
||||
|
||||
bloodRegen = 2000;
|
||||
Nutrition[] = {123,1100,0,0};
|
||||
};
|
||||
175
SQF/dayz_code/Configs/CfgMagazines/Consumables/Meat.hpp
Normal file
175
SQF/dayz_code/Configs/CfgMagazines/Consumables/Meat.hpp
Normal file
@@ -0,0 +1,175 @@
|
||||
class FoodGoatRaw : FoodRaw
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_equip\models\food_steak_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_steak_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_GOAT_RAW;
|
||||
descriptionShort = $STR_FOOD_EQUIP_GOAT_RAW;
|
||||
|
||||
bloodRegen = 300;
|
||||
Nutrition[] = {143,300,0,0};
|
||||
|
||||
cookOutput = "FoodGoatCooked";
|
||||
};
|
||||
|
||||
class FoodGoatCooked : FoodCooked
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_equip\models\food_steak_cooked_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_steak_cooked_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_GOAT_COOKED;
|
||||
descriptionShort = $STR_FOOD_EQUIP_GOAT_COOKED;
|
||||
|
||||
bloodRegen = 600;
|
||||
Nutrition[] = {143,600,0,0};
|
||||
};
|
||||
|
||||
class FoodMuttonRaw : FoodRaw
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\mutton_raw.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_mutton_raw_CA.paa";
|
||||
displayName = $STR_FOOD_EQUIP_CODE_NAME_1;
|
||||
descriptionShort = $STR_FOOD_EQUIP_CODE_DESC_1;
|
||||
|
||||
bloodRegen = 400;
|
||||
Nutrition[] = {294,350,0,0};
|
||||
|
||||
cookOutput = "FoodMuttonCooked";
|
||||
};
|
||||
|
||||
class FoodMuttonCooked : FoodCooked
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\mutton_cooked.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_mutton_cooked_CA.paa";
|
||||
displayName = $STR_FOODCOOKED_EQUIP_CODE_NAME_1;
|
||||
descriptionShort = $STR_FOODCOOKED_EQUIP_CODE_DESC_1;
|
||||
|
||||
bloodRegen = 800;
|
||||
Nutrition[] = {294,700,0,0};
|
||||
};
|
||||
|
||||
|
||||
|
||||
class FoodChickenRaw : FoodRaw
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_equip\models\food_steak_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_steak_ca.paa";
|
||||
displayName = $STR_FOOD_EQUIP_CODE_NAME_2;
|
||||
descriptionShort = $STR_FOOD_EQUIP_CODE_DESC_2;
|
||||
|
||||
bloodRegen = 400;
|
||||
Nutrition[] = {219,350,0,0};
|
||||
|
||||
cookOutput = "FoodChickenCooked";
|
||||
};
|
||||
|
||||
class FoodChickenCooked : FoodCooked
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_equip\models\food_steak_cooked_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_steak_cooked_ca.paa";
|
||||
displayName = $STR_FOODCOOKED_EQUIP_CODE_NAME_2;
|
||||
descriptionShort = $STR_FOODCOOKED_EQUIP_CODE_DESC_2;
|
||||
|
||||
bloodRegen = 800;
|
||||
Nutrition[] = {219,700,0,0};
|
||||
};
|
||||
|
||||
|
||||
|
||||
class FoodBaconRaw : FoodRaw
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\bacon_raw.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_bacon_raw_CA.paa";
|
||||
displayName = $STR_FOOD_EQUIP_CODE_NAME_4;
|
||||
descriptionShort = $STR_FOOD_EQUIP_CODE_DESC_4;
|
||||
|
||||
bloodRegen = 300;
|
||||
Nutrition[] = {417,350,0,0};
|
||||
|
||||
cookOutput = "FoodBaconCooked";
|
||||
};
|
||||
|
||||
class FoodBaconCooked : FoodCooked
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\bacon_fried.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_bacon_fried_CA.paa";
|
||||
displayName = $STR_FOODCOOKED_EQUIP_CODE_NAME_4;
|
||||
descriptionShort = $STR_FOODCOOKED_EQUIP_CODE_DESC_4;
|
||||
|
||||
bloodRegen = 600;
|
||||
Nutrition[] = {417,700,0,0};
|
||||
};
|
||||
|
||||
|
||||
|
||||
class FoodRabbitRaw : FoodRaw
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_equip\models\food_steak_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_steak_ca.paa";
|
||||
displayName = $STR_FOOD_EQUIP_CODE_NAME_3;
|
||||
descriptionShort = $STR_FOOD_EQUIP_CODE_DESC_3;
|
||||
|
||||
bloodRegen = 500;
|
||||
Nutrition[] = {517,450,0,0};
|
||||
|
||||
cookOutput = "FoodRabbitCooked";
|
||||
};
|
||||
|
||||
class FoodRabbitCooked : FoodCooked
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_equip\models\food_steak_cooked_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_steak_cooked_ca.paa";
|
||||
displayName = $STR_FOODCOOKED_EQUIP_CODE_NAME_3;
|
||||
descriptionShort = $STR_FOODCOOKED_EQUIP_CODE_DESC_3;
|
||||
|
||||
bloodRegen = 1000;
|
||||
Nutrition[] = {517,900,0,0};
|
||||
};
|
||||
|
||||
|
||||
|
||||
class FoodBeefRaw : FoodRaw
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_equip\models\food_steak_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_steak_ca.paa";
|
||||
displayName = $STR_FOOD_EQUIP_CODE_NAME_6;
|
||||
descriptionShort = $STR_FOOD_EQUIP_CODE_DESC_6;
|
||||
|
||||
bloodRegen = 400;
|
||||
Nutrition[] = {332,350,0,0};
|
||||
|
||||
cookOutput = "FoodBeefCooked";
|
||||
};
|
||||
|
||||
class FoodBeefCooked : FoodCooked
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_equip\models\food_steak_cooked_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_steak_cooked_ca.paa";
|
||||
displayName = $STR_FOODCOOKED_EQUIP_CODE_NAME_6;
|
||||
descriptionShort = $STR_FOODCOOKED_EQUIP_CODE_DESC_6;
|
||||
|
||||
bloodRegen = 800;
|
||||
Nutrition[] = {332,700,0,0};
|
||||
};
|
||||
560
SQF/dayz_code/Configs/CfgMagazines/Consumables/PackagedFood.hpp
Normal file
560
SQF/dayz_code/Configs/CfgMagazines/Consumables/PackagedFood.hpp
Normal file
@@ -0,0 +1,560 @@
|
||||
/*class AngelCookies : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\buiscits_box.p3d";
|
||||
picture = "z\addons\dayz_communityassets\CraftingPlaceholders\equip_angel_cookies.paa";
|
||||
displayName = $STR_FOODCOOKED_EQUIP_CODE_NAME_5;
|
||||
descriptionShort = $STR_FOODCOOKED_EQUIP_CODE_DESC_5;
|
||||
|
||||
Nutrition[] = {400,100,0,0};
|
||||
};*/
|
||||
|
||||
class FoodMRE : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\mre.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_mre_CA.paa";
|
||||
displayName = $STR_FOOD_NAME_MRE;
|
||||
descriptionShort = $STR_FOOD_DESC_MRE;
|
||||
|
||||
bloodRegen = 300;
|
||||
Nutrition[] = {150,800,600,0};
|
||||
};
|
||||
|
||||
class FoodPistachio : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\pistachio.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_pistachios_CA.paa";
|
||||
displayName = $STR_FOOD_NAME_PISTACHIO;
|
||||
descriptionShort = $STR_FOOD_DESC_PISTACHIO;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,450,0,0};
|
||||
};
|
||||
|
||||
class FoodNutmix : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\nutmix.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_nutmix_CA.paa";
|
||||
displayName = $STR_FOOD_NAME_NUTMIX;
|
||||
descriptionShort = $STR_FOOD_DESC_NUTMIX;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,450,0,0};
|
||||
};
|
||||
|
||||
class FoodCanBeef : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\can_beef_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_can_beef_clean_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CAN_BEEF;
|
||||
descriptionShort = $STR_FOOD_DESC_CAN_BEEF;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,600,350,0};
|
||||
|
||||
consumeOutput = "FoodCanBeefEmpty";
|
||||
};
|
||||
|
||||
class FoodCanPotatoes : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\can_pots_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_can_pots_clean_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CAN_POTATOES;
|
||||
descriptionShort = $STR_FOOD_DESC_CAN_POTATOES;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,750,450,0};
|
||||
|
||||
consumeOutput = "FoodCanPotatoesEmpty";
|
||||
};
|
||||
|
||||
class FoodCanGriff : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\can_griff_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_can_griff_clean_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CAN_GRIFF;
|
||||
descriptionShort = $STR_FOOD_DESC_CAN_GRIFF;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,500,0,0};
|
||||
|
||||
consumeOutput = "FoodCanGriffEmpty";
|
||||
};
|
||||
|
||||
class FoodCanBadguy : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\can_badguy_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_can_badguy_clean_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CAN_BADGUY;
|
||||
descriptionShort = $STR_FOOD_DESC_CAN_BADGUY;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,400,0,0};
|
||||
|
||||
consumeOutput = "FoodCanBadguyEmpty";
|
||||
};
|
||||
|
||||
class FoodCanBoneboy : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\can_boneboy_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_can_boneboy_clean_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CAN_BONEBOY;
|
||||
descriptionShort = $STR_FOOD_DESC_CAN_BONEBOY;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,400,0,0};
|
||||
|
||||
consumeOutput = "FoodCanBoneboyEmpty";
|
||||
};
|
||||
|
||||
class FoodCanCorn : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\can_corn_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_can_corn_clean_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CAN_CORN;
|
||||
descriptionShort = $STR_FOOD_DESC_CAN_CORN;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,600,400,0};
|
||||
|
||||
consumeOutput = "FoodCanCornEmpty";
|
||||
};
|
||||
|
||||
class FoodCanCurgon : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\can_curgon_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_can_curgon_clean_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CAN_CURGON;
|
||||
descriptionShort = $STR_FOOD_DESC_CAN_CURGON;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,480,0,0};
|
||||
|
||||
consumeOutput = "FoodCanCurgonEmpty";
|
||||
};
|
||||
|
||||
class FoodCanDemon : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\can_demon_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_can_demon_clean_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CAN_DEMON;
|
||||
descriptionShort = $STR_FOOD_DESC_CAN_DEMON;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,465,0,0};
|
||||
|
||||
consumeOutput = "FoodCanDemonEmpty";
|
||||
};
|
||||
|
||||
class FoodCanFraggleos : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\can_fraggleos_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_can_fraggleos_clean_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CAN_FRAGGLEOS;
|
||||
descriptionShort = $STR_FOOD_DESC_CAN_FRAGGLEOS;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,550,0,0};
|
||||
|
||||
consumeOutput = "FoodCanFraggleosEmpty";
|
||||
};
|
||||
|
||||
class FoodCanHerpy : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\can_herpy_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_can_herpy_clean_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CAN_HERPY;
|
||||
descriptionShort = $STR_FOOD_DESC_CAN_HERPY;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,600,0,0};
|
||||
|
||||
consumeOutput = "FoodCanHerpyEmpty";
|
||||
};
|
||||
|
||||
class FoodCanDerpy : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\can_derpy_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_can_derpy_clean_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CAN_DERPY;
|
||||
descriptionShort = $STR_FOOD_DESC_CAN_DERPY;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,410,0,0};
|
||||
|
||||
consumeOutput = "FoodCanDerpyEmpty";
|
||||
};
|
||||
|
||||
class FoodCanOrlok : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\can_orlok_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_can_orlok_clean_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CAN_ORLOK;
|
||||
descriptionShort = $STR_FOOD_DESC_CAN_ORLOK;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,460,0,0};
|
||||
|
||||
consumeOutput = "FoodCanOrlokEmpty";
|
||||
};
|
||||
|
||||
class FoodCanPowell : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\can_powell_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_can_powell_clean_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CAN_POWELL;
|
||||
descriptionShort = $STR_FOOD_DESC_CAN_POWELL;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,600,0,0};
|
||||
|
||||
consumeOutput = "FoodCanPowellEmpty";
|
||||
};
|
||||
|
||||
class FoodCanTylers : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\can_tylers_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_can_tylers_clean_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CAN_TYLERS;
|
||||
descriptionShort = $STR_FOOD_DESC_CAN_TYLERS;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,330,0,0};
|
||||
|
||||
consumeOutput = "FoodCanTylersEmpty";
|
||||
};
|
||||
|
||||
class FoodCanUnlabeled : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\can_unlabeled_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_can_unlabeled_clean_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CAN_UNLABELED;
|
||||
descriptionShort = $STR_FOOD_DESC_CAN_UNLABELED;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,550,0,0};
|
||||
|
||||
consumeOutput = "FoodCanUnlabeledEmpty";
|
||||
};
|
||||
|
||||
class FoodCanRusUnlabeled : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\can_small_unlabeled_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_can_small_rus_unlabeled_clean_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CAN_UNLABELED;
|
||||
descriptionShort = $STR_FOOD_DESC_CAN_UNLABELED;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,450,0,0};
|
||||
|
||||
consumeOutput = "FoodCanRusUnlabeledEmpty";
|
||||
};
|
||||
|
||||
class FoodCanRusStew : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\can_small_rus_stew_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_can_small_rus_stew_clean_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CAN_RUS_STEW;
|
||||
descriptionShort = $STR_FOOD_DESC_CAN_RUS_STEW;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,700,350,0};
|
||||
|
||||
consumeOutput = "FoodCanRusStewEmpty";
|
||||
};
|
||||
|
||||
class FoodCanRusPork : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\can_small_rus_pork_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_can_small_rus_pork_clean_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CAN_RUS_PORK;
|
||||
descriptionShort = $STR_FOOD_DESC_CAN_RUS_PORK;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,700,350,0};
|
||||
|
||||
consumeOutput = "FoodCanRusPorkEmpty";
|
||||
};
|
||||
|
||||
class FoodCanRusPeas : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\can_small_rus_peas_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_can_small_rus_peas_clean_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CAN_RUS_PEAS;
|
||||
descriptionShort = $STR_FOOD_DESC_CAN_RUS_PEAS;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,450,0,0};
|
||||
|
||||
consumeOutput = "FoodCanRusPeasEmpty";
|
||||
};
|
||||
|
||||
class FoodCanRusMilk : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\can_small_rus_milk_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_can_small_rus_milk_clean_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CAN_RUS_MILK;
|
||||
descriptionShort = $STR_FOOD_DESC_CAN_RUS_MILK;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,380,320,0};
|
||||
|
||||
consumeOutput = "FoodCanRusMilkEmpty";
|
||||
};
|
||||
|
||||
class FoodCanRusCorn : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\can_small_rus_corn_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_can_small_rus_corn_clean_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CAN_RUS_CORN;
|
||||
descriptionShort = $STR_FOOD_DESC_CAN_RUS_CORN;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,380,0,0};
|
||||
|
||||
consumeOutput = "FoodCanRusCornEmpty";
|
||||
};
|
||||
|
||||
class FoodChipsSulahoops : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\bag_chips_small_sulahoops_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_bag_chips_small_sulahoops_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CHIPS_SULAHOOPS;
|
||||
descriptionShort = $STR_FOOD_DESC_CHIPS_SULAHOOPS;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,450,0,0};
|
||||
|
||||
consumeOutput = "FoodChipsSulahoopsEmpty";
|
||||
consumeSound = "eat_chips";
|
||||
};
|
||||
|
||||
class FoodChipsMysticales : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\bag_chips_small_mysticales_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_bag_chips_small_mysticales_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CHIPS_MYSTICALES;
|
||||
descriptionShort = $STR_FOOD_DESC_CHIPS_MYSTICALES;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,460,0,0};
|
||||
|
||||
consumeOutput = "FoodChipsMysticalesEmpty";
|
||||
consumeSound = "eat_chips";
|
||||
};
|
||||
|
||||
class FoodChipsChocolate : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\bag_chips_small_chocolate_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_bag_chips_small_chocolate_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CHIPS_CHOCOLATE;
|
||||
descriptionShort = $STR_FOOD_DESC_CHIPS_CHOCOLATE;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {300,500,0,0};
|
||||
|
||||
consumeSound = "eat_chips";
|
||||
};
|
||||
|
||||
class FoodCandyChubby : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\candybar_chubby_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_candybar_chubby_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CANDY_CHUBBY;
|
||||
descriptionShort = $STR_FOOD_DESC_CANDY_CHUBBY;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,400,0,0};
|
||||
|
||||
//consumeSound = "eat_chips";
|
||||
};
|
||||
|
||||
class FoodCandyAnders : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\candybar_anders_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_candybar_anders_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CANDY_ANDERS;
|
||||
descriptionShort = $STR_FOOD_DESC_CANDY_ANDERS;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,400,0,0};
|
||||
|
||||
//consumeSound = "eat_chips";
|
||||
};
|
||||
|
||||
class FoodCandyLegacys : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\candybar_legacys_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_candybar_legacys_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CANDY_LEGACYS;
|
||||
descriptionShort = $STR_FOOD_DESC_CANDY_LEGACYS;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {350,380,320,0};
|
||||
|
||||
//consumeSound = "eat_chips";
|
||||
};
|
||||
|
||||
class FoodCakeCremeCakeClean : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\twinkie.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_bag_twinkie_clean.paa";
|
||||
displayName = $STR_FOOD_NAME_CAKE_Creme_Cake_CLEAN;
|
||||
descriptionShort = $STR_FOOD_DESC_CAKE_Creme_Cake_CLEAN;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {350,380,320,0};
|
||||
|
||||
//consumeSound = "eat_chips";
|
||||
};
|
||||
|
||||
class FoodCandyMintception : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\candybar_mintception_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_candybar_mintception_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CANDY_MINTCEPTION;
|
||||
descriptionShort = $STR_FOOD_DESC_CANDY_MINTCEPTION;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {300,380,340,0};
|
||||
|
||||
//consumeSound = "eat_chips";
|
||||
};
|
||||
|
||||
/*class FoodCanLongSprats : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\can_long_sprat_clean_full_co.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_can_long_sprat_clean_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CAN_LONG_SPRATS;
|
||||
descriptionShort = $STR_FOOD_DESC_CAN_LONG_SPRATS;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {50,100,20,0};
|
||||
};*/
|
||||
|
||||
class FoodCanBakedBeans : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_equip\models\food_bbtin.p3d";
|
||||
picture = "\dayz_equip\textures\equip_bbtin_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_26;
|
||||
descriptionShort = $STR_EQUIP_DESC_26;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,400,320,0};
|
||||
|
||||
consumeOutput = "FoodCanUnlabeledEmpty";
|
||||
};
|
||||
|
||||
class FoodCanSardines : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_equip\models\food_sardinestin.p3d";
|
||||
picture = "\dayz_equip\textures\equip_Sardinestin_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_27;
|
||||
descriptionShort = $STR_EQUIP_DESC_27;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,450,320,0};
|
||||
|
||||
consumeOutput = "FoodCanUnlabeledEmpty";
|
||||
};
|
||||
|
||||
class FoodCanFrankBeans : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_equip\models\food_fbtin.p3d";
|
||||
picture = "\dayz_equip\textures\equip_fbtin_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_28;
|
||||
descriptionShort = $STR_EQUIP_DESC_28;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,450,320,0};
|
||||
|
||||
consumeOutput = "FoodCanUnlabeledEmpty";
|
||||
};
|
||||
|
||||
class FoodCanPasta : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_equip\models\food_pastatin.p3d";
|
||||
picture = "\dayz_equip\textures\equip_pastatin_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_29;
|
||||
descriptionShort = $STR_EQUIP_DESC_29;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,500,0,0};
|
||||
|
||||
consumeOutput = "FoodCanUnlabeledEmpty";
|
||||
};
|
||||
259
SQF/dayz_code/Configs/CfgMagazines/Consumables/Soda.hpp
Normal file
259
SQF/dayz_code/Configs/CfgMagazines/Consumables/Soda.hpp
Normal file
@@ -0,0 +1,259 @@
|
||||
class ItemSodaCoke : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_equip\models\soda_coke.p3d";
|
||||
picture = "\dayz_equip\textures\equip_soda_coke_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_36a;
|
||||
descriptionShort = $STR_EQUIP_DESC_36;
|
||||
|
||||
Nutrition[] = {90,0,300,0};
|
||||
};
|
||||
|
||||
class ItemSodaPepsi : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_equip\models\soda_pepsi.p3d";
|
||||
picture = "\dayz_equip\textures\equip_soda_pepsi_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_36b;
|
||||
descriptionShort = $STR_EQUIP_DESC_36;
|
||||
|
||||
Nutrition[] = {90,0,300,0};
|
||||
};
|
||||
|
||||
class ItemSodaMdew : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_equip\models\soda_mdew.p3d";
|
||||
picture = "\dayz_equip\textures\equip_soda_mdew_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_37;
|
||||
descriptionShort = $STR_EQUIP_NAME_37;
|
||||
|
||||
Nutrition[] = {90,0,400,0};
|
||||
};
|
||||
|
||||
class ItemSodaMtngreen : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\soda_mtngreen_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_mtngreen_clean_full_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_37;
|
||||
descriptionShort = $STR_EQUIP_NAME_37;
|
||||
|
||||
Nutrition[] = {90,0,500,0};
|
||||
|
||||
consumeOutput = "ItemSodaMtngreenEmpty";
|
||||
};
|
||||
|
||||
class ItemSodaR4z0r : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\soda_r4z0r_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_r4z0r_clean_full_ca.paa";
|
||||
displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_1;
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_1;
|
||||
|
||||
Nutrition[] = {90,0,350,0};
|
||||
|
||||
consumeOutput = "ItemSodaR4z0rEmpty";
|
||||
};
|
||||
|
||||
class ItemSodaClays : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\soda_clays_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_clays_clean_full_ca.paa";
|
||||
displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_2;
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_2;
|
||||
|
||||
Nutrition[] = {90,0,320,0};
|
||||
|
||||
consumeOutput = "ItemSodaClaysEmpty";
|
||||
};
|
||||
|
||||
class ItemSodaSmasht : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\soda_smasht_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_smasht_clean_full_ca.paa";
|
||||
displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_3;
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_3;
|
||||
|
||||
Nutrition[] = {90,0,380,0};
|
||||
|
||||
consumeOutput = "ItemSodaSmashtEmpty";
|
||||
};
|
||||
|
||||
class ItemSodaDrwaste : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\soda_drwaste_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_drwaste_clean_full_ca.paa";
|
||||
displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_4;
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_4;
|
||||
|
||||
Nutrition[] = {90,0,340,0};
|
||||
|
||||
consumeOutput = "ItemSodaDrwasteEmpty";
|
||||
};
|
||||
|
||||
class ItemSodaFranka : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\soda_franka_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_franka_clean_full_ca.paa";
|
||||
displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_5;
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_5;
|
||||
|
||||
Nutrition[] = {90,0,340,0};
|
||||
|
||||
consumeOutput = "ItemSodaFrankaEmpty";
|
||||
};
|
||||
|
||||
class ItemSodaLemonade : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\soda_lemonade_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_lemonade_clean_full_ca.paa";
|
||||
displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_6;
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_6;
|
||||
|
||||
Nutrition[] = {90,0,500,0};
|
||||
|
||||
consumeOutput = "ItemSodaLemonadeEmpty";
|
||||
};
|
||||
|
||||
class ItemSodaLirik : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\soda_lirik_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_lirik_clean_full_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_36a;
|
||||
descriptionShort = $STR_EQUIP_DESC_36;
|
||||
|
||||
Nutrition[] = {90,0,300,0};
|
||||
|
||||
consumeOutput = "ItemSodaLirikEmpty";
|
||||
};
|
||||
|
||||
class ItemSodaLvg : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\soda_lvg_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_lvg_clean_full_ca.paa";
|
||||
displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_8;
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_8;
|
||||
|
||||
Nutrition[] = {90,0,550,0};
|
||||
|
||||
consumeOutput = "ItemSodaLvgEmpty";
|
||||
};
|
||||
|
||||
class ItemSodaMzly : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\soda_mzly_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_mzly_clean_full_ca.paa";
|
||||
displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_9;
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_9;
|
||||
|
||||
Nutrition[] = {90,0,380,0};
|
||||
|
||||
consumeOutput = "ItemSodaMzlyEmpty";
|
||||
};
|
||||
|
||||
class ItemSodaPeppsy : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\soda_peppsy_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_peppsy_clean_full_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_36b;
|
||||
descriptionShort = $STR_EQUIP_DESC_36;
|
||||
|
||||
Nutrition[] = {90,0,300,0};
|
||||
|
||||
consumeOutput = "ItemSodaPeppsyEmpty";
|
||||
};
|
||||
|
||||
class ItemSodaRabbit : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\soda_rabbit_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_rabbit_clean_full_ca.paa";
|
||||
displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_11;
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_11;
|
||||
|
||||
Nutrition[] = {90,0,550,0};
|
||||
|
||||
consumeOutput = "ItemSodaRabbitEmpty";
|
||||
};
|
||||
|
||||
class ItemSodaSacrite : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\soda_sacrite_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_sacrite_clean_full_ca.paa";
|
||||
displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_12;
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_12;
|
||||
|
||||
Nutrition[] = {90,0,550,0};
|
||||
|
||||
consumeOutput = "ItemSodaSacriteEmpty";
|
||||
};
|
||||
|
||||
class ItemSodaRocketFuel : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\soda_rocket_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_rocket_clean_full_ca.paa";
|
||||
displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_13;
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_13;
|
||||
|
||||
Nutrition[] = {90,0,550,0};
|
||||
|
||||
consumeOutput = "ItemSodaRocketFuelEmpty";
|
||||
};
|
||||
|
||||
class ItemSodaGrapeDrink : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\soda_grape_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_grape_clean_full_ca.paa";
|
||||
displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_14;
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_14;
|
||||
|
||||
Nutrition[] = {90,0,700,0};
|
||||
|
||||
consumeOutput = "ItemSodaGrapeDrinkEmpty";
|
||||
};
|
||||
|
||||
class ItemSherbet : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\soda_sherbet_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_sherbet_clean_full_ca.paa";
|
||||
displayName = "Sherbet";//TODO: move to stringtable
|
||||
descriptionShort = "Sherbet";
|
||||
|
||||
Nutrition[] = {90,0,500,0};
|
||||
|
||||
consumeOutput = "ItemSodaSherbetEmpty";
|
||||
};
|
||||
@@ -0,0 +1,56 @@
|
||||
class ItemWaterBottle : FoodDrink
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\waterbottle.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\textures\waterbottle.paa";
|
||||
displayName = $STR_EQUIP_NAME_12;
|
||||
descriptionShort = $STR_EQUIP_DESC_12;
|
||||
|
||||
Nutrition[] = {0,0,1000,0};
|
||||
|
||||
infectionChance = 0.3;
|
||||
|
||||
consumeOutput = "ItemWaterBottleUnfilled";
|
||||
|
||||
containerEmpty = "ItemWaterBottleUnfilled";
|
||||
|
||||
class ItemActions : ItemActions
|
||||
{
|
||||
class Consume : Consume
|
||||
{
|
||||
};
|
||||
|
||||
class Empty
|
||||
{
|
||||
text = "Empty";//TODO: move to stringtable
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemWaterBottleInfected : ItemWaterBottle
|
||||
{
|
||||
infectionChance = 1;
|
||||
};
|
||||
|
||||
class ItemWaterBottleSafe : ItemWaterBottle
|
||||
{
|
||||
infectionChance = 0;
|
||||
};
|
||||
|
||||
class ItemWaterBottleBoiled : ItemWaterBottle
|
||||
{
|
||||
displayName = $STR_ITEMWATERBOTTLEBOILED_CODE_NAME;
|
||||
descriptionShort = $STR_ITEMWATERBOTTLEBOILED_CODE_DESC;
|
||||
|
||||
infectionChance = 0;
|
||||
};
|
||||
|
||||
class ItemWaterBottleHerbal : ItemWaterBottle
|
||||
{
|
||||
displayName = $STR_ITEM_NAME_HerbalDrink;
|
||||
descriptionShort = $STR_ITEM_DESC_HerbalDrink;
|
||||
|
||||
infectionChance = -0.5;
|
||||
};
|
||||
62
SQF/dayz_code/Configs/CfgMagazines/Crafting/Crafting.hpp
Normal file
62
SQF/dayz_code/Configs/CfgMagazines/Crafting/Crafting.hpp
Normal file
@@ -0,0 +1,62 @@
|
||||
//class CfgMagazines
|
||||
|
||||
//No Models
|
||||
|
||||
#include "equip_crossbow_kit.hpp"
|
||||
#include "equip_aa_battery.hpp"
|
||||
#include "equip_cable_tie.hpp"
|
||||
#include "equip_connector_i.hpp"
|
||||
#include "equip_connector_L.hpp"
|
||||
#include "equip_connector_T.hpp"
|
||||
#include "equip_d_battery.hpp"
|
||||
#include "equip_duct_tape.hpp"
|
||||
#include "equip_empty_barrel.hpp"
|
||||
#include "equip_garlic_bulb.hpp"
|
||||
#include "equip_herb_box.hpp"
|
||||
#include "equip_hobo_fishing_kit.hpp"
|
||||
#include "equip_hose.hpp"
|
||||
#include "equip_hose_clamp.hpp"
|
||||
#include "equip_laser.hpp"
|
||||
//#include "equip_metal_rod.hpp" //not sure why called metal rod? changed to tent poles
|
||||
#include "equip_metal_sheet.hpp"
|
||||
#include "equip_metal_sheet_rusted.hpp"
|
||||
#include "equip_nails.hpp"
|
||||
#include "equip_needle.hpp"
|
||||
#include "equip_note.hpp"
|
||||
#include "equip_paint.hpp"
|
||||
//#include "equip_part_camo.hpp"
|
||||
//#include "equip_part_silencer.hpp"
|
||||
#include "equip_pvc_box.hpp"
|
||||
#include "equip_rope.hpp"
|
||||
#include "equip_slugsinacan.hpp"
|
||||
#include "equip_string.hpp"
|
||||
#include "equip_tent_poles.hpp"
|
||||
#include "equip_tin_powder.hpp"
|
||||
#include "equip_wood_pallet.hpp"
|
||||
#include "equip_woodensplint.hpp"
|
||||
#include "equip_feathers.hpp"
|
||||
|
||||
//no images
|
||||
//#include "equip_metal_rod.hpp"
|
||||
//#include "equip_rubber_tube.hpp"
|
||||
//#include "equip_fuse.hpp"
|
||||
//#include "equip_pipecap.hpp"
|
||||
|
||||
//100% Mats to be added
|
||||
#include "equip_crossbow_stock.hpp"
|
||||
#include "equip_scrapelectronics.hpp"
|
||||
#include "equip_carbomb.hpp"
|
||||
#include "equip_rag.hpp"
|
||||
#include "equip_gauze.hpp"
|
||||
#include "equip_gauzepackaged.hpp"
|
||||
#include "equip_1inch_metal_pipe.hpp"
|
||||
#include "equip_2inch_metal_pipe.hpp"
|
||||
#include "equip_rail_screws.hpp"
|
||||
#include "equip_weapon_rails.hpp"
|
||||
#include "equip_comfreyleafs.hpp"
|
||||
#include "equip_floppywire.hpp"
|
||||
#include "equip_crate.hpp"
|
||||
//Moved to dayz_equip
|
||||
//#include "equip_brick.hpp"
|
||||
|
||||
//Need adding to loot table
|
||||
@@ -0,0 +1,9 @@
|
||||
class equip_1inch_metal_pipe : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_NAME_equip_1inch_metal_pipe;
|
||||
descriptionShort = $STR_ITEM_DESC_equip_1inch_metal_pipe;
|
||||
model = "\z\addons\dayz_communityassets\models\1in_pipe.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_1inch_metal_pipe_ca.paa";
|
||||
type = 256;
|
||||
};
|
||||
@@ -0,0 +1,9 @@
|
||||
class equip_2inch_metal_pipe : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_NAME_equip_2inch_metal_pipe;
|
||||
descriptionShort = $STR_ITEM_DESC_equip_2inch_metal_pipe;
|
||||
model = "\z\addons\dayz_communityassets\models\2in_pipe.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_2inch_metal_pipe.paa";
|
||||
type = 256;
|
||||
};
|
||||
@@ -0,0 +1,8 @@
|
||||
class equip_aa_battery : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_NAME_equip_aa_battery;
|
||||
descriptionShort = $STR_ITEM_DESC_equip_aa_battery;
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_aa_battery_ca.paa";
|
||||
type = 256;
|
||||
};
|
||||
@@ -0,0 +1,8 @@
|
||||
class equip_cable_tie : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_NAME_equip_cable_tie;
|
||||
descriptionShort = $STR_ITEM_DESC_equip_cable_tie;
|
||||
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_cable_tie.paa";
|
||||
type = 256;
|
||||
};
|
||||
@@ -0,0 +1,16 @@
|
||||
|
||||
class ItemCarBomb : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = (2*256);
|
||||
displayName = "Car Bomb";
|
||||
model = "\ca\weapons\explosive.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\carbomb.paa";
|
||||
descriptionShort = "Can be attached to a vehicles engine and then automaticly explode when the next player enters the drivers seat!";
|
||||
class ItemActions {
|
||||
class Use {
|
||||
text = "Attach Carbomb";
|
||||
script = "spawn player_attach_bomb;";
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,9 @@
|
||||
class equip_comfreyleafs : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_NAME_equip_comfreyleafs;
|
||||
descriptionShort = $STR_ITEM_DESC_equip_comfreyleafs;
|
||||
model = "\z\addons\dayz_communityassets\models\comfrey.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_comfrey_CA.paa";
|
||||
type = 256;
|
||||
};
|
||||
@@ -0,0 +1,9 @@
|
||||
class Item_coni : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_DESC_equip_con_i;
|
||||
descriptionShort = $STR_ITEM_NAME_equip_con_i;
|
||||
model = "z\addons\dayz_communityassets\models\connector_i.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_connector_i_ca.paa";
|
||||
type = 256;
|
||||
};
|
||||
@@ -0,0 +1,9 @@
|
||||
class Item_Connector_I : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_DESC_equip_con_i;
|
||||
descriptionShort = $STR_ITEM_NAME_equip_con_i;
|
||||
model = "z\addons\dayz_communityassets\models\connector_I.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_connector_I_ca.paa";
|
||||
type = 256;
|
||||
};
|
||||
@@ -0,0 +1,9 @@
|
||||
class Item_Connector_L : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_DESC_equip_con_l;
|
||||
descriptionShort = $STR_ITEM_NAME_equip_con_l;
|
||||
model = "z\addons\dayz_communityassets\models\connector_L.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_connector_L_ca.paa";
|
||||
type = 256;
|
||||
};
|
||||
@@ -0,0 +1,9 @@
|
||||
class Item_Connector_T : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_DESC_equip_con_t;
|
||||
descriptionShort = $STR_ITEM_NAME_equip_con_t;
|
||||
model = "z\addons\dayz_communityassets\models\connector_T.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_connector_T_ca.paa";
|
||||
type = 256;
|
||||
};
|
||||
@@ -0,0 +1,9 @@
|
||||
class equip_crate : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_NAME_equip_crate;
|
||||
descriptionShort = $STR_ITEM_DESC_equip_crate;
|
||||
model = "\z\addons\dayz_communityassets\models\crate.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_crate.paa";
|
||||
type = (256 * 2);
|
||||
};
|
||||
@@ -0,0 +1,9 @@
|
||||
class equip_Crossbow_Kit : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_NAME_CROSSBOW_KIT;
|
||||
descriptionShort = $STR_ITEM_DESC_CROSSBOW_KIT;
|
||||
model = "\z\addons\community_crossbow\models\Crossbow_kit.p3d";
|
||||
picture = "\z\addons\community_crossbow\textures\Crossbow_kit.paa";
|
||||
type = 256;
|
||||
};
|
||||
@@ -0,0 +1,9 @@
|
||||
class equip_crossbow_stock : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = "Crossbow (Stock)";
|
||||
descriptionShort="You require a Crossbow String kit to craft this weapon";
|
||||
model = "z\addons\community_crossbow\models\crossbow_stock.p3d";
|
||||
picture = "\z\addons\community_crossbow\icons\crossbow_stock.paa";
|
||||
type = 256;
|
||||
};
|
||||
@@ -0,0 +1,8 @@
|
||||
class equip_d_battery : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_NAME_equip_d_battery;
|
||||
descriptionShort = $STR_ITEM_DESC_equip_d_battery;
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_d_battery_ca.paa";
|
||||
type = 256;
|
||||
};
|
||||
@@ -0,0 +1,9 @@
|
||||
class equip_duct_tape : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_NAME_equip_duct_tape;
|
||||
descriptionShort = $STR_ITEM_DESC_equip_duct_tape;
|
||||
model = "\z\addons\dayz_communityassets\models\duct_tape.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\tape.paa";
|
||||
type = 256;
|
||||
};
|
||||
@@ -0,0 +1,8 @@
|
||||
class equip_empty_barrel : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_NAME_equip_empty_barrel;
|
||||
descriptionShort = $STR_ITEM_DESC_equip_empty_barrel;
|
||||
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_empty_barrel.paa";
|
||||
type = 256;
|
||||
};
|
||||
@@ -0,0 +1,9 @@
|
||||
class equip_feathers : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_NAME_equip_feathers;
|
||||
descriptionShort = $STR_ITEM_DESC_equip_feathers;
|
||||
model = "\z\addons\dayz_communityassets\models\feather.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_feather_ca.paa";
|
||||
type = 256;
|
||||
};
|
||||
@@ -0,0 +1,9 @@
|
||||
class equip_floppywire : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_NAME_equip_floppywire;
|
||||
descriptionShort = $STR_ITEM_DESC_equip_floppywire;
|
||||
model = "\z\addons\dayz_communityassets\models\floppywire.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_floppywire.paa";
|
||||
type = 256;
|
||||
};
|
||||
@@ -0,0 +1,8 @@
|
||||
class equip_fuse : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_NAME_equip_fuse;
|
||||
descriptionShort = $STR_ITEM_DESC_equip_fuse;
|
||||
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_fuse.paa";
|
||||
type = 256;
|
||||
};
|
||||
@@ -0,0 +1,9 @@
|
||||
class equip_garlic_bulb : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_NAME_equip_garlic_bulb;
|
||||
descriptionShort = $STR_ITEM_DESC_equip_garlic_bulb;
|
||||
model = "\z\addons\dayz_communityassets\models\herb_garlic_bulb.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_garlic_bulb_ca.paa";
|
||||
type = 256;
|
||||
};
|
||||
10
SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_gauze.hpp
Normal file
10
SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_gauze.hpp
Normal file
@@ -0,0 +1,10 @@
|
||||
class equip_gauze : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_NAME_equip_gauze;
|
||||
descriptionShort = $STR_ITEM_DESC_equip_gauze;
|
||||
model = "\z\addons\dayz_communityassets\models\gauze.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_gauze_ca.paa";
|
||||
type = 256;
|
||||
};
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
class equip_gauzepackaged : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_NAME_equip_gauzepackaged;
|
||||
descriptionShort = $STR_ITEM_DESC_equip_gauzepackaged;
|
||||
model = "\z\addons\dayz_communityassets\models\gauze_package.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_gauze_package_ca.paa";
|
||||
type = 256;
|
||||
};
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
|
||||
class equip_herb_box : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_EQUIP_NAME_HERBBOX;
|
||||
descriptionShort = $STR_EQUIP_DESC_HERBBOX;
|
||||
model = "\z\addons\dayz_communityassets\models\herb_box.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_herb_box_ca.paa";
|
||||
};
|
||||
@@ -0,0 +1,9 @@
|
||||
class equip_hobo_fishing_kit : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = "Hobo Fishing Kit";
|
||||
descriptionShort = "Hobo Fishing Kit, catches dem fishes";
|
||||
model = "\z\addons\dayz_communityassets\models\hobofishingkit.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_hobofishingkit_ca.paa";
|
||||
type = 256;
|
||||
};
|
||||
@@ -0,0 +1,9 @@
|
||||
class equip_hose : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_NAME_equip_hose;
|
||||
descriptionShort = $STR_ITEM_DESC_equip_hose;
|
||||
model = "\z\addons\dayz_communityassets\models\hose.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_hose.paa";
|
||||
type = 256;
|
||||
};
|
||||
@@ -0,0 +1,9 @@
|
||||
class equip_hose_clamp : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_NAME_equip_hose_clamp;
|
||||
descriptionShort = $STR_ITEM_DESC_equip_hose_clamp;
|
||||
model = "\z\addons\dayz_communityassets\models\hose_clamp.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_hoseclamp_ca.paa";
|
||||
type = 256;
|
||||
};
|
||||
@@ -0,0 +1,8 @@
|
||||
class equip_laser : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_NAME_equip_laser;
|
||||
descriptionShort = $STR_ITEM_DESC_equip_laser;
|
||||
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_laser.paa";
|
||||
type = 256;
|
||||
};
|
||||
@@ -0,0 +1,9 @@
|
||||
class equip_metal_rod : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_NAME_equip_metal_rod;
|
||||
descriptionShort = $STR_ITEM_DESC_equip_metal_rod;
|
||||
//model = "z\addons\dayz_communityassets\models\xxxx.p3d";
|
||||
//picture = "\z\addons\dayz_communityassets\pictures\xxxx.paa";
|
||||
type = 256;
|
||||
};
|
||||
@@ -0,0 +1,9 @@
|
||||
class equip_metal_sheet : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_NAME_equip_metal_sheet;
|
||||
descriptionShort = $STR_ITEM_DESC_equip_metal_sheet;
|
||||
model = "\z\addons\dayz_communityassets\models\metal_sheet_clean.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_metal_sheet.paa";
|
||||
type = 256;
|
||||
};
|
||||
@@ -0,0 +1,9 @@
|
||||
class equip_metal_sheet_rusted : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_NAME_equip_metal_sheet_rusted;
|
||||
descriptionShort = $STR_ITEM_DESC_equip_metal_sheet_rusted;
|
||||
model = "\z\addons\dayz_communityassets\models\metal_sheet_rusted.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_metal_sheet_rusted.paa";
|
||||
type = 256;
|
||||
};
|
||||
@@ -0,0 +1,9 @@
|
||||
class equip_nails : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_NAME_equip_nails;
|
||||
descriptionShort = $STR_ITEM_DESC_equip_nails;
|
||||
model = "\z\addons\dayz_communityassets\models\nails.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_nails_ca.paa";
|
||||
type = 256;
|
||||
};
|
||||
@@ -0,0 +1,8 @@
|
||||
class equip_needle : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_NAME_equip_needle;
|
||||
descriptionShort = $STR_ITEM_DESC_equip_needle;
|
||||
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_needle.paa";
|
||||
type = 256;
|
||||
};
|
||||
@@ -0,0 +1,8 @@
|
||||
class equip_note : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_NAME_equip_note;
|
||||
descriptionShort = $STR_ITEM_DESC_equip_note;
|
||||
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_note.paa";
|
||||
type = 256;
|
||||
};
|
||||
@@ -0,0 +1,8 @@
|
||||
class equip_paint : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_NAME_equip_paint;
|
||||
descriptionShort = $STR_ITEM_DESC_equip_paint;
|
||||
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_paint.paa";
|
||||
type = 256;
|
||||
};
|
||||
@@ -0,0 +1,8 @@
|
||||
class equip_paper_sheet : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_NAME_equip_paper_sheet;
|
||||
descriptionShort = $STR_ITEM_DESC_equip_paper_sheet;
|
||||
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_paper_sheet.paa";
|
||||
type = 256;
|
||||
};
|
||||
@@ -0,0 +1,8 @@
|
||||
class equip_part_camo : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_NAME_equip_part_camo;
|
||||
descriptionShort = $STR_ITEM_DESC_equip_part_camo;
|
||||
picture = "\z\addons\dayz_communityassets\textures\equip_part_camo.paa";
|
||||
type = 256;
|
||||
};
|
||||
@@ -0,0 +1,8 @@
|
||||
class equip_part_silencer : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_NAME_equip_part_silencer;
|
||||
descriptionShort = $STR_ITEM_DESC_equip_part_silencer;
|
||||
picture = "\z\addons\dayz_communityassets\textures\equip_silencer_ca.paa";
|
||||
type = 256;
|
||||
};
|
||||
@@ -0,0 +1,8 @@
|
||||
class equip_part_sniper_scope : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ATTACHMENT_NAME_Sniper_Scope;
|
||||
descriptionShort = $STR_ATTACHMENT_DESC_Sniper_Scope;
|
||||
picture = "\z\addons\dayz_communityassets\textures\equip_scope_ca.paa";
|
||||
type = 256;
|
||||
};
|
||||
@@ -0,0 +1,8 @@
|
||||
class equip_pipecap : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_NAME_equip_pipecap;
|
||||
descriptionShort = $STR_ITEM_DESC_equip_pipecap;
|
||||
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_pipecap.paa";
|
||||
type = 256;
|
||||
};
|
||||
@@ -0,0 +1,9 @@
|
||||
class equip_pvc_box : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_NAME_equip_pvc_box;
|
||||
descriptionShort = $STR_ITEM_DESC_equip_pvc_box;
|
||||
model = "\z\addons\dayz_communityassets\models\plastic_box.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_plastic_box_ca.paa";
|
||||
type = 256;
|
||||
};
|
||||
@@ -0,0 +1,9 @@
|
||||
class equip_rag : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_NAME_equip_rag;
|
||||
descriptionShort = $STR_ITEM_DESC_equip_rag;
|
||||
model = "\z\addons\dayz_communityassets\models\rag_clean.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_rag_clean_ca.paa";
|
||||
type = 256;
|
||||
};
|
||||
@@ -0,0 +1,8 @@
|
||||
class equip_rail_screws : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_NAME_equip_rail_screws;
|
||||
descriptionShort = $STR_ITEM_DESC_equip_rail_screws;
|
||||
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_part_somegeneric.paa";
|
||||
type = 256;
|
||||
};
|
||||
21
SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_rope.hpp
Normal file
21
SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_rope.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
class equip_rope : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_NAME_equip_rope;
|
||||
descriptionShort = $STR_ITEM_DESC_equip_rope;
|
||||
model = "\z\addons\dayz_communityassets\models\rope.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_rope_ca.paa";
|
||||
type = 256;
|
||||
class ItemActions
|
||||
{
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_BLD_craft_equip_rope;//"String"
|
||||
script = "spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {""};
|
||||
output[] = {{"equip_string","CfgMagazines",3}};
|
||||
input[] = {{"equip_rope","CfgMagazines",1}};
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,8 @@
|
||||
class equip_rubber_tube : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_NAME_equip_rubber_tube;
|
||||
descriptionShort = $STR_ITEM_DESC_equip_rubber_tube;
|
||||
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_rubber_tube.paa";
|
||||
type = 256;
|
||||
};
|
||||
@@ -0,0 +1,9 @@
|
||||
class equip_scrapelectronics : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_NAME_equip_scrapelectronics;
|
||||
descriptionShort = $STR_ITEM_DESC_equip_scrapelectronics;
|
||||
model = "\z\addons\dayz_communityassets\models\scrapelectronics.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\scrapelectronics.paa";
|
||||
type = 256;
|
||||
};
|
||||
@@ -0,0 +1,10 @@
|
||||
class equip_slugsinacan : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = "Slugs in a can";
|
||||
descriptionShort = "Slugs in a can";
|
||||
model = "\z\addons\dayz_communityassets\models\slugsinacan.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_sluginacan.paa";
|
||||
type = 256;
|
||||
};
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
class equip_string : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_NAME_equip_string;
|
||||
descriptionShort = $STR_ITEM_DESC_equip_string;
|
||||
model = "\z\addons\dayz_communityassets\models\string.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_string_ca.paa";
|
||||
type = 256;
|
||||
};
|
||||
@@ -0,0 +1,9 @@
|
||||
class equip_tent_poles : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_NAME_equip_tent_poles;
|
||||
descriptionShort = $STR_ITEM_DESC_tent_poles;
|
||||
model = "z\addons\dayz_communityassets\models\1m_pole_6.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_1m_pole_6_ca.paa";
|
||||
type = 256;
|
||||
};
|
||||
@@ -0,0 +1,9 @@
|
||||
class equip_tin_powder : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = "Tin of Powder";
|
||||
descriptionShort = "Tin of Powder has medicinal qualities";
|
||||
model = "\z\addons\dayz_communityassets\models\tin_powder.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_tin_powder_co.paa";
|
||||
type = 256;
|
||||
};
|
||||
@@ -0,0 +1,8 @@
|
||||
class equip_weapon_rails: CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_NAME_equip_weapon_rails;
|
||||
descriptionShort = $STR_ITEM_DESC_equip_weapon_rails;
|
||||
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_part_somegeneric.paa";
|
||||
type = 256;
|
||||
};
|
||||
@@ -0,0 +1,9 @@
|
||||
class equip_wood_pallet : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_NAME_equip_wood_pallet;
|
||||
descriptionShort = $STR_ITEM_DESC_equip_wood_pallet;
|
||||
model = "\z\addons\dayz_communityassets\models\wooden_pallet.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_wpallet_ca.paa";
|
||||
type = 256;
|
||||
};
|
||||
@@ -0,0 +1,16 @@
|
||||
class equip_woodensplint : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_NAME_WOODENSPLINT;
|
||||
descriptionShort = $STR_ITEM_DESC_WOODENSPLINT;
|
||||
model = "\z\addons\dayz_communityassets\models\woodensplint.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_woodensplint_ca.paa";
|
||||
type = 256;
|
||||
class ItemActions {
|
||||
class Use {
|
||||
text = $STR_ACTIONS_BRACE_LEG;
|
||||
script = "spawn player_useMeds;";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
57
SQF/dayz_code/Configs/CfgMagazines/Items/BearTrap.hpp
Normal file
57
SQF/dayz_code/Configs/CfgMagazines/Items/BearTrap.hpp
Normal file
@@ -0,0 +1,57 @@
|
||||
class TrapBear : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\dayz_equip\models\bear_trap_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_bear_trap_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_BEARTRAP;
|
||||
descriptionShort = $STR_EQUIP_DESC_BEARTRAP;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTION_BUILD;
|
||||
script = "; [_id,'Build'] spawn player_build; r_action_count = r_action_count + 1;";
|
||||
require[] = {"ItemToolbox"};
|
||||
consume[] = {"TrapBear"};
|
||||
create = "BearTrap_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemTrapBearTrapFlare : TrapBear
|
||||
{
|
||||
model = "z\addons\dayz_communityassets\models\trap_beartrap_dropped_flare.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_trap_beartrap_dropped_flare.paa";
|
||||
displayName = $STR_ITEM_NAME_BEAR_TRAP_FLARE;
|
||||
descriptionShort = $STR_ITEM_DESC_BEAR_TRAP_FLARE;
|
||||
|
||||
class ItemActions : ItemActions
|
||||
{
|
||||
class Build : Build
|
||||
{
|
||||
consume[] = {"ItemTrapBearTrapFlare"};
|
||||
create = "TrapBearTrapFlare";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemTrapBearTrapSmoke : TrapBear
|
||||
{
|
||||
model = "z\addons\dayz_communityassets\models\trap_beartrap_dropped_smoke.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_trap_beartrap_dropped_smoke.paa";
|
||||
displayName = $STR_ITEM_NAME_BEAR_TRAP_SMOKE;
|
||||
descriptionShort = $STR_ITEM_DESC_BEAR_TRAP_SMOKE;
|
||||
|
||||
class ItemActions : ItemActions
|
||||
{
|
||||
class Build : Build
|
||||
{
|
||||
consume[] = {"ItemTrapBearTrapSmoke"};
|
||||
create = "TrapBearTrapSmoke";
|
||||
};
|
||||
};
|
||||
};
|
||||
43
SQF/dayz_code/Configs/CfgMagazines/Items/CamoNet.hpp
Normal file
43
SQF/dayz_code/Configs/CfgMagazines/Items/CamoNet.hpp
Normal file
@@ -0,0 +1,43 @@
|
||||
class ItemCamoNet : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem * 3;
|
||||
|
||||
model = "\z\addons\dayz_communityassets\models\packed_net_green.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_packed_net_green_ca.paa";
|
||||
displayName = $STR_ITEM_NAME_CAMONET;
|
||||
descriptionShort = $STR_ITEM_DESC_CAMONET;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_BUILD_CAMONET;
|
||||
script = "; [_id,'Build'] spawn player_build; r_action_count = r_action_count + 1;";
|
||||
require[] = {"ItemToolbox"};
|
||||
consume[] = {"ItemCamoNet"};
|
||||
create = "CamoNet_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
/*class ItemCamoNetGrey : ItemCamoNet
|
||||
{
|
||||
model = "\z\addons\dayz_communityassets\models\packed_net_gray.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_packed_net_gray_ca.paa";
|
||||
displayName = $STR_ITEM_NAME_CAMONET;
|
||||
descriptionShort = $STR_ITEM_DESC_CAMONET;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_BUILD_CAMONET;
|
||||
script = "; ['ItemCamoNetGrey','Build'] spawn player_build; r_action_count = r_action_count + 1;";
|
||||
require[] = {"ItemToolbox"};
|
||||
consume[] = {"ItemCamoNetGrey"};
|
||||
create = "CamoNet_DZ";
|
||||
};
|
||||
};
|
||||
};*/
|
||||
21
SQF/dayz_code/Configs/CfgMagazines/Items/Canteen.hpp
Normal file
21
SQF/dayz_code/Configs/CfgMagazines/Items/Canteen.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
class ItemCanteenEmpty : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\dayz_equip\models\waterbottle_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_waterbottle_empty_ca.paa";
|
||||
displayName = $STR_ITEM_CANTEEN_EMPTY_NAME;
|
||||
descriptionShort = $STR_ITEM_CANTEEN_DESC;
|
||||
|
||||
//TODO
|
||||
/*class ItemActions
|
||||
{
|
||||
class Fill
|
||||
{
|
||||
text = $STR_ACTIONS_FILL_W;
|
||||
script = "spawn player_fillWater;";
|
||||
};
|
||||
};*/
|
||||
};
|
||||
53
SQF/dayz_code/Configs/CfgMagazines/Items/Fuel.hpp
Normal file
53
SQF/dayz_code/Configs/CfgMagazines/Items/Fuel.hpp
Normal file
@@ -0,0 +1,53 @@
|
||||
class ItemJerrycanEmpty : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem * 2;
|
||||
|
||||
model = "\dayz_equip\models\jerrycan.p3d";
|
||||
picture = "\dayz_equip\textures\equip_jerrycan_e_ca.paa";
|
||||
displayName = $STR_ITEM_NAME_JERRYCAN_EMPTY;
|
||||
descriptionShort = $STR_ITEM_DESC_JERRYCAN_EMPTY;
|
||||
|
||||
fuelQuantity = 0;
|
||||
fullcan = "ItemJerrycan";
|
||||
};
|
||||
|
||||
class ItemJerrycan : ItemJerrycanEmpty
|
||||
{
|
||||
picture = "\dayz_equip\textures\equip_jerrycan_ca.paa";
|
||||
displayName = $STR_ITEM_NAME_JERRYCAN;
|
||||
descriptionShort = $STR_ITEM_DESC_JERRYCAN;
|
||||
|
||||
fuelQuantity = 20;
|
||||
emptycan = "ItemJerrycanEmpty";
|
||||
|
||||
//used for tent burning
|
||||
fireIntensity = 6;
|
||||
};
|
||||
|
||||
class ItemFuelcanEmpty : ItemJerrycanEmpty
|
||||
{
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\fuelcan.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_fuelcan_empty_CA.paa";
|
||||
displayName = $STR_ITEM_NAME_FUELCAN_EMPTY;
|
||||
descriptionShort = $STR_ITEM_DESC_FUELCAN_EMPTY;
|
||||
|
||||
fuelQuantity = 0;
|
||||
fullcan = "ItemFuelcan";
|
||||
};
|
||||
|
||||
class ItemFuelcan : ItemFuelcanEmpty
|
||||
{
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_fuelcan_CA.paa";
|
||||
displayName = $STR_ITEM_NAME_FUELCAN;
|
||||
descriptionShort = $STR_ITEM_DESC_FUELCAN;
|
||||
|
||||
fuelQuantity = 5;
|
||||
emptycan = "ItemFuelcanEmpty";
|
||||
|
||||
//used for tent burning
|
||||
fireIntensity = 4;
|
||||
};
|
||||
23
SQF/dayz_code/Configs/CfgMagazines/Items/Generator.hpp
Normal file
23
SQF/dayz_code/Configs/CfgMagazines/Items/Generator.hpp
Normal file
@@ -0,0 +1,23 @@
|
||||
class ItemGenerator : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem * 6;
|
||||
|
||||
model = "\dayz_equip\models\generator_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_generator_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_31;
|
||||
descriptionShort = $STR_EQUIP_DESC_31;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTION_BUILD;
|
||||
script = "; [_id,'Build'] spawn player_build; r_action_count = r_action_count + 1;";
|
||||
require[] = {"ItemEtool"};
|
||||
consume[] = {"ItemGenerator"};
|
||||
create = "Generator_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
26
SQF/dayz_code/Configs/CfgMagazines/Items/Items.hpp
Normal file
26
SQF/dayz_code/Configs/CfgMagazines/Items/Items.hpp
Normal file
@@ -0,0 +1,26 @@
|
||||
#include "Fuel.hpp"
|
||||
|
||||
//Materials
|
||||
#include "Wood.hpp"
|
||||
#include "Stone.hpp"
|
||||
#include "Sandbag.hpp"
|
||||
#include "MetalFenceItems.hpp"
|
||||
|
||||
//Simple buildables
|
||||
#include "Tent.hpp"
|
||||
#include "CamoNet.hpp"
|
||||
#include "TankTrap.hpp"
|
||||
#include "WireFence.hpp"
|
||||
#include "BearTrap.hpp"
|
||||
#include "TripWire.hpp"
|
||||
|
||||
//Base stuff
|
||||
#include "Workbench.hpp"
|
||||
#include "Padlock.hpp"
|
||||
#include "Generator.hpp"
|
||||
|
||||
//Miscellaneous
|
||||
#include "equip_brick.hpp"
|
||||
#include "equip_lever.hpp"
|
||||
#include "WaterBottle.hpp"
|
||||
//#include "Canteen.hpp"
|
||||
40
SQF/dayz_code/Configs/CfgMagazines/Items/MetalFenceItems.hpp
Normal file
40
SQF/dayz_code/Configs/CfgMagazines/Items/MetalFenceItems.hpp
Normal file
@@ -0,0 +1,40 @@
|
||||
class ItemMetalSheet: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_ItemMetalSheet;//"Corrugated Sheet"
|
||||
picture = "\z\addons\dayz_buildings\equip\item_sheetmetal.paa";
|
||||
model = "z\addons\dayz_buildings\models\sheet_metal.p3d";
|
||||
descriptionShort = $STR_BLD_desc_ItemMetalSheet;//"Metal Sheeting"
|
||||
};
|
||||
class ItemConcreteBlock: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_ItemConcreteBlock;//"Concrete Block"
|
||||
picture = "\z\addons\dayz_buildings\equip\concreteblock.paa";
|
||||
model = "z\addons\dayz_buildings\models\concreteblock.p3d";
|
||||
descriptionShort = $STR_BLD_desc_ItemConcreteBlock;//"Concrete Block"
|
||||
};
|
||||
class ItemRSJ: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_ItemRSJ;//"Steel Beam"
|
||||
picture = "\z\addons\dayz_buildings\equip\item_rsj.paa";
|
||||
model = "z\addons\dayz_buildings\models\rsj.p3d";
|
||||
descriptionShort = $STR_BLD_desc_ItemRSJ;//"Steel RSJ Support Beam"
|
||||
};
|
||||
class ItemScrews: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_ItemScrews;//"Box of screws for metal"
|
||||
picture = "\z\addons\dayz_buildings\equip\item_screws.paa";
|
||||
model = "z\addons\dayz_buildings\models\screws.p3d";
|
||||
descriptionShort = $STR_BLD_desc_ItemScrews;//"Box of screws"
|
||||
};
|
||||
10
SQF/dayz_code/Configs/CfgMagazines/Items/Padlock.hpp
Normal file
10
SQF/dayz_code/Configs/CfgMagazines/Items/Padlock.hpp
Normal file
@@ -0,0 +1,10 @@
|
||||
class ItemPadlock: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_ItemPadlock;//"Padlock"
|
||||
picture = "\z\addons\dayz_buildings\equip\padlock.paa";
|
||||
model = "z\addons\dayz_buildings\models\padlock.p3d";
|
||||
descriptionShort = $STR_BLD_desc_ItemPadlock;//"Padlock - Used for securing Workshop's & Houses."
|
||||
};
|
||||
33
SQF/dayz_code/Configs/CfgMagazines/Items/Sandbag.hpp
Normal file
33
SQF/dayz_code/Configs/CfgMagazines/Items/Sandbag.hpp
Normal file
@@ -0,0 +1,33 @@
|
||||
class ItemSandbag : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\dayz_equip\models\sandbags.p3d";
|
||||
picture = "\dayz_equip\textures\equip_sandbag_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_21;
|
||||
descriptionShort = $STR_EQUIP_DESC_21;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTION_BUILD;
|
||||
script = "; [_id,'Build'] spawn player_build; r_action_count = r_action_count + 1;";
|
||||
require[] = {"ItemEtool"};
|
||||
consume[] = {"ItemSandbag"};
|
||||
create = "Sandbag1_DZ";
|
||||
byPass = "byPassRoadCheck";
|
||||
};
|
||||
|
||||
class Build2
|
||||
{
|
||||
text = $STR_CREATE_STASH;
|
||||
script = "; [_id,'Build2'] spawn player_build; r_action_count = r_action_count + 1;";
|
||||
require[] = {"ItemEtool"};
|
||||
consume[] = {"ItemSandbag"};
|
||||
create = "StashSmall";
|
||||
};
|
||||
};
|
||||
};
|
||||
10
SQF/dayz_code/Configs/CfgMagazines/Items/Stone.hpp
Normal file
10
SQF/dayz_code/Configs/CfgMagazines/Items/Stone.hpp
Normal file
@@ -0,0 +1,10 @@
|
||||
class ItemStone: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_ItemStone;//"Rough Stone"
|
||||
picture = "\z\addons\dayz_buildings\equip\rocks.paa";
|
||||
model = "z\addons\dayz_buildings\models\rocks.p3d";
|
||||
descriptionShort = $STR_BLD_desc_ItemStone;//"Rough Stone"
|
||||
};
|
||||
24
SQF/dayz_code/Configs/CfgMagazines/Items/TankTrap.hpp
Normal file
24
SQF/dayz_code/Configs/CfgMagazines/Items/TankTrap.hpp
Normal file
@@ -0,0 +1,24 @@
|
||||
class ItemTankTrap : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\dayz_equip\models\tank_trap_kit.p3d";
|
||||
picture = "\dayz_equip\textures\equip_tanktrap_kit_CA.paa";
|
||||
displayName = $STR_EQUIP_NAME_22;
|
||||
descriptionShort = $STR_EQUIP_DESC_22;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTION_BUILD;
|
||||
script = "; [_id,'Build'] spawn player_build; r_action_count = r_action_count + 1;";
|
||||
require[] = {"ItemToolbox"};
|
||||
consume[] = {"ItemTankTrap"};
|
||||
create = "Hedgehog_DZ";
|
||||
byPass = "byPassRoadCheck";
|
||||
};
|
||||
};
|
||||
};
|
||||
47
SQF/dayz_code/Configs/CfgMagazines/Items/Tent.hpp
Normal file
47
SQF/dayz_code/Configs/CfgMagazines/Items/Tent.hpp
Normal file
@@ -0,0 +1,47 @@
|
||||
class ItemTent : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem * 3;
|
||||
|
||||
model = "\dayz_equip\models\tentbag_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_tentbag_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_20;
|
||||
descriptionShort = $STR_EQUIP_DESC_20;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_PITCH_TENT;
|
||||
script = "; [_id,'Build'] spawn player_build; r_action_count = r_action_count + 1;";
|
||||
require[] = {};
|
||||
consume[] = {"ItemTent"};
|
||||
create = "TentStorage";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemDomeTent : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem * 3;
|
||||
|
||||
model = "\dayz_equip\models\tentbag_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_tentbag_ca.paa";
|
||||
displayName = $STR_VEH_NAME_DOME_TENT;
|
||||
descriptionShort = $STR_EQUIP_DESC_20;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_PITCH_DOME_TENT;
|
||||
script = "; [_id,'Build'] spawn player_build; r_action_count = r_action_count + 1;";
|
||||
require[] = {};
|
||||
consume[] = {"ItemDomeTent"};
|
||||
create = "DomeTentStorage";
|
||||
};
|
||||
};
|
||||
};
|
||||
74
SQF/dayz_code/Configs/CfgMagazines/Items/TripWire.hpp
Normal file
74
SQF/dayz_code/Configs/CfgMagazines/Items/TripWire.hpp
Normal file
@@ -0,0 +1,74 @@
|
||||
class ItemTrapTripwireCans : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\trap_tripwire_dropped_can.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_trap_tripwire_can.paa";
|
||||
displayName = $STR_ITEM_NAME_TRIPWIRE_CANS;
|
||||
descriptionShort = $STR_ITEM_DESC_TRIPWIRE_CANS;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTION_BUILD;
|
||||
script = "; [_id,'Build'] spawn player_build; r_action_count = r_action_count + 1;";
|
||||
require[] = {"ItemToolbox"};
|
||||
consume[] = {"ItemTrapTripwireCans"};
|
||||
create = "Trap_Cans";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemTrapTripwireFlare : ItemTrapTripwireCans
|
||||
{
|
||||
model = "z\addons\dayz_communityassets\models\trap_tripwire_dropped_flare.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_trap_tripwire_flare.paa";
|
||||
displayName = $STR_ITEM_NAME_TRIPWIRE_FLARE;
|
||||
descriptionShort = $STR_ITEM_DESC_TRIPWIRE_FLARE;
|
||||
|
||||
class ItemActions : ItemActions
|
||||
{
|
||||
class Build : Build
|
||||
{
|
||||
consume[] = {"ItemTrapTripwireFlare"};
|
||||
create = "TrapTripwireFlare";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemTrapTripwireGrenade : ItemTrapTripwireCans
|
||||
{
|
||||
model = "z\addons\dayz_communityassets\models\trap_tripwire_dropped_grenade.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_trap_tripwire_grenade.paa";
|
||||
displayName = $STR_ITEM_NAME_TRIPWIRE_GRENADE;
|
||||
descriptionShort = $STR_ITEM_DESC_TRIPWIRE_GRENADE;
|
||||
|
||||
class ItemActions : ItemActions
|
||||
{
|
||||
class Build : Build
|
||||
{
|
||||
consume[] = {"ItemTrapTripwireGrenade"};
|
||||
create = "TrapTripwireGrenade";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemTrapTripwireSmoke : ItemTrapTripwireCans
|
||||
{
|
||||
model = "z\addons\dayz_communityassets\models\trap_tripwire_dropped_smoke.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_trap_tripwire_smoke.paa";
|
||||
displayName = $STR_ITEM_NAME_TRIPWIRE_SMOKE;
|
||||
descriptionShort = $STR_ITEM_DESC_TRIPWIRE_SMOKE;
|
||||
|
||||
class ItemActions : ItemActions
|
||||
{
|
||||
class Build : Build
|
||||
{
|
||||
consume[] = {"ItemTrapTripwireSmoke"};
|
||||
create = "TrapTripwireSmoke";
|
||||
};
|
||||
};
|
||||
};
|
||||
45
SQF/dayz_code/Configs/CfgMagazines/Items/WaterBottle.hpp
Normal file
45
SQF/dayz_code/Configs/CfgMagazines/Items/WaterBottle.hpp
Normal file
@@ -0,0 +1,45 @@
|
||||
class ItemWaterBottleUnfilled : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\waterbottle.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\textures\waterbottle.paa";
|
||||
displayName = $STR_EQUIP_NAME_13;
|
||||
descriptionShort = $STR_EQUIP_DESC_13;
|
||||
|
||||
containerWater = "ItemWaterBottle";
|
||||
containerWaterSafe = "ItemWaterBottleSafe";
|
||||
containerWaterInfected = "ItemWaterBottleInfected";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Fill
|
||||
{
|
||||
text = $STR_ACTIONS_FILL_W;
|
||||
script = "spawn player_fillWater;";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemWaterBottleDmg : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\waterbottle_damaged.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\textures\waterbottle_damaged.paa";
|
||||
displayName = $STR_ITEMWATERBOTTLEDMG_CODE_NAME;
|
||||
descriptionShort = $STR_ITEMWATERBOTTLEDMG_CODE_DESC;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Repair
|
||||
{
|
||||
text = $STR_ACTIONS_FIX_W;
|
||||
script = "spawn player_fixBottle;";
|
||||
};
|
||||
};
|
||||
};
|
||||
24
SQF/dayz_code/Configs/CfgMagazines/Items/WireFence.hpp
Normal file
24
SQF/dayz_code/Configs/CfgMagazines/Items/WireFence.hpp
Normal file
@@ -0,0 +1,24 @@
|
||||
class ItemWire : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\dayz_equip\models\Fence_wire_kit.p3d";
|
||||
picture = "\dayz_equip\textures\equip_fencewire_kit_CA.paa";
|
||||
displayName = $STR_EQUIP_NAME_23;
|
||||
descriptionShort = $STR_EQUIP_DESC_23;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTION_BUILD;
|
||||
script = "; [_id,'Build'] spawn player_build; r_action_count = r_action_count + 1;";
|
||||
require[] = {"ItemToolbox"};
|
||||
consume[] = {"ItemWire"};
|
||||
create = "Wire_cat1";
|
||||
byPass = "byPassRoadCheck";
|
||||
};
|
||||
};
|
||||
};
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user