mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
24 lines
554 B
C++
24 lines
554 B
C++
class ItemWire : CA_Magazine
|
|
{
|
|
scope = 2;
|
|
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";
|
|
};
|
|
};
|
|
}; |