mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-15 13:26:39 +03:00
Add a few new items
Models made by @helion4
This commit is contained in:
32
SQF/dayz_code/Configs/CfgWeapons/Tools/Smartphone.hpp
Normal file
32
SQF/dayz_code/Configs/CfgWeapons/Tools/Smartphone.hpp
Normal file
@@ -0,0 +1,32 @@
|
||||
class Smartphone_DZE: ItemCore
|
||||
{
|
||||
scope = 2;
|
||||
displayName = $STR_EQUIP_SMARTPHONE;
|
||||
descriptionShort = $STR_EQUIP_SMARTPHONE_DESC;
|
||||
model = "\z\addons\dayz_epoch_w\items\pda.p3d";
|
||||
picture = "\dayz_epoch_c\icons\tools\ItemSmartphone.paa";
|
||||
};
|
||||
|
||||
class SmartphoneBroken_DZE : ItemCore
|
||||
{
|
||||
scope = 2;
|
||||
displayName = $STR_EQUIP_SMARTPHONE_BROKEN;
|
||||
descriptionShort = $STR_EQUIP_SMARTPHONE_BROKEN_DESC;
|
||||
model = "\z\addons\dayz_epoch_w\items\pda.p3d";
|
||||
picture = "\dayz_epoch_c\icons\tools\ItemSmartphoneBroken.paa";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Repair
|
||||
{
|
||||
text = $STR_ACTIONS_FIX_SMARTPHONE;
|
||||
script = ";['Repair','CfgWeapons', _id] spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemSolder_DZE"};
|
||||
output[] = {};
|
||||
outputweapons[] = {"Smartphone_DZE"};
|
||||
input[] = {{"equip_floppywire",1},{"equip_scrapelectronics",1}};
|
||||
inputweapons[] = {"SmartphoneBroken_DZE"};
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user