Files
DayZ-Epoch/dayz_code/CfgMagazines.hpp
vbawol 70be2b1dae 0.974
+ allow cargo check on open vaults
+ added Land_HBarrier1_DZ for large sandbag crafting
+ fixed animation sources error with wood gate. fixes #109
+ fixed missing Soldier1_DZ one skin. fixes #93
2013-02-20 18:35:03 -06:00

212 lines
5.6 KiB
C++

class CfgMagazines {
class CA_Magazine; // External class reference
class ItemTent : CA_Magazine {
scope = public;
count = 1;
type = (256 * 3);
displayName = $STR_EQUIP_NAME_20;
model = "\dayz_equip\models\tentbag_gear.p3d";
picture = "\dayz_equip\textures\equip_tentbag_ca.paa";
descriptionShort = $STR_EQUIP_DESC_20;
class ItemActions {
class Pitch {
text = $STR_PITCH_TENT;
script = "spawn player_tentPitch;";
};
};
};
class ItemSandbag : CA_Magazine {
scope = public;
count = 1;
type = 256;
displayName = $STR_EQUIP_NAME_21;
model = "\dayz_equip\models\sandbags.p3d";
picture = "\dayz_equip\textures\equip_sandbag_ca.paa";
descriptionShort = $STR_EQUIP_DESC_21;
class ItemActions {
class Build {
text = "Build Sandbag";
script = "spawn player_build;";
require = "ItemEtool";
create = "Sandbag1_DZ";
};
class Crafting
{
text = "Craft Large Sandbag";
script = "spawn player_craftItem;";
output[] = {"ItemSandbagLarge"};
};
};
};
class ItemSandbagLarge : CA_Magazine {
scope = public;
count = 1;
type = 256;
displayName = "H-barrier cube";
model = "\dayz_equip\models\sandbags.p3d";
picture = "\dayz_equip\textures\equip_sandbag_ca.paa";
descriptionShort = "Sacks made of hessian and wire that can be filled with sand or soil and used for military fortification.";
class ItemActions {
class Build {
text = "Build H-barrier cube";
script = "spawn player_build;";
require = "ItemEtool";
create = "Land_HBarrier1_DZ";
};
};
};
class ItemTankTrap : CA_Magazine {
scope = public;
count = 1;
type = 256;
displayName = $STR_EQUIP_NAME_22;
model = "\dayz_equip\models\tank_trap_kit.p3d";
picture = "\dayz_equip\textures\equip_tanktrap_kit_CA.paa";
descriptionShort = $STR_EQUIP_DESC_22;
class ItemActions {
class Build {
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require = "ItemToolbox";
create = "Hedgehog_DZ";
};
};
};
class TrapBear : CA_Magazine {
scope = public;
count = 1;
type = 256;
displayName = "Bear Trap";
model = "\dayz_equip\models\bear_trap_gear.p3d";
picture = "\dayz_equip\textures\equip_bear_trap_ca.paa";
descriptionShort = "Place to add a bear trap";
class ItemActions {
class Build {
text = "Place Trap";
script = "spawn player_setTrap;";
require = "ItemToolbox";
create = "BearTrap_DZ";
};
};
};
class ItemWire : CA_Magazine {
scope = public;
count = 1;
type = 256;
displayName = $STR_EQUIP_NAME_23;
model = "\dayz_equip\models\Fence_wire_kit.p3d";
picture = "\dayz_equip\textures\equip_fencewire_kit_CA.paa";
descriptionShort = $STR_EQUIP_DESC_23;
class ItemActions {
class Build {
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require = "ItemToolbox";
create = "Fort_RazorWire";
};
};
};
class FoodEdible;
class FoodmeatRaw : FoodEdible {
scope = public;
count = 1;
type = 256;
displayName = $STR_FOOD_EQIP_CODE_NAME_0;
model = "\dayz_equip\models\food_steak_gear.p3d";
picture = "\dayz_equip\textures\equip_steak_ca.paa";
descriptionShort = $STR_FOOD_EQUIP_CODE_DESC_0;
bloodRegen = 100;
};
class FoodmuttonRaw : FoodmeatRaw {
displayName = $STR_FOOD_EQIP_CODE_NAME_1;
descriptionShort = $STR_FOOD_EQUIP_CODE_DESC_1;
bloodRegen = 100;
};
class FoodchickenRaw : FoodmeatRaw {
displayName = $STR_FOOD_EQIP_CODE_NAME_2;
descriptionShort = $STR_FOOD_EQUIP_CODE_DESC_2;
bloodRegen = 100;
};
class FoodrabbitRaw : FoodmeatRaw {
displayName = $STR_FOOD_EQIP_CODE_NAME_3;
descriptionShort = $STR_FOOD_EQUIP_CODE_DESC_3;
bloodRegen = 400;
};
class FoodbaconRaw : FoodmeatRaw {
displayName = $STR_FOOD_EQIP_CODE_NAME_4;
descriptionShort = $STR_FOOD_EQUIP_CODE_DESC_4;
bloodRegen = 150;
};
class FoodbeefRaw : FoodmeatRaw {
displayName = $STR_FOOD_EQIP_CODE_NAME_6;
descriptionShort = $STR_FOOD_EQUIP_CODE_DESC_6;
bloodRegen = 100;
};
class FoodmeatCooked : FoodEdible {
scope = public;
count = 1;
displayName = $STR_FOODCOOKED_EQIP_CODE_NAME_0;
model = "\dayz_equip\models\food_steak_cooked_gear.p3d";
picture = "\dayz_equip\textures\equip_steak_cooked_ca.paa";
descriptionShort = $STR_FOODCOOKED_EQUIP_CODE_DESC_0;
bloodRegen = 800;
};
class FoodmuttonCooked : FoodmeatCooked {
displayName = $STR_FOODCOOKED_EQIP_CODE_NAME_1;
descriptionShort = $STR_FOODCOOKED_EQUIP_CODE_DESC_1;
bloodRegen = 400;
};
class FoodchickenCooked : FoodmeatCooked {
displayName = $STR_FOODCOOKED_EQIP_CODE_NAME_2;
descriptionShort = $STR_FOODCOOKED_EQUIP_CODE_DESC_2;
bloodRegen = 400;
};
class FoodbaconCooked : FoodmeatCooked {
displayName = $STR_FOODCOOKED_EQIP_CODE_NAME_4;
descriptionShort = $STR_FOODCOOKED_EQUIP_CODE_DESC_4;
bloodRegen = 400;
};
class FoodrabbitCooked : FoodmeatCooked {
displayName = $STR_FOODCOOKED_EQIP_CODE_NAME_3;
descriptionShort = $STR_FOODCOOKED_EQUIP_CODE_DESC_3;
bloodRegen = 1600;
};
class FoodbeefCooked : FoodmeatCooked {
displayName = $STR_FOODCOOKED_EQIP_CODE_NAME_6;
descriptionShort = $STR_FOODCOOKED_EQUIP_CODE_DESC_6;
bloodRegen = 600;
};
class AngelCookies : FoodEdible {
scope = public;
count = 1;
displayName = $STR_FOODCOOKED_EQIP_CODE_NAME_5;
model = "\z\addons\dayz_communityassets\models\buiscits_box.p3d";
picture = "\z\addons\dayz_communityassets\pictures\i_buiscit_ca.paa";
descriptionShort = $STR_FOODCOOKED_EQUIP_CODE_DESC_5;
bloodRegen = 100;
};
class ItemWaterbottle;
class ItemWaterbottleBoiled : ItemWaterbottle {
displayName = $STR_ITEMWATERBOTTLEBOILED_CODE_NAME;
descriptionShort = $STR_ITEMWATERBOTTLEBOILED_CODE_DESC;
};
};