mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
CFG WEAPONS DONE
This commit is contained in:
59
SQF/dayz_code/Configs/CfgMagazines/Items/Wood.hpp
Normal file
59
SQF/dayz_code/Configs/CfgMagazines/Items/Wood.hpp
Normal file
@@ -0,0 +1,59 @@
|
||||
class ItemLog : CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
displayName = $STR_BLD_name_ItemLog;//"Wooden Log"
|
||||
picture = "\z\addons\dayz_buildings\equip\item_log.paa";
|
||||
model = "z\addons\dayz_buildings\models\logs.p3d";
|
||||
descriptionShort = $STR_BLD_desc_ItemLog;//"Rough Wooden Log"
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_BLD_craft_ItemLog;//"Wooden Plank"
|
||||
script = "spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemHatchet"};
|
||||
output[] = {{"ItemPlank","CfgMagazines",2}};
|
||||
input[] = {{"ItemLog","CfgMagazines",1}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemPlank : CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
displayName = $STR_BLD_name_ItemPlank;//"Sawn Planks"
|
||||
picture = "\z\addons\dayz_buildings\equip\item_plank.paa";
|
||||
model = "z\addons\dayz_buildings\models\planks.p3d";
|
||||
descriptionShort = $STR_BLD_desc_ItemPlank;//"Saw Planks"
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_BLD_craft_ItemPlank;//"Wood Piles"
|
||||
script = "spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemHatchet"};
|
||||
output[] = {{"PartWoodPile","CfgMagazines",2}};
|
||||
input[] = {{"ItemPlank","CfgMagazines",1}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class PartWoodPile : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\dayz_equip\models\woodPile.p3d";
|
||||
picture = "\dayz_equip\textures\equip_woodPile_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_40;
|
||||
descriptionShort = $STR_EQUIP_DESC_40;
|
||||
};
|
||||
Reference in New Issue
Block a user