mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
60 lines
1.9 KiB
C++
60 lines
1.9 KiB
C++
class PartOre: CA_Magazine {
|
|
scope = 2;
|
|
count = 1;
|
|
type = 256;
|
|
displayName = "Iron Ore";
|
|
model = "\z\addons\dayz_epoch\models\iron_ore.p3d";
|
|
picture="\z\addons\dayz_epoch\pictures\equip_iron_ore_CA.paa";
|
|
descriptionShort = "Used for crafting scrap metal. Can be mined from rocks using a sledgehammer.";
|
|
weight = 1;
|
|
class ItemActions {
|
|
class Crafting {
|
|
text = $STR_EPOCH_PLAYER_265;
|
|
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
|
neednearby[] = {"fire"};
|
|
requiretools[] = {"ItemSledge"};
|
|
output[] = {{"PartGeneric",1},{"ItemWaterbottleUnfilled",1}};
|
|
input[] = {{"PartOre",4},{"ItemWaterbottle",1}};
|
|
};
|
|
};
|
|
};
|
|
class PartOreSilver: CA_Magazine {
|
|
scope = 2;
|
|
count = 1;
|
|
type = 256;
|
|
displayName = "Silver Ore";
|
|
model = "\z\addons\dayz_epoch\models\silver_ore.p3d";
|
|
picture="\z\addons\dayz_epoch\pictures\equip_silver_ore_CA.paa";
|
|
descriptionShort = "Can be mined from rocks using a sledgehammer.";
|
|
weight = 1;
|
|
class ItemActions {
|
|
class Crafting {
|
|
text = $STR_EPOCH_PLAYER_266;
|
|
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
|
neednearby[] = {"fire"};
|
|
requiretools[] = {"ItemSledge"};
|
|
output[] = {{"ItemSilverBar",1},{"ItemWaterbottleUnfilled",1}};
|
|
input[] = {{"PartOreSilver",1},{"ItemWaterbottle",1}};
|
|
};
|
|
};
|
|
};
|
|
class PartOreGold: CA_Magazine {
|
|
scope = 2;
|
|
count = 1;
|
|
type = 256;
|
|
displayName = "Gold Ore";
|
|
model = "\z\addons\dayz_epoch\models\gold_ore.p3d";
|
|
picture="\z\addons\dayz_epoch\pictures\equip_gold_ore_CA.paa";
|
|
descriptionShort = "Can be mined from rocks using a sledgehammer.";
|
|
weight = 1;
|
|
class ItemActions {
|
|
class Crafting {
|
|
text = $STR_EPOCH_PLAYER_267;
|
|
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
|
neednearby[] = {"fire"};
|
|
requiretools[] = {"ItemSledge"};
|
|
output[] = {{"ItemGoldBar",1},{"ItemWaterbottleUnfilled",1}};
|
|
input[] = {{"PartOreGold",1},{"ItemWaterbottle",1}};
|
|
};
|
|
};
|
|
}; |