crafting configs

crafting of 2x seed from one plants.
crafting of Kilo of Hemp from 2x Hemp plant.
crafting of seed bag from 1x canvas
crafting of canvas from 1x kilo hemp
add seed bags, canvas, and burlap to loot table
This commit is contained in:
vbawol 2017-10-17 08:29:49 -05:00
parent 2d4a7a0258
commit 5e4d042868
5 changed files with 169 additions and 22 deletions

View File

@ -270,9 +270,100 @@ class CfgCrafting
previewScale = 0.5; previewScale = 0.5;
previewVector = 0; previewVector = 0;
}; };
class ItemKiloHemp : Part class ItemSeedBag : Item
{ {
usedIn[] = {"ItemRope","ItemBurlap"}; nearby[] = {{"Workbench","","workbench",{1,{"WorkBench_EPOCH"}},3,1,0,1}};
usedIn[] = {"SeedPacket_Hemp","SeedPacket_GoldenSeal","SeedPacket_Poppy","SeedPacket_Pumpkin","SeedPacket_Sunflower"};
recipe[] = {{"ItemCanvas",1}};
previewPosition[] = {0.80573,1,0.461778};
previewScale = 0.5;
previewVector = 0;
};
class Hemp : Part
{
usedIn[] = {"ItemKiloHemp","SeedPacket_Hemp"};
previewPosition[] = {0.80573,1,0.461778};
previewScale = 0.5;
previewVector = 0;
};
class GoldenSeal : Part
{
usedIn[] = {"SeedPacket_GoldenSeal"};
previewPosition[] = {0.80573,1,0.461778};
previewScale = 0.5;
previewVector = 0;
};
class Poppy : Part
{
usedIn[] = {"SeedPacket_Poppy"};
previewPosition[] = {0.80573,1,0.461778};
previewScale = 0.5;
previewVector = 0;
};
class Pumpkin : Part
{
usedIn[] = {"SeedPacket_Pumpkin"};
previewPosition[] = {0.80573,1,0.461778};
previewScale = 0.5;
previewVector = 0;
};
class Sunflower : Part
{
usedIn[] = {"SeedPacket_Sunflower"};
previewPosition[] = {0.80573,1,0.461778};
previewScale = 0.5;
previewVector = 0;
};
class SeedPacket_Hemp : Item
{
nearby[] = {{"Workbench","","workbench",{1,{"WorkBench_EPOCH"}},3,1,0,1}};
recipe[] = {{"Hemp",1},{"ItemSeedBag",1}};
craftCount = 2;
previewPosition[] = {0.796267,1,0.322762};
previewScale = 0.9;
previewVector = 1.4;
};
class SeedPacket_GoldenSeal : Item
{
nearby[] = {{"Workbench","","workbench",{1,{"WorkBench_EPOCH"}},3,1,0,1}};
recipe[] = {{"GoldenSeal",1},{"ItemSeedBag",1}};
craftCount = 2;
previewPosition[] = {0.796267,1,0.322762};
previewScale = 0.9;
previewVector = 1.4;
};
class SeedPacket_Poppy : Item
{
nearby[] = {{"Workbench","","workbench",{1,{"WorkBench_EPOCH"}},3,1,0,1}};
recipe[] = {{"Poppy",1},{"ItemSeedBag",1}};
craftCount = 2;
previewPosition[] = {0.796267,1,0.322762};
previewScale = 0.9;
previewVector = 1.4;
};
class SeedPacket_Pumpkin : Item
{
nearby[] = {{"Workbench","","workbench",{1,{"WorkBench_EPOCH"}},3,1,0,1}};
recipe[] = {{"Pumpkin",1},{"ItemSeedBag",1}};
craftCount = 2;
previewPosition[] = {0.796267,1,0.322762};
previewScale = 0.9;
previewVector = 1.4;
};
class SeedPacket_Sunflower : Item
{
nearby[] = {{"Workbench","","workbench",{1,{"WorkBench_EPOCH"}},3,1,0,1}};
recipe[] = {{"Sunflower",1},{"ItemSeedBag",1}};
craftCount = 2;
previewPosition[] = {0.796267,1,0.322762};
previewScale = 0.9;
previewVector = 1.4;
};
class ItemKiloHemp : Item
{
usedIn[] = {"ItemRope","ItemBurlap","ItemCanvas"};
nearby[] = {{"Workbench","","workbench",{1,{"WorkBench_EPOCH"}},3,1,0,1}};
recipe[] = {{"Hemp",2}};
previewPosition[] = {0.796267,1,0.322762}; previewPosition[] = {0.796267,1,0.322762};
previewScale = 0.9; previewScale = 0.9;
previewVector = 1.4; previewVector = 1.4;
@ -1260,9 +1351,11 @@ class CfgCrafting
previewScale = 0.2; previewScale = 0.2;
previewVector = 0.5; previewVector = 0.5;
}; };
class ItemCanvas : Part class ItemCanvas : Item
{ {
usedIn[] = {"KitTentA","KitTentDome","KitSunShade","KitWatchTower","KitScaffolding"}; usedIn[] = {"KitTentA","KitTentDome","KitSunShade","KitWatchTower","KitScaffolding"};
nearby[] = {{"Workbench","","workbench",{1,{"WorkBench_EPOCH"}},3,1,0,1}};
recipe[] = {{"ItemKiloHemp",1}};
previewPosition[] = {0.802443,1,0.254301}; previewPosition[] = {0.802443,1,0.254301};
previewScale = 0.8; previewScale = 0.8;
previewVector = 4.9; previewVector = 4.9;

View File

@ -194,20 +194,34 @@ class CfgLootTable
{ { "CanFood", "CfgLootTable" }, 8 }, { { "CanFood", "CfgLootTable" }, 8 },
{ { "Primitive", "CfgLootTable" }, 21 }, { { "Primitive", "CfgLootTable" }, 21 },
{ { "lighter_epoch", "magazine" }, 1 }, { { "lighter_epoch", "magazine" }, 1 },
{ { "Seeds", "CfgLootTable" }, 1 },
{ { "ItemAluminumBar", "magazine" }, 2 }, { { "ItemAluminumBar", "magazine" }, 2 },
{ { "ItemCopperBar", "magazine" }, 2 }, { { "ItemCopperBar", "magazine" }, 2 },
{ { "ItemTinBar", "magazine" }, 1 } { { "ItemTinBar", "magazine" }, 1 }
}; };
}; };
class Seeds
{
items[] = {
{ { "ItemSeedBag", "magazine" }, 10 },
{ { "SeedPacket_Hemp", "magazine" }, 1 },
{ { "SeedPacket_GoldenSeal", "magazine" }, 1 },
{ { "SeedPacket_Poppy", "magazine" }, 1 },
{ { "SeedPacket_Pumpkin", "magazine" }, 2 },
{ { "SeedPacket_Sunflower", "magazine" }, 2 }
};
};
class Primitive class Primitive
{ {
items[] = { items[] = {
{ { "ItemRock", "magazine" }, 1 }, { { "ItemRock", "magazine" }, 5 },
{ { "ItemRope", "magazine" }, 1 }, { { "ItemRope", "magazine" }, 2 },
{ { "ItemStick", "magazine" }, 1 }, { { "ItemStick", "magazine" }, 5 },
{ { "ItemScraps", "magazine" }, 1 } { { "ItemScraps", "magazine" }, 1 },
{ { "ItemCanvas", "magazine" }, 1 },
{ { "ItemBurlap", "magazine" }, 1 }
}; };
}; };

