mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-28 18:51:50 +03:00
Rearrange CfgMagazines
This commit rearranges the complete CfgMagazines structure. We no longer have seperated folders for DayZ Mod and Epoch. All items got merged and grouped together. Unused items got moved into a folder called Not used under items.
This commit is contained in:
57
SQF/dayz_code/Configs/CfgMagazines/Buildings/BearTrap.hpp
Normal file
57
SQF/dayz_code/Configs/CfgMagazines/Buildings/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 = "spawn player_build;";
|
||||
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";
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user