Files
DayZ-Epoch/SQF/dayz_code/Configs/CfgWeapons/Tools/Etool.hpp
A Man 69408ab39f Clean up, change strings for better mod compatibility
Also streamlining the names of certain items like fuel cans, fish, meat with a status indicator behind the name.

Fix some wrong description strings.

Add blunt hatchet and wet matches.
2021-05-12 19:13:02 +02:00

32 lines
823 B
C++

class ItemEtool : ItemCore
{
scope = 2;
model = "\dayz_equip\models\etool.p3d";
picture = "\dayz_equip\textures\equip_etool_ca.paa";
displayName = $STR_EQUIP_NAME_ETOOL;
descriptionShort = $STR_EQUIP_DESC_ETOOL;
};
class ItemEtoolBroken : ItemCore
{
scope = 2;
model = "\dayz_equip\models\etool.p3d";
picture = "\dayz_epoch_c\icons\tools\ItemEtoolBroken.paa";
displayName = $STR_EQUIP_NAME_ETOOL_BROKEN;
descriptionShort = $STR_EQUIP_DESC_ETOOL_BROKEN;
class ItemActions
{
class Repair
{
text = $STR_ACTIONS_FIX_ETOOL;
script = ";['Repair','CfgWeapons', _id] spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {};
output[] = {};
outputweapons[] = {"ItemEtool"};
input[] = {{"equip_duct_tape",1},{"equip_lever",1}};
inputweapons[] = {"ItemEtoolBroken"};
};
};
};