View File

@ -290,18 +290,32 @@ class CfgLootTable_CUP
{ { "CanFood", "CfgLootTable" }, 8 }, { { "CanFood", "CfgLootTable" }, 8 },
{ { "Primitive", "CfgLootTable" }, 21 }, { { "Primitive", "CfgLootTable" }, 21 },
{ { "lighter_epoch", "magazine" }, 1 }, { { "lighter_epoch", "magazine" }, 1 },
{ { "Seeds", "CfgLootTable" }, 1 },
{ { "ItemAluminumBar", "magazine" }, 2 }, { { "ItemAluminumBar", "magazine" }, 2 },
{ { "ItemCopperBar", "magazine" }, 2 }, { { "ItemCopperBar", "magazine" }, 2 },
{ { "ItemTinBar", "magazine" }, 1 } { { "ItemTinBar", "magazine" }, 1 }
}; };
}; };
class Seeds
{
items[] = {
{ { "ItemSeedBag", "magazine" }, 10 },
{ { "SeedPacket_Hemp", "magazine" }, 1 },
{ { "SeedPacket_GoldenSeal", "magazine" }, 1 },
{ { "SeedPacket_Poppy", "magazine" }, 1 },
{ { "SeedPacket_Pumpkin", "magazine" }, 2 },
{ { "SeedPacket_Sunflower", "magazine" }, 2 }
};
};
class Primitive class Primitive
{ {
items[] = { items[] = {
{ { "ItemRock", "magazine" }, 1 }, { { "ItemRock", "magazine" }, 5 },
{ { "ItemRope", "magazine" }, 1 }, { { "ItemRope", "magazine" }, 2 },
{ { "ItemStick", "magazine" }, 1 }, { { "ItemStick", "magazine" }, 5 },
{ { "ItemScraps", "magazine" }, 1 } { { "ItemScraps", "magazine" }, 1 },
{ { "ItemCanvas", "magazine" }, 1 },
{ { "ItemBurlap", "magazine" }, 1 }
}; };
}; };
class Sodas class Sodas

