Added FuelTank to Loot / Crafting / Pricing

Thanks @DB for reporting!
This commit is contained in:
He-Man 2017-11-01 17:08:45 +01:00
parent 3984cb89b3
commit f26fa71454
7 changed files with 18 additions and 2 deletions

View File

@ -424,7 +424,7 @@ class CfgCrafting
};
class ItemCorrugated : Item
{
usedIn[] = {"KitShelf","ItemCorrugatedLg","VehicleRepairLg","EngineParts","KitSink","KitFieldToilet","KitWaterPump","KitLightPole"};
usedIn[] = {"KitShelf","ItemCorrugatedLg","VehicleRepairLg","EngineParts","KitSink","KitFieldToilet","KitWaterPump","KitLightPole","FuelTank"};
nearby[] = {{"Fire","","fire",{1,{"ALL"}},3,1,1,0}};
recipe[] = {{"ItemScraps",2}};
previewPosition[] = {0.791088,1,0.300004};
@ -452,7 +452,7 @@ class CfgCrafting
};
class VehicleRepair : Part
{
usedIn[] = {"VehicleRepairLg","EngineParts","SpareTire","KitVehicleUpgradeI_200_EPOCH"};
usedIn[] = {"VehicleRepairLg","EngineParts","SpareTire","KitVehicleUpgradeI_200_EPOCH","FuelTank"};
previewPosition[] = {0.787659,1,0.30098};
previewScale = 0.45;
previewVector = 1.5;
@ -493,6 +493,13 @@ class CfgCrafting
previewScale = 0.2;
previewVector = 0.5;
};
class FuelTank : Item
{
recipe[] = {{"ItemCorrugated",1},{"VehicleRepair",1} };
previewPosition[] = {0.8,1,0.26};
previewScale = 0.4;
previewVector = 1;
};
class EpochRadio0 : Part
{
usedIn[] = {"EpochRadio1"};

View File

@ -1041,6 +1041,7 @@ class CfgItemSort
"ItemGlass",
"ItemDuctTape",
"ItemRotor",
"FuelTank",
"VehicleRepair",
"VehicleRepairLg",
"ItemDocument",

View File

@ -410,6 +410,10 @@ class CfgPricing
{
price = 40;
};
class FuelTank
{
price = 48;
};
class WhiskeyNoodle
{
price = 80;

View File

@ -89,6 +89,7 @@ class CfgLootTable
{ { "EngineBlock", "magazine" }, 10 },
{ { "ItemGlass", "magazine" }, 15 },
{ { "ItemDuctTape", "magazine" }, 20 },
{ { "FuelTank", "magazine" }, 4 },
{ { "ItemRotor", "magazine" }, 5 }
};
};

View File

@ -89,6 +89,7 @@ class CfgLootTable_CUP
{ { "EngineBlock", "magazine" }, 10 },
{ { "ItemGlass", "magazine" }, 15 },
{ { "ItemDuctTape", "magazine" }, 20 },
{ { "FuelTank", "magazine" }, 4 },
{ { "ItemRotor", "magazine" }, 5 }
};
};

View File

@ -89,6 +89,7 @@ class CfgLootTable_MAD
{ { "EngineBlock", "magazine" }, 10 },
{ { "ItemGlass", "magazine" }, 15 },
{ { "ItemDuctTape", "magazine" }, 20 },
{ { "FuelTank", "magazine" }, 4 },
{ { "ItemRotor", "magazine" }, 5 }
};
};

View File

@ -89,6 +89,7 @@ class CfgLootTable_MADCUP
{ { "EngineBlock", "magazine" }, 10 },
{ { "ItemGlass", "magazine" }, 15 },
{ { "ItemDuctTape", "magazine" }, 20 },
{ { "FuelTank", "magazine" }, 4 },
{ { "ItemRotor", "magazine" }, 5 }
};
};