Epoch/Sources/epoch_config/Configs/cfgCrafting.hpp
2015-09-14 15:45:27 -05:00

341 lines
7.7 KiB
C++

class CfgCrafting
{
class Default
{
usedIn[] = {};
recipe[] = {};
nearby[] = {};
};
// items
class ItemCoolerE : Default
{
// usedIn[] = { "ItemCooler0", "ItemCooler1", "ItemCooler2", "ItemCooler3", "ItemCooler4" };
};
class ItemCooler0 : Default
{
recipe[] = { "ItemCoolerE", { "SnakeMeat_EPOCH", 2 }, "sweetcorn_epoch" };
};
class ItemCooler1 : Default
{
recipe[] = { "ItemCoolerE", { "CookedRabbit_EPOCH", 2 }, "sweetcorn_epoch" };
};
class ItemCooler2 : Default
{
recipe[] = { "ItemCoolerE", "CookedChicken_EPOCH", "sweetcorn_epoch" };
};
class ItemCooler3 : Default
{
recipe[] = { "ItemCoolerE", "CookedGoat_EPOCH", "sweetcorn_epoch" };
};
class ItemCooler4 : Default
{
recipe[] = { "ItemCoolerE", "CookedSheep_EPOCH", "sweetcorn_epoch" };
};
class CircuitParts : Default
{
usedIn[] = { "EnergyPack", "EnergyPackLg", "KitPlotPole" };
};
class EnergyPack : Default
{
usedIn[] = { "EnergyPackLg" };
nearby[] = { { "fire", { "ALL" }, 3, 1, "Fire", "fire" } };
recipe[] = { { "CircuitParts", 1 }, { "clean_water_epoch", 1 } };
};
class EnergyPackLg : Default
{
nearby[] = { { "fire", { "ALL" }, 3, 1, "Fire", "fire" } };
recipe[] = { { "EnergyPack", 3 }, { "CircuitParts", 1 } };
};
class PartOre : Default
{
usedIn[] = { "ItemScraps" };
};
class Pelt_EPOCH : Default
{
usedIn[] = { "KitTiPi" };
};
class ItemRock : Default
{
usedIn[] = { "KitFirePlace" , "MeleeMaul", "CrudeHatchet" };
};
class ItemStick : Default
{
usedIn[] = { "WoodClub","MeleeMaul", "CrudeHatchet", "KitFirePlace" };
recipe[] = { { "WoodLog_EPOCH", 1 } };
};
class ItemKiloHemp : Default
{
usedIn[] = { "ItemRope" };
};
class ItemRope : Default
{
usedIn[] = { "WoodClub", "MeleeMaul", "CrudeHatchet" };
recipe[] = { { "ItemKiloHemp", 1 } };
};
class MeleeMaul : Default
{
recipe[] = { { "ItemRock", 1 }, { "ItemStick", 2 }, { "ItemRope", 1 } };
};
class CrudeHatchet : Default
{
recipe[] = { { "ItemRock", 1 }, { "ItemStick", 1 }, { "ItemRope", 1 } };
};
class WoodClub : Default
{
recipe[] = { { "ItemStick", 2 } };
};
class WoodLog_EPOCH : Default
{
usedIn[] = { "PartPlankPack", "ItemStick" };
};
class MortarBucket : Default
{
usedIn[] = {"KitFoundation","KitCinderWall"};
};
class ItemScraps : Default
{
usedIn[] = { "ItemCorrugated" };
nearby[] = { { "fire", { "ALL" }, 3, 1, "Fire", "fire" } };
recipe[] = { { "PartOre", 2 } };
};
class ItemCorrugated : Default
{
usedIn[] = {"KitShelf","ItemCorrugatedLg"};
nearby[] = { { "fire", { "ALL" }, 3, 1, "Fire", "fire" } };
recipe[] = { { "ItemScraps", 2 } };
};
class CinderBlocks : Default
{
usedIn[] = { "KitCinderWall" };
};
class ItemMixOil : Default
{
usedIn[] = { "CSGAS" };
};
class jerrycan_epoch : Default
{
usedIn[] = { "CSGAS" };
};
class VehicleRepair : Default
{
usedIn[] = { "VehicleRepairLg" };
};
class VehicleRepairLg : Default
{
recipe[] = { "VehicleRepair", "ItemCorrugated" };
};
// radios
class EpochRadio0 : Default // Quartz
{
usedIn[] = { "EpochRadio1" };
};
class EpochRadio1 : Default // Garnet
{
usedIn[] = { "EpochRadio2" };
recipe[] = { "EpochRadio0", "ItemGarnet" };
};
class EpochRadio2 : Default // Citrine
{
usedIn[] = { "EpochRadio3" };
recipe[] = { "EpochRadio1", "ItemCitrine" };
};
class EpochRadio3 : Default // Amethyst
{
usedIn[] = { "EpochRadio4" };
recipe[] = { "EpochRadio2", "ItemAmethyst" };
};
class EpochRadio4 : Default // Topaz
{
usedIn[] = { "EpochRadio5" };
recipe[] = { "EpochRadio3", "ItemTopaz" };
};
class EpochRadio5 : Default // Sapphire
{
usedIn[] = { "EpochRadio6" };
recipe[] = { "EpochRadio4", "ItemSapphire" };
};
class EpochRadio6 : Default // Onyx
{
usedIn[] = { "EpochRadio7" };
recipe[] = { "EpochRadio5", "ItemOnyx" };
};
class EpochRadio7 : Default // Emerald
{
usedIn[] = { "EpochRadio8" };
recipe[] = { "EpochRadio6", "ItemEmerald" };
};
class EpochRadio8 : Default // Ruby
{
usedIn[] = { "EpochRadio9" };
recipe[] = { "EpochRadio7", "ItemRuby" };
};
class EpochRadio9 : Default // Jade
{
recipe[] = { "EpochRadio8", "ItemJade" };
};
// raw meats
class SnakeCarcass_EPOCH : Default
{
usedIn[] = { "SnakeMeat_EPOCH" };
};
class SnakeMeat_EPOCH : Default
{
usedIn[] = { "ItemCooler0" };
nearby[] = {{ "fire", {"ALL"}, 3, 1, "Fire","fire" }};
recipe[] = { "SnakeCarcass_EPOCH" };
};
class RabbitCarcass_EPOCH : Default
{
usedIn[] = { "CookedRabbit_EPOCH" };
};
class CookedRabbit_EPOCH : Default
{
usedIn[] = { "ItemCooler1" };
nearby[] = {{ "fire", {"ALL"}, 3, 1, "Fire","fire" }};
recipe[] = { "RabbitCarcass_EPOCH" };
};
class ChickenCarcass_EPOCH : Default
{
usedIn[] = { "CookedChicken_EPOCH" };
};
class CookedChicken_EPOCH : Default
{
usedIn[] = { "ItemCooler2" };
nearby[] = {{ "fire", {"ALL"}, 3, 1, "Fire","fire" }};
recipe[] = { "ChickenCarcass_EPOCH" };
};
class GoatCarcass_EPOCH : Default
{
usedIn[] = { "CookedGoat_EPOCH" };
};
class CookedGoat_EPOCH : Default
{
usedIn[] = { "ItemCooler3" };
nearby[] = {{ "fire", {"ALL"}, 3, 1, "Fire","fire" }};
recipe[] = { "GoatCarcass_EPOCH" };
};
class SheepCarcass_EPOCH : Default
{
usedIn[] = { "CookedSheep_EPOCH" };
};
class CookedSheep_EPOCH : Default
{
usedIn[] = { "ItemCooler4" };
nearby[] = {{ "fire", {"ALL"}, 3, 1, "Fire","fire" }};
recipe[] = { "SheepCarcass_EPOCH" };
};
class emptyjar_epoch : Default
{
usedIn[] = { "water_epoch" };
};
class water_epoch : Default
{
usedIn[] = { "clean_water_epoch" };
nearby[] = {{"noclass", {"barrelwater_f.p3d", "water_source_f.p3d", "pumpa.p3d", "misc_wellpump.p3d"}, 3, 1, "Water Source","water"}};
recipe[] = { "emptyjar_epoch" };
};
class clean_water_epoch : Default
{
usedIn[] = { "EnergyPack" };
nearby[] = { { "fire", { "ALL" }, 3, 1, "Fire", "fire" } };
recipe[] = { "water_epoch" };
};
// recipes
class CSGAS : Default
{
recipe[] = { "ItemMixOil", "jerrycan_epoch" };
};
class ItemCorrugatedLg : Default
{
usedIn[] = { "VehicleRepairLg", "KitPlotPole" };
recipe[] = { { "ItemCorrugated", 3 } };
};
class PartPlankPack : Default
{
usedIn[] = {"KitStudWall","KitWoodFloor","KitWoodFoundation","KitWoodStairs","KitWoodRamp","KitWoodLadder","KitWoodTower","KitTiPi"};
recipe[] = {{"WoodLog_EPOCH",2}};
};
class KitFirePlace : Default
{
recipe[] = {{"ItemRock",2},{"ItemStick",1}};
};
class KitStudWall : Default
{
recipe[] = {{"PartPlankPack",4}};
};
class KitWoodFloor : Default
{
usedIn[] = { "KitWoodTower" };
recipe[] = {{"PartPlankPack",4}};
};
class KitWoodLadder : Default
{
recipe[] = { { "PartPlankPack", 4 } };
};
class KitWoodRamp : Default
{
recipe[] = { { "PartPlankPack", 6 } };
};
class KitWoodStairs : Default
{
recipe[] = {{"PartPlankPack",4}};
};
class KitWoodTower : Default
{
recipe[] = { {"KitWoodFloor", 1}, { "PartPlankPack", 4 } };
};
class KitTiPi : Default
{
recipe[] = { { "Pelt_EPOCH", 4 }, { "PartPlankPack", 2 } };
};
class KitShelf : Default
{
recipe[] = {{"ItemCorrugated",3}};
};
class KitFoundation : Default
{
recipe[] = {{"MortarBucket",4}};
};
class KitWoodFoundation : Default
{
recipe[] = {{"PartPlankPack",8}};
};
class KitCinderWall : Default
{
recipe[] = {{"CinderBlocks",2},{"MortarBucket",2}};
};
class KitPlotPole : Default
{
recipe[] = {{"ItemCorrugatedLg",2}, {"CircuitParts",2} };
};
class ItemSolar : Default
{
usedIn[] = { "KitSolarGen" };
};
class ItemCables : Default
{
usedIn[] = { "KitSolarGen" };
};
class ItemBattery : Default
{
usedIn[] = { "KitSolarGen" };
};
class KitSolarGen : Default
{
// TODO recipe
recipe[] = { { "ItemSolar", 1 }, { "ItemCables", 1 }, { "ItemBattery", 1 }, { "ItemCorrugatedLg", 2 }, { "CircuitParts", 2 } };
};
};