mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
Splitted Ores
This commit is contained in:
@@ -7,6 +7,7 @@ class CfgMagazines {
|
|||||||
|
|
||||||
// Gems
|
// Gems
|
||||||
#include "CfgMagazines\DZE\Gems.hpp"
|
#include "CfgMagazines\DZE\Gems.hpp"
|
||||||
|
#include "CfgMagazines\DZE\Ores.hpp"
|
||||||
// Items
|
// Items
|
||||||
#include "CfgMagazines\DZE\Items.hpp"
|
#include "CfgMagazines\DZE\Items.hpp"
|
||||||
#include "CfgMagazines\DZE\Bulk.hpp"
|
#include "CfgMagazines\DZE\Bulk.hpp"
|
||||||
@@ -1268,72 +1269,6 @@ class CfgMagazines {
|
|||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
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}};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
class PartVRotor: CA_Magazine
|
class PartVRotor: CA_Magazine
|
||||||
{
|
{
|
||||||
scope = 2;
|
scope = 2;
|
||||||
|
|||||||
60
SQF/dayz_code/Configs/CfgMagazines/DZE/Ores.hpp
Normal file
60
SQF/dayz_code/Configs/CfgMagazines/DZE/Ores.hpp
Normal file
@@ -0,0 +1,60 @@
|
|||||||
|
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}};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user