mixed jerry can

This commit is contained in:
[VB]AWOL
2013-12-04 15:05:51 -06:00
parent 14144520d1
commit 94e2017a6e

View File

@@ -119,9 +119,9 @@ class CfgMagazines {
{ {
text = "Mix Chainsaw Gas"; // TODO: localize text = "Mix Chainsaw Gas"; // TODO: localize
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"}; neednearby[] = {};
requiretools[] = {"ItemToolbox"}; requiretools[] = {};
output[] = {{"CSGAS",1},{"ItemJerrycanEmpty",1}}; output[] = {{"ItemJerryMixed",1}};
input[] = {{"ItemMixOil",1},{"ItemJerrycan",1}}; input[] = {{"ItemMixOil",1},{"ItemJerrycan",1}};
}; };
}; };
@@ -1497,6 +1497,117 @@ class CfgMagazines {
picture = "\dayz_equip\textures\equip_jerrycan_ca.paa"; picture = "\dayz_equip\textures\equip_jerrycan_ca.paa";
descriptionShort = $STR_EQUIP_DESC_19; descriptionShort = $STR_EQUIP_DESC_19;
}; };
class ItemJerryMixed: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = "Mixed Gas Full";
model = "\dayz_equip\models\jerrycan.p3d";
picture = "\dayz_equip\textures\equip_jerrycan_ca.paa";
descriptionShort = "20 liters of Mixed Gas.";
class ItemActions
{
class Crafting
{
text = "Fill Chainsaw";
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {"ItemToolbox"};
output[] = {{"CSGAS",1},{"ItemJerryMixed4",1}};
input[] = {{"ItemJerryMixed",1}};
};
};
};
class ItemJerryMixed4: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = "Mixed Gas 16l";
model = "\dayz_equip\models\jerrycan.p3d";
picture = "\dayz_equip\textures\equip_jerrycan_ca.paa";
descriptionShort = "16 liters of Mixed Gas.";
class ItemActions
{
class Crafting
{
text = "Fill Chainsaw";
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {"ItemToolbox"};
output[] = {{"CSGAS",1},{"ItemJerryMixed2",1}};
input[] = {{"ItemJerryMixed3",1}};
};
};
};
class ItemJerryMixed3: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = "Mixed Gas 12l";
model = "\dayz_equip\models\jerrycan.p3d";
picture = "\dayz_equip\textures\equip_jerrycan_ca.paa";
descriptionShort = "12 liters of Mixed Gas.";
class ItemActions
{
class Crafting
{
text = "Fill Chainsaw";
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {"ItemToolbox"};
output[] = {{"CSGAS",1},{"ItemJerryMixed2",1}};
input[] = {{"ItemJerryMixed3",1}};
};
};
};
class ItemJerryMixed2: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = "Mixed Gas 8l";
model = "\dayz_equip\models\jerrycan.p3d";
picture = "\dayz_equip\textures\equip_jerrycan_ca.paa";
descriptionShort = "8 liters of Mixed Gas.";
class ItemActions
{
class Crafting
{
text = "Fill Chainsaw";
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {"ItemToolbox"};
output[] = {{"CSGAS",1},{"ItemJerryMixed1",1}};
input[] = {{"ItemJerryMixed2",1}};
};
};
};
class ItemJerryMixed1: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = "Mixed Gas 4l";
model = "\dayz_equip\models\jerrycan.p3d";
picture = "\dayz_equip\textures\equip_jerrycan_ca.paa";
descriptionShort = "4 liters of Mixed Gas.";
class ItemActions
{
class Crafting
{
text = "Fill Chainsaw";
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {"ItemToolbox"};
output[] = {{"CSGAS",1},{"ItemJerrycanEmpty",1}};
input[] = {{"ItemJerryMixed1",1}};
};
};
};
class ItemJerrycanEmpty: ItemJerrycan class ItemJerrycanEmpty: ItemJerrycan
{ {
fuelQuantity = 0; fuelQuantity = 0;