View File

@ -194,20 +194,32 @@ class CfgLootTable_MAD
{ { "CanFood", "CfgLootTable" }, 8 }, { { "CanFood", "CfgLootTable" }, 8 },
{ { "Primitive", "CfgLootTable" }, 21 }, { { "Primitive", "CfgLootTable" }, 21 },
{ { "lighter_epoch", "magazine" }, 1 }, { { "lighter_epoch", "magazine" }, 1 },
{ { "Seeds", "CfgLootTable" }, 1 },
{ { "ItemAluminumBar", "magazine" }, 2 }, { { "ItemAluminumBar", "magazine" }, 2 },
{ { "ItemCopperBar", "magazine" }, 2 }, { { "ItemCopperBar", "magazine" }, 2 },
{ { "ItemTinBar", "magazine" }, 1 } { { "ItemTinBar", "magazine" }, 1 }
}; };
}; };
class Seeds
{
items[] = {
{ { "ItemSeedBag", "magazine" }, 10 },
{ { "SeedPacket_Hemp", "magazine" }, 1 },
{ { "SeedPacket_GoldenSeal", "magazine" }, 1 },
{ { "SeedPacket_Poppy", "magazine" }, 1 },
{ { "SeedPacket_Pumpkin", "magazine" }, 2 },
{ { "SeedPacket_Sunflower", "magazine" }, 2 }
};
};
class Primitive class Primitive
{ {
items[] = { items[] = {
{ { "ItemRock", "magazine" }, 1 }, { { "ItemRock", "magazine" }, 5 },
{ { "ItemRope", "magazine" }, 1 }, { { "ItemRope", "magazine" }, 2 },
{ { "ItemStick", "magazine" }, 1 }, { { "ItemStick", "magazine" }, 5 },
{ { "ItemScraps", "magazine" }, 1 } { { "ItemScraps", "magazine" }, 1 },
{ { "ItemCanvas", "magazine" }, 1 },
{ { "ItemBurlap", "magazine" }, 1 }
}; };
}; };

View File

@ -290,18 +290,32 @@ class CfgLootTable_MADCUP
{ { "CanFood", "CfgLootTable" }, 8 }, { { "CanFood", "CfgLootTable" }, 8 },
{ { "Primitive", "CfgLootTable" }, 21 }, { { "Primitive", "CfgLootTable" }, 21 },
{ { "lighter_epoch", "magazine" }, 1 }, { { "lighter_epoch", "magazine" }, 1 },
{ { "Seeds", "CfgLootTable" }, 1 },
{ { "ItemAluminumBar", "magazine" }, 2 }, { { "ItemAluminumBar", "magazine" }, 2 },
{ { "ItemCopperBar", "magazine" }, 2 }, { { "ItemCopperBar", "magazine" }, 2 },
{ { "ItemTinBar", "magazine" }, 1 } { { "ItemTinBar", "magazine" }, 1 }
}; };
}; };
class Seeds
{
items[] = {
{ { "ItemSeedBag", "magazine" }, 10 },
{ { "SeedPacket_Hemp", "magazine" }, 1 },
{ { "SeedPacket_GoldenSeal", "magazine" }, 1 },
{ { "SeedPacket_Poppy", "magazine" }, 1 },
{ { "SeedPacket_Pumpkin", "magazine" }, 2 },
{ { "SeedPacket_Sunflower", "magazine" }, 2 }
};
};
class Primitive class Primitive
{ {
items[] = { items[] = {
{ { "ItemRock", "magazine" }, 1 }, { { "ItemRock", "magazine" }, 5 },
{ { "ItemRope", "magazine" }, 1 }, { { "ItemRope", "magazine" }, 2 },
{ { "ItemStick", "magazine" }, 1 }, { { "ItemStick", "magazine" }, 5 },
{ { "ItemScraps", "magazine" }, 1 } { { "ItemScraps", "magazine" }, 1 },
{ { "ItemCanvas", "magazine" }, 1 },
{ { "ItemBurlap", "magazine" }, 1 }
}; };
}; };
class Sodas class Sodas