mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
23 lines
621 B
C++
23 lines
621 B
C++
class ItemToolbox : ItemCore
|
|
{
|
|
scope = public;
|
|
model = "\dayz_equip\models\toolbox.p3d";
|
|
picture = "\dayz_equip\textures\equip_toolbox_ca.paa";
|
|
displayName = $STR_EQUIP_NAME_2;
|
|
descriptionShort = $STR_EQUIP_DESC_2;
|
|
class ItemActions
|
|
{
|
|
class RemoveNet
|
|
{
|
|
text= $STR_EQUIP_TOOLBOX_ACTION_1;
|
|
script=";[['DesertCamoNet_DZ','ForestCamoNet_DZ','DesertLargeCamoNet_DZ','ForestLargeCamoNet_DZ'],10,'str_epoch_player_8'] call player_removeNearby;";
|
|
};
|
|
};
|
|
};
|
|
|
|
class ItemToolboxBroken : ItemToolbox
|
|
{
|
|
displayName = $STR_EQUIP_NAME_2_BROKEN;
|
|
descriptionShort = $STR_EQUIP_DESC_2_BROKEN;
|
|
class ItemActions {};
|
|
}; |