mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
There is no need to use the dayz mod craft if it can be done with the normal epoch craft. Also allow crafting wood piles directly from wooden logs.
22 lines
598 B
C++
22 lines
598 B
C++
class equip_rope : CA_Magazine {
|
|
scope = public;
|
|
count = 1;
|
|
displayName = $STR_ITEM_NAME_equip_rope;
|
|
descriptionShort = $STR_ITEM_DESC_equip_rope;
|
|
model = "\z\addons\dayz_communityassets\models\rope.p3d";
|
|
picture = "\z\addons\dayz_communityassets\pictures\equip_rope_ca.paa";
|
|
type = 256;
|
|
class ItemActions
|
|
{
|
|
class Crafting
|
|
{
|
|
text = $STR_BLD_craft_equip_rope;//"String"
|
|
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
|
neednearby[] = {};
|
|
requiretools[] = {"ItemKnife"};
|
|
output[] = {{"equip_string",2}};
|
|
input[] = {{"equip_rope",1}};
|
|
};
|
|
};
|
|
};
|