mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-19 18:06:32 +03:00
Rearrange CfgMagazines
This commit rearranges the complete CfgMagazines structure. We no longer have seperated folders for DayZ Mod and Epoch. All items got merged and grouped together. Unused items got moved into a folder called Not used under items.
This commit is contained in:
@@ -83,12 +83,6 @@ class ItemSoda : FoodDrink
|
||||
consumeDrop = true;
|
||||
};
|
||||
|
||||
//Player made drinks base class
|
||||
/*class ItemBrew : FoodDrink
|
||||
{
|
||||
Nutrition[] = {0,0,0,0};
|
||||
};*/
|
||||
|
||||
//Raw food base class
|
||||
class FoodRaw : FoodEdible
|
||||
{
|
||||
@@ -111,3 +105,4 @@ class FoodCooked : FoodEdible
|
||||
|
||||
#include "Soda.hpp"
|
||||
#include "WaterBottle.hpp"
|
||||
#include "PlasticWaterbottle.hpp"
|
||||
@@ -558,3 +558,62 @@ class FoodCanPasta : FoodPackaged
|
||||
|
||||
consumeOutput = "FoodCanUnlabeledEmpty";
|
||||
};
|
||||
|
||||
class FoodBioMeat: FoodEdible {
|
||||
scope = public;
|
||||
displayName = $STR_FOOD_NAME_BIOMEAT;
|
||||
model = "\z\addons\dayz_epoch\models\biomeat_can.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_biomeat_CA.paa";
|
||||
descriptionShort = $STR_FOOD_NAME_BIOMEAT_DESC;
|
||||
bloodRegen = 1600;
|
||||
infectionChance = 0.4;
|
||||
};
|
||||
|
||||
class equip_garlic_bulb : FoodEdible {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_NAME_equip_garlic_bulb;
|
||||
descriptionShort = $STR_ITEM_DESC_equip_garlic_bulb;
|
||||
model = "\z\addons\dayz_communityassets\models\herb_garlic_bulb.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_garlic_bulb_ca.paa";
|
||||
bloodRegen = 80;
|
||||
};
|
||||
|
||||
// new DZE harvested food
|
||||
class FoodPumpkin : FoodEdible {
|
||||
scope = public;
|
||||
count = 1;
|
||||
bloodRegen = 100;
|
||||
displayName = $STR_FOOD_NAME_PUMPKIN;
|
||||
descriptionShort = $STR_FOOD_NAME_PUMPKIN;
|
||||
weight = 1;
|
||||
model = "z\addons\dayz_communityassets\models\pistachio.p3d"; // TODO: model + icon
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_pistachios_CA.paa";
|
||||
class ItemActions
|
||||
{
|
||||
class Consume
|
||||
{
|
||||
text = $STR_EAT_FOOD;
|
||||
script = "spawn player_consume";
|
||||
};
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_FOOD_NAME_PUMPKIN_CRAFT;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {""};
|
||||
requiretools[] = {"ItemKnife"};
|
||||
output[] = {{"ItemPumpkinSeed",5}};
|
||||
input[] = {{"FoodPumpkin",1}};
|
||||
};
|
||||
};
|
||||
};
|
||||
class FoodSunFlowerSeed : FoodEdible {
|
||||
scope = public;
|
||||
count = 1;
|
||||
bloodRegen = 100;
|
||||
displayName = $STR_FOOD_NAME_SUNFLOWER;
|
||||
descriptionShort = $STR_FOOD_NAME_SUNFLOWER;
|
||||
weight = 0.1;
|
||||
model = "z\addons\dayz_communityassets\models\pistachio.p3d"; // TODO: model + icon
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_pistachios_CA.paa";
|
||||
};
|
||||
|
||||
@@ -0,0 +1,656 @@
|
||||
class ItemPlasticWaterbottleUnfilled : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\waterbottle.p3d";
|
||||
picture = "\dayz_epoch_c\icons\plasticwaterbottle\PETwaterbottleEmpty.paa";
|
||||
displayName = $STR_EQUIP_NAME_WBPET_01;
|
||||
descriptionShort = $STR_EQUIP_DESC_WBPET_01;
|
||||
|
||||
containerWater = "ItemPlasticWaterbottle";
|
||||
containerWaterSafe = "ItemPlasticWaterbottleSafe";
|
||||
containerWaterInfected = "ItemPlasticWaterbottleInfected";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Fill
|
||||
{
|
||||
text = $STR_ACTIONS_FILL_W;
|
||||
script = "spawn player_fillWater;";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemPlasticWaterbottleDmg : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\waterbottle_damaged.p3d";
|
||||
picture = "\dayz_epoch_c\icons\plasticwaterbottle\PETwaterbottleDamaged.paa";
|
||||
displayName = $STR_EQUIP_NAME_WBPET_02;
|
||||
descriptionShort = $STR_EQUIP_DESC_WBPET_02;
|
||||
sfx = "bandage";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Crafting {
|
||||
text = $STR_ACTIONS_FIX_W;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {};
|
||||
output[] = {{"ItemPlasticWaterbottleUnfilled",1}};
|
||||
input[] = {{"ItemPlasticWaterbottleDmg",1},{"equip_duct_tape",1}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemPlasticWaterBottle : ItemWaterBottle {
|
||||
scope = public;
|
||||
model = "z\addons\dayz_communityassets\models\waterbottle.p3d";
|
||||
picture = "\dayz_epoch_c\icons\plasticwaterbottle\PETwaterbottle10oz.paa";
|
||||
displayName = $STR_EQUIP_NAME_WBPET_03;
|
||||
descriptionShort = $STR_EQUIP_DESC_WBPET_03;
|
||||
Nutrition[] = {0,0,1000,0};
|
||||
infectionChance = 0.3;
|
||||
|
||||
consumeOutput = "ItemPlasticWaterbottleUnfilled";
|
||||
containerEmpty = "ItemPlasticWaterbottleUnfilled";
|
||||
};
|
||||
|
||||
class ItemPlasticWaterBottleInfected : ItemWaterBottle
|
||||
{
|
||||
model = "z\addons\dayz_communityassets\models\waterbottle.p3d";
|
||||
picture = "\dayz_epoch_c\icons\plasticwaterbottle\PETwaterbottle10oz.paa";
|
||||
infectionChance = 1;
|
||||
displayName = $STR_EQUIP_NAME_WBPET_03;
|
||||
descriptionShort = $STR_EQUIP_DESC_WBPET_03;
|
||||
consumeOutput = "ItemPlasticWaterbottleUnfilled";
|
||||
containerEmpty = "ItemPlasticWaterbottleUnfilled";
|
||||
};
|
||||
|
||||
class ItemPlasticWaterBottleSafe : ItemWaterBottle
|
||||
{
|
||||
model = "z\addons\dayz_communityassets\models\waterbottle.p3d";
|
||||
picture = "\dayz_epoch_c\icons\plasticwaterbottle\PETwaterbottle10oz.paa";
|
||||
infectionChance = 0;
|
||||
displayName = $STR_EQUIP_NAME_WBPET_03;
|
||||
descriptionShort = $STR_EQUIP_DESC_WBPET_03;
|
||||
consumeOutput = "ItemPlasticWaterbottleUnfilled";
|
||||
containerEmpty = "ItemPlasticWaterbottleUnfilled";
|
||||
};
|
||||
|
||||
class ItemPlasticWaterBottleBoiled : ItemWaterBottle
|
||||
{
|
||||
model = "z\addons\dayz_communityassets\models\waterbottle.p3d";
|
||||
picture = "\dayz_epoch_c\icons\plasticwaterbottle\PETwaterbottle10oz.paa";
|
||||
displayName = $STR_EQUIP_NAME_WBPET_04;
|
||||
descriptionShort = $STR_EQUIP_DESC_WBPET_04;
|
||||
|
||||
infectionChance = 0;
|
||||
consumeOutput = "ItemPlasticWaterbottleUnfilled";
|
||||
containerEmpty = "ItemPlasticWaterbottleUnfilled";
|
||||
};
|
||||
|
||||
class ItemPlasticWaterBottleHerbal : ItemWaterBottle
|
||||
{
|
||||
model = "z\addons\dayz_communityassets\models\waterbottle.p3d";
|
||||
picture = "\dayz_epoch_c\icons\plasticwaterbottle\PETwaterbottle10oz.paa";
|
||||
displayName = $STR_EQUIP_NAME_WBPET_05;
|
||||
descriptionShort = $STR_EQUIP_DESC_WBPET_05;
|
||||
|
||||
infectionChance = -0.5;
|
||||
consumeOutput = "ItemPlasticWaterbottleUnfilled";
|
||||
containerEmpty = "ItemPlasticWaterbottleUnfilled";
|
||||
};
|
||||
|
||||
class ItemPlasticWaterbottle1oz : ItemWaterBottle {
|
||||
displayName = $STR_EPOCH_PET_WATERBOTTLE1OZ;
|
||||
descriptionShort = $STR_EPOCH_PET_WATERBOTTLE1OZ_DESC;
|
||||
model = "z\addons\dayz_communityassets\models\waterbottle.p3d";
|
||||
picture = "\dayz_epoch_c\icons\plasticwaterbottle\PETwaterbottle1oz.paa";
|
||||
wateroz = 1;
|
||||
containerWater = "ItemPlasticWaterbottle";
|
||||
containerWaterSafe = "ItemPlasticWaterbottleSafe";
|
||||
containerWaterInfected = "ItemPlasticWaterbottleInfected";
|
||||
Nutrition[] = {0,0,100,0};
|
||||
infectionChance = 0.03;
|
||||
consumeOutput = "ItemPlasticWaterbottleUnfilled";
|
||||
containerEmpty = "ItemPlasticWaterbottleUnfilled";
|
||||
class ItemActions {
|
||||
class Consume
|
||||
{
|
||||
text = $STR_ACTIONS_DRINK2;
|
||||
script = "spawn player_consume";
|
||||
};
|
||||
class Empty
|
||||
{
|
||||
text = $STR_EQUIP_NAME_13_EMPTY;
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
class Fill {
|
||||
text = "$STR_ACTIONS_FILL_W";
|
||||
script = "spawn player_fillWater;";
|
||||
};
|
||||
};
|
||||
};
|
||||
class ItemPlasticWaterbottle2oz : ItemWaterBottle {
|
||||
displayName = $STR_EPOCH_PET_WATERBOTTLE2OZ;
|
||||
descriptionShort = $STR_EPOCH_PET_WATERBOTTLE2OZ_DESC;
|
||||
model = "z\addons\dayz_communityassets\models\waterbottle.p3d";
|
||||
picture = "\dayz_epoch_c\icons\plasticwaterbottle\PETwaterbottle2oz.paa";
|
||||
wateroz = 2;
|
||||
containerWater = "ItemPlasticWaterbottle";
|
||||
containerWaterSafe = "ItemPlasticWaterbottleSafe";
|
||||
containerWaterInfected = "ItemPlasticWaterbottleInfected";
|
||||
Nutrition[] = {0,0,200,0};
|
||||
infectionChance = 0.06;
|
||||
consumeOutput = "ItemPlasticWaterbottleUnfilled";
|
||||
containerEmpty = "ItemPlasticWaterbottleUnfilled";
|
||||
class ItemActions {
|
||||
class Consume
|
||||
{
|
||||
text = $STR_ACTIONS_DRINK2;
|
||||
script = "spawn player_consume";
|
||||
};
|
||||
class Empty
|
||||
{
|
||||
text = $STR_EQUIP_NAME_13_EMPTY;
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
class Fill {
|
||||
text = "$STR_ACTIONS_FILL_W";
|
||||
script = "spawn player_fillWater;";
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
class ItemPlasticWaterbottle3oz : ItemWaterBottle {
|
||||
displayName = $STR_EPOCH_PET_WATERBOTTLE3OZ;
|
||||
descriptionShort = $STR_EPOCH_PET_WATERBOTTLE3OZ_DESC;
|
||||
model = "z\addons\dayz_communityassets\models\waterbottle.p3d";
|
||||
picture = "\dayz_epoch_c\icons\plasticwaterbottle\PETwaterbottle3oz.paa";
|
||||
wateroz = 3;
|
||||
containerWater = "ItemPlasticWaterbottle";
|
||||
containerWaterSafe = "ItemPlasticWaterbottleSafe";
|
||||
containerWaterInfected = "ItemPlasticWaterbottleInfected";
|
||||
Nutrition[] = {0,0,300,0};
|
||||
infectionChance = 0.09;
|
||||
consumeOutput = "ItemPlasticWaterbottleUnfilled";
|
||||
containerEmpty = "ItemPlasticWaterbottleUnfilled";
|
||||
class ItemActions {
|
||||
class Consume
|
||||
{
|
||||
text = $STR_ACTIONS_DRINK2;
|
||||
script = "spawn player_consume";
|
||||
};
|
||||
class Empty
|
||||
{
|
||||
text = $STR_EQUIP_NAME_13_EMPTY;
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
class Fill {
|
||||
text = "$STR_ACTIONS_FILL_W";
|
||||
script = "spawn player_fillWater;";
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
class ItemPlasticWaterbottle4oz : ItemWaterBottle {
|
||||
displayName = $STR_EPOCH_PET_WATERBOTTLE4OZ;
|
||||
descriptionShort = $STR_EPOCH_PET_WATERBOTTLE4OZ_DESC;
|
||||
model = "z\addons\dayz_communityassets\models\waterbottle.p3d";
|
||||
picture = "\dayz_epoch_c\icons\plasticwaterbottle\PETwaterbottle4oz.paa";
|
||||
wateroz = 4;
|
||||
containerWater = "ItemPlasticWaterbottle";
|
||||
containerWaterSafe = "ItemPlasticWaterbottleSafe";
|
||||
containerWaterInfected = "ItemPlasticWaterbottleInfected";
|
||||
Nutrition[] = {0,0,400,0};
|
||||
infectionChance = 0.12;
|
||||
consumeOutput = "ItemPlasticWaterbottleUnfilled";
|
||||
containerEmpty = "ItemPlasticWaterbottleUnfilled";
|
||||
class ItemActions {
|
||||
class Consume
|
||||
{
|
||||
text = $STR_ACTIONS_DRINK2;
|
||||
script = "spawn player_consume";
|
||||
};
|
||||
class Empty
|
||||
{
|
||||
text = $STR_EQUIP_NAME_13_EMPTY;
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
class Fill {
|
||||
text = "$STR_ACTIONS_FILL_W";
|
||||
script = "spawn player_fillWater;";
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
class ItemPlasticWaterbottle5oz : ItemWaterBottle {
|
||||
displayName = $STR_EPOCH_PET_WATERBOTTLE5OZ;
|
||||
descriptionShort = $STR_EPOCH_PET_WATERBOTTLE5OZ_DESC;
|
||||
model = "z\addons\dayz_communityassets\models\waterbottle.p3d";
|
||||
picture = "\dayz_epoch_c\icons\plasticwaterbottle\PETwaterbottle5oz.paa";
|
||||
wateroz = 5;
|
||||
containerWater = "ItemPlasticWaterbottle";
|
||||
containerWaterSafe = "ItemPlasticWaterbottleSafe";
|
||||
containerWaterInfected = "ItemPlasticWaterbottleInfected";
|
||||
Nutrition[] = {0,0,500,0};
|
||||
infectionChance = 0.15;
|
||||
consumeOutput = "ItemPlasticWaterbottleUnfilled";
|
||||
containerEmpty = "ItemPlasticWaterbottleUnfilled";
|
||||
class ItemActions {
|
||||
class Consume
|
||||
{
|
||||
text = $STR_ACTIONS_DRINK2;
|
||||
script = "spawn player_consume";
|
||||
};
|
||||
class Empty
|
||||
{
|
||||
text = $STR_EQUIP_NAME_13_EMPTY;
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
class Fill {
|
||||
text = "$STR_ACTIONS_FILL_W";
|
||||
script = "spawn player_fillWater;";
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
class ItemPlasticWaterbottle6oz : ItemWaterBottle {
|
||||
displayName = $STR_EPOCH_PET_WATERBOTTLE6OZ;
|
||||
descriptionShort = $STR_EPOCH_PET_WATERBOTTLE6OZ_DESC;
|
||||
model = "z\addons\dayz_communityassets\models\waterbottle.p3d";
|
||||
picture = "\dayz_epoch_c\icons\plasticwaterbottle\PETwaterbottle6oz.paa";
|
||||
wateroz = 6;
|
||||
containerWater = "ItemPlasticWaterbottle";
|
||||
containerWaterSafe = "ItemPlasticWaterbottleSafe";
|
||||
containerWaterInfected = "ItemPlasticWaterbottleInfected";
|
||||
Nutrition[] = {0,0,600,0};
|
||||
infectionChance = 0.18;
|
||||
consumeOutput = "ItemPlasticWaterbottleUnfilled";
|
||||
containerEmpty = "ItemPlasticWaterbottleUnfilled";
|
||||
class ItemActions {
|
||||
class Consume
|
||||
{
|
||||
text = $STR_ACTIONS_DRINK2;
|
||||
script = "spawn player_consume";
|
||||
};
|
||||
class Empty
|
||||
{
|
||||
text = $STR_EQUIP_NAME_13_EMPTY;
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
class Fill {
|
||||
text = "$STR_ACTIONS_FILL_W";
|
||||
script = "spawn player_fillWater;";
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
class ItemPlasticWaterbottle7oz : ItemWaterBottle {
|
||||
displayName = $STR_EPOCH_PET_WATERBOTTLE7OZ;
|
||||
descriptionShort = $STR_EPOCH_PET_WATERBOTTLE7OZ_DESC;
|
||||
model = "z\addons\dayz_communityassets\models\waterbottle.p3d";
|
||||
picture = "\dayz_epoch_c\icons\plasticwaterbottle\PETwaterbottle7oz.paa";
|
||||
wateroz = 7;
|
||||
containerWater = "ItemPlasticWaterbottle";
|
||||
containerWaterSafe = "ItemPlasticWaterbottleSafe";
|
||||
containerWaterInfected = "ItemPlasticWaterbottleInfected";
|
||||
Nutrition[] = {0,0,700,0};
|
||||
infectionChance = 0.21;
|
||||
consumeOutput = "ItemPlasticWaterbottleUnfilled";
|
||||
containerEmpty = "ItemPlasticWaterbottleUnfilled";
|
||||
class ItemActions {
|
||||
class Consume
|
||||
{
|
||||
text = $STR_ACTIONS_DRINK2;
|
||||
script = "spawn player_consume";
|
||||
};
|
||||
class Empty
|
||||
{
|
||||
text = $STR_EQUIP_NAME_13_EMPTY;
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
class Fill {
|
||||
text = "$STR_ACTIONS_FILL_W";
|
||||
script = "spawn player_fillWater;";
|
||||
};
|
||||
};
|
||||
};
|
||||
class ItemPlasticWaterbottle8oz : ItemWaterBottle {
|
||||
displayName = $STR_EPOCH_PET_WATERBOTTLE8OZ;
|
||||
descriptionShort = $STR_EPOCH_PET_WATERBOTTLE8OZ_DESC;
|
||||
model = "z\addons\dayz_communityassets\models\waterbottle.p3d";
|
||||
picture = "\dayz_epoch_c\icons\plasticwaterbottle\PETwaterbottle8oz.paa";
|
||||
wateroz = 8;
|
||||
containerWater = "ItemPlasticWaterbottle";
|
||||
containerWaterSafe = "ItemPlasticWaterbottleSafe";
|
||||
containerWaterInfected = "ItemPlasticWaterbottleInfected";
|
||||
Nutrition[] = {0,0,800,0};
|
||||
infectionChance = 0.24;
|
||||
consumeOutput = "ItemPlasticWaterbottleUnfilled";
|
||||
containerEmpty = "ItemPlasticWaterbottleUnfilled";
|
||||
class ItemActions {
|
||||
class Consume
|
||||
{
|
||||
text = $STR_ACTIONS_DRINK2;
|
||||
script = "spawn player_consume";
|
||||
};
|
||||
class Empty
|
||||
{
|
||||
text = $STR_EQUIP_NAME_13_EMPTY;
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
class Fill {
|
||||
text = "$STR_ACTIONS_FILL_W";
|
||||
script = "spawn player_fillWater;";
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
class ItemPlasticWaterbottle9oz : ItemWaterBottle {
|
||||
displayName = $STR_EPOCH_PET_WATERBOTTLE9OZ;
|
||||
descriptionShort = $STR_EPOCH_PET_WATERBOTTLE9OZ_DESC;
|
||||
model = "z\addons\dayz_communityassets\models\waterbottle.p3d";
|
||||
picture = "\dayz_epoch_c\icons\plasticwaterbottle\PETwaterbottle9oz.paa";
|
||||
wateroz = 9;
|
||||
containerWater = "ItemPlasticWaterbottle";
|
||||
containerWaterSafe = "ItemPlasticWaterbottleSafe";
|
||||
containerWaterInfected = "ItemPlasticWaterbottleInfected";
|
||||
Nutrition[] = {0,0,900,0};
|
||||
infectionChance = 0.27;
|
||||
consumeOutput = "ItemPlasticWaterbottleUnfilled";
|
||||
containerEmpty = "ItemPlasticWaterbottleUnfilled";
|
||||
class ItemActions {
|
||||
class Consume
|
||||
{
|
||||
text = $STR_ACTIONS_DRINK2;
|
||||
script = "spawn player_consume";
|
||||
};
|
||||
class Empty
|
||||
{
|
||||
text = $STR_EQUIP_NAME_13_EMPTY;
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
class Fill {
|
||||
text = "$STR_ACTIONS_FILL_W";
|
||||
script = "spawn player_fillWater;";
|
||||
};
|
||||
};
|
||||
};
|
||||
//inherit from ItemWaterBottle because that's how the crafting script checks required input
|
||||
class ItemPlasticWaterbottle1ozBoiled : ItemWaterBottle {
|
||||
displayName = $STR_EPOCH_PET_WATERBOTTLE1OZBOILED;
|
||||
descriptionShort = $STR_EPOCH_PET_WATERBOTTLE1OZBOILED_DESC;
|
||||
infectionChance = 0;
|
||||
model = "z\addons\dayz_communityassets\models\waterbottle.p3d";
|
||||
picture = "\dayz_epoch_c\icons\plasticwaterbottle\PETwaterbottle1oz.paa";
|
||||
wateroz = 1;
|
||||
containerWater = "ItemPlasticWaterbottle";
|
||||
containerWaterSafe = "ItemPlasticWaterbottleSafe";
|
||||
containerWaterInfected = "ItemPlasticWaterbottleInfected";
|
||||
Nutrition[] = {0,0,100,0};
|
||||
consumeOutput = "ItemPlasticWaterbottleUnfilled";
|
||||
containerEmpty = "ItemPlasticWaterbottleUnfilled";
|
||||
class ItemActions {
|
||||
class Consume
|
||||
{
|
||||
text = $STR_ACTIONS_DRINK2;
|
||||
script = "spawn player_consume";
|
||||
};
|
||||
class Empty
|
||||
{
|
||||
text = $STR_EQUIP_NAME_13_EMPTY;
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
class Fill {
|
||||
text = "$STR_ACTIONS_FILL_W";
|
||||
script = "spawn player_fillWater;";
|
||||
};
|
||||
};
|
||||
};
|
||||
class ItemPlasticWaterbottle2ozBoiled : ItemWaterBottle {
|
||||
displayName = $STR_EPOCH_PET_WATERBOTTLE2OZBOILED;
|
||||
descriptionShort = $STR_EPOCH_PET_WATERBOTTLE2OZBOILED_DESC;
|
||||
infectionChance = 0;
|
||||
model = "z\addons\dayz_communityassets\models\waterbottle.p3d";
|
||||
picture = "\dayz_epoch_c\icons\plasticwaterbottle\PETwaterbottle2oz.paa";
|
||||
wateroz = 2;
|
||||
containerWater = "ItemPlasticWaterbottle";
|
||||
containerWaterSafe = "ItemPlasticWaterbottleSafe";
|
||||
containerWaterInfected = "ItemPlasticWaterbottleInfected";
|
||||
Nutrition[] = {0,0,200,0};
|
||||
consumeOutput = "ItemPlasticWaterbottleUnfilled";
|
||||
containerEmpty = "ItemPlasticWaterbottleUnfilled";
|
||||
class ItemActions {
|
||||
class Consume
|
||||
{
|
||||
text = $STR_ACTIONS_DRINK2;
|
||||
script = "spawn player_consume";
|
||||
};
|
||||
class Empty
|
||||
{
|
||||
text = $STR_EQUIP_NAME_13_EMPTY;
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
class Fill {
|
||||
text = "$STR_ACTIONS_FILL_W";
|
||||
script = "spawn player_fillWater;";
|
||||
};
|
||||
};
|
||||
};
|
||||
class ItemPlasticWaterbottle3ozBoiled : ItemWaterBottle {
|
||||
displayName = $STR_EPOCH_PET_WATERBOTTLE3OZBOILED;
|
||||
descriptionShort = $STR_EPOCH_PET_WATERBOTTLE3OZBOILED_DESC;
|
||||
infectionChance = 0;
|
||||
model = "z\addons\dayz_communityassets\models\waterbottle.p3d";
|
||||
picture = "\dayz_epoch_c\icons\plasticwaterbottle\PETwaterbottle3oz.paa";
|
||||
wateroz = 3;
|
||||
containerWater = "ItemPlasticWaterbottle";
|
||||
containerWaterSafe = "ItemPlasticWaterbottleSafe";
|
||||
containerWaterInfected = "ItemPlasticWaterbottleInfected";
|
||||
Nutrition[] = {0,0,300,0};
|
||||
consumeOutput = "ItemPlasticWaterbottleUnfilled";
|
||||
containerEmpty = "ItemPlasticWaterbottleUnfilled";
|
||||
class ItemActions {
|
||||
class Consume
|
||||
{
|
||||
text = $STR_ACTIONS_DRINK2;
|
||||
script = "spawn player_consume";
|
||||
};
|
||||
class Empty
|
||||
{
|
||||
text = $STR_EQUIP_NAME_13_EMPTY;
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
class Fill {
|
||||
text = "$STR_ACTIONS_FILL_W";
|
||||
script = "spawn player_fillWater;";
|
||||
};
|
||||
};
|
||||
};
|
||||
class ItemPlasticWaterbottle4ozBoiled : ItemWaterBottle {
|
||||
displayName = $STR_EPOCH_PET_WATERBOTTLE4OZBOILED;
|
||||
descriptionShort = $STR_EPOCH_PET_WATERBOTTLE4OZBOILED_DESC;
|
||||
infectionChance = 0;
|
||||
model = "z\addons\dayz_communityassets\models\waterbottle.p3d";
|
||||
picture = "\dayz_epoch_c\icons\plasticwaterbottle\PETwaterbottle4oz.paa";
|
||||
wateroz = 4;
|
||||
containerWater = "ItemPlasticWaterbottle";
|
||||
containerWaterSafe = "ItemPlasticWaterbottleSafe";
|
||||
containerWaterInfected = "ItemPlasticWaterbottleInfected";
|
||||
Nutrition[] = {0,0,400,0};
|
||||
consumeOutput = "ItemPlasticWaterbottleUnfilled";
|
||||
containerEmpty = "ItemPlasticWaterbottleUnfilled";
|
||||
class ItemActions {
|
||||
class Consume
|
||||
{
|
||||
text = $STR_ACTIONS_DRINK2;
|
||||
script = "spawn player_consume";
|
||||
};
|
||||
class Empty
|
||||
{
|
||||
text = $STR_EQUIP_NAME_13_EMPTY;
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
class Fill {
|
||||
text = "$STR_ACTIONS_FILL_W";
|
||||
script = "spawn player_fillWater;";
|
||||
};
|
||||
};
|
||||
};
|
||||
class ItemPlasticWaterbottle5ozBoiled : ItemWaterBottle {
|
||||
displayName = $STR_EPOCH_PET_WATERBOTTLE5OZBOILED;
|
||||
descriptionShort = $STR_EPOCH_PET_WATERBOTTLE5OZBOILED_DESC;
|
||||
infectionChance = 0;
|
||||
model = "z\addons\dayz_communityassets\models\waterbottle.p3d";
|
||||
picture = "\dayz_epoch_c\icons\plasticwaterbottle\PETwaterbottle5oz.paa";
|
||||
wateroz = 5;
|
||||
containerWater = "ItemPlasticWaterbottle";
|
||||
containerWaterSafe = "ItemPlasticWaterbottleSafe";
|
||||
containerWaterInfected = "ItemPlasticWaterbottleInfected";
|
||||
Nutrition[] = {0,0,500,0};
|
||||
consumeOutput = "ItemPlasticWaterbottleUnfilled";
|
||||
containerEmpty = "ItemPlasticWaterbottleUnfilled";
|
||||
class ItemActions {
|
||||
class Consume
|
||||
{
|
||||
text = $STR_ACTIONS_DRINK2;
|
||||
script = "spawn player_consume";
|
||||
};
|
||||
class Empty
|
||||
{
|
||||
text = $STR_EQUIP_NAME_13_EMPTY;
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
class Fill {
|
||||
text = "$STR_ACTIONS_FILL_W";
|
||||
script = "spawn player_fillWater;";
|
||||
};
|
||||
};
|
||||
};
|
||||
class ItemPlasticWaterbottle6ozBoiled : ItemWaterBottle {
|
||||
displayName = $STR_EPOCH_PET_WATERBOTTLE6OZBOILED;
|
||||
descriptionShort = $STR_EPOCH_PET_WATERBOTTLE6OZBOILED_DESC;
|
||||
infectionChance = 0;
|
||||
model = "z\addons\dayz_communityassets\models\waterbottle.p3d";
|
||||
picture = "\dayz_epoch_c\icons\plasticwaterbottle\PETwaterbottle6oz.paa";
|
||||
wateroz = 6;
|
||||
containerWater = "ItemPlasticWaterbottle";
|
||||
containerWaterSafe = "ItemPlasticWaterbottleSafe";
|
||||
containerWaterInfected = "ItemPlasticWaterbottleInfected";
|
||||
Nutrition[] = {0,0,600,0};
|
||||
consumeOutput = "ItemPlasticWaterbottleUnfilled";
|
||||
containerEmpty = "ItemPlasticWaterbottleUnfilled";
|
||||
class ItemActions {
|
||||
class Consume
|
||||
{
|
||||
text = $STR_ACTIONS_DRINK2;
|
||||
script = "spawn player_consume";
|
||||
};
|
||||
class Empty
|
||||
{
|
||||
text = $STR_EQUIP_NAME_13_EMPTY;
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
class Fill {
|
||||
text = "$STR_ACTIONS_FILL_W";
|
||||
script = "spawn player_fillWater;";
|
||||
};
|
||||
};
|
||||
};
|
||||
class ItemPlasticWaterbottle7ozBoiled : ItemWaterBottle {
|
||||
displayName = $STR_EPOCH_PET_WATERBOTTLE7OZBOILED;
|
||||
descriptionShort = $STR_EPOCH_PET_WATERBOTTLE7OZBOILED_DESC;
|
||||
infectionChance = 0;
|
||||
model = "z\addons\dayz_communityassets\models\waterbottle.p3d";
|
||||
picture = "\dayz_epoch_c\icons\plasticwaterbottle\PETwaterbottle7oz.paa";
|
||||
wateroz = 7;
|
||||
containerWater = "ItemPlasticWaterbottle";
|
||||
containerWaterSafe = "ItemPlasticWaterbottleSafe";
|
||||
containerWaterInfected = "ItemPlasticWaterbottleInfected";
|
||||
Nutrition[] = {0,0,700,0};
|
||||
consumeOutput = "ItemPlasticWaterbottleUnfilled";
|
||||
containerEmpty = "ItemPlasticWaterbottleUnfilled";
|
||||
class ItemActions {
|
||||
class Consume
|
||||
{
|
||||
text = $STR_ACTIONS_DRINK2;
|
||||
script = "spawn player_consume";
|
||||
};
|
||||
class Empty
|
||||
{
|
||||
text = $STR_EQUIP_NAME_13_EMPTY;
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
class Fill {
|
||||
text = "$STR_ACTIONS_FILL_W";
|
||||
script = "spawn player_fillWater;";
|
||||
};
|
||||
};
|
||||
};
|
||||
class ItemPlasticWaterbottle8ozBoiled : ItemWaterBottle {
|
||||
displayName = $STR_EPOCH_PET_WATERBOTTLE8OZBOILED;
|
||||
descriptionShort = $STR_EPOCH_PET_WATERBOTTLE8OZBOILED_DESC;
|
||||
infectionChance = 0;
|
||||
model = "z\addons\dayz_communityassets\models\waterbottle.p3d";
|
||||
picture = "\dayz_epoch_c\icons\plasticwaterbottle\PETwaterbottle8oz.paa";
|
||||
wateroz = 8;
|
||||
containerWater = "ItemPlasticWaterbottle";
|
||||
containerWaterSafe = "ItemPlasticWaterbottleSafe";
|
||||
containerWaterInfected = "ItemPlasticWaterbottleInfected";
|
||||
Nutrition[] = {0,0,800,0};
|
||||
consumeOutput = "ItemPlasticWaterbottleUnfilled";
|
||||
containerEmpty = "ItemPlasticWaterbottleUnfilled";
|
||||
class ItemActions {
|
||||
class Consume
|
||||
{
|
||||
text = $STR_ACTIONS_DRINK2;
|
||||
script = "spawn player_consume";
|
||||
};
|
||||
class Empty
|
||||
{
|
||||
text = $STR_EQUIP_NAME_13_EMPTY;
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
class Fill {
|
||||
text = "$STR_ACTIONS_FILL_W";
|
||||
script = "spawn player_fillWater;";
|
||||
};
|
||||
};
|
||||
};
|
||||
class ItemPlasticWaterbottle9ozBoiled : ItemWaterBottle {
|
||||
displayName = $STR_EPOCH_PET_WATERBOTTLE9OZBOILED;
|
||||
descriptionShort = $STR_EPOCH_PET_WATERBOTTLE9OZBOILED_DESC;
|
||||
infectionChance = 0;
|
||||
model = "z\addons\dayz_communityassets\models\waterbottle.p3d";
|
||||
picture = "\dayz_epoch_c\icons\plasticwaterbottle\PETwaterbottle9oz.paa";
|
||||
wateroz = 9;
|
||||
containerWater = "ItemPlasticWaterbottle";
|
||||
containerWaterSafe = "ItemPlasticWaterbottleSafe";
|
||||
containerWaterInfected = "ItemPlasticWaterbottleInfected";
|
||||
Nutrition[] = {0,0,900,0};
|
||||
consumeOutput = "ItemPlasticWaterbottleUnfilled";
|
||||
containerEmpty = "ItemPlasticWaterbottleUnfilled";
|
||||
class ItemActions {
|
||||
class Consume
|
||||
{
|
||||
text = $STR_ACTIONS_DRINK2;
|
||||
script = "spawn player_consume";
|
||||
};
|
||||
class Empty
|
||||
{
|
||||
text = $STR_EQUIP_NAME_13_EMPTY;
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
class Fill {
|
||||
text = "$STR_ACTIONS_FILL_W";
|
||||
script = "spawn player_fillWater;";
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -257,3 +257,16 @@ class ItemSherbet : ItemSoda
|
||||
|
||||
consumeOutput = "ItemSodaSherbetEmpty";
|
||||
};
|
||||
|
||||
class ItemSodaRbull : ItemSodaCoke {
|
||||
displayName = $STR_FOOD_NAME_RBULL;
|
||||
descriptionShort = $STR_FOOD_DESC_RBULL;
|
||||
model = "z\addons\dayz_epoch\models\soda_redbull.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_soda_rbull_CA.paa";
|
||||
};
|
||||
class ItemSodaOrangeSherbet : ItemSodaCoke {
|
||||
displayName = $STR_FOOD_NAME_OSHERBET;
|
||||
descriptionShort = $STR_FOOD_DESC_OSHERBET;
|
||||
model = "z\addons\dayz_epoch\models\soda_sherbet.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\soda_orangesherbet_ca.paa";
|
||||
};
|
||||
@@ -54,4 +54,584 @@ class ItemWaterBottleHerbal : ItemWaterBottle
|
||||
descriptionShort = $STR_ITEM_DESC_HerbalDrink;
|
||||
|
||||
infectionChance = -0.5;
|
||||
};
|
||||
};
|
||||
|
||||
class ItemWaterBottleUnfilled : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\dayz_equip\models\waterbottle_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_waterbottle_empty_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_13;
|
||||
descriptionShort = $STR_EQUIP_DESC_13;
|
||||
|
||||
containerWater = "ItemWaterBottle";
|
||||
containerWaterSafe = "ItemWaterBottleSafe";
|
||||
containerWaterInfected = "ItemWaterBottleInfected";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Fill
|
||||
{
|
||||
text = $STR_ACTIONS_FILL_W;
|
||||
script = "spawn player_fillWater;";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemWaterBottleDmg : CA_Magazine //We don't have a damaged canteen image/model , so the regular bottle image is used for now
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\dayz_equip\models\waterbottle_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_waterbottle_empty_ca.paa";
|
||||
displayName = $STR_ITEMWATERBOTTLEDMG_CODE_NAME;
|
||||
descriptionShort = $STR_ITEMWATERBOTTLEDMG_CODE_DESC;
|
||||
sfx = "bandage";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Crafting {
|
||||
text = $STR_ACTIONS_FIX_W;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {};
|
||||
output[] = {{"ItemWaterbottleUnfilled",1}};
|
||||
input[] = {{"ItemWaterBottleDmg",1},{"equip_duct_tape",1}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemWaterbottle1oz : ItemWaterbottle {
|
||||
displayName = $STR_EPOCH_WATERBOTTLE1OZ;
|
||||
descriptionShort = $STR_EPOCH_WATERBOTTLE1OZ_DESC;
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_1oz_ca.paa";
|
||||
wateroz = 1;
|
||||
containerWater = "ItemWaterBottle";
|
||||
containerWaterSafe = "ItemWaterBottleSafe";
|
||||
containerWaterInfected = "ItemWaterBottleInfected";
|
||||
Nutrition[] = {0,0,100,0};
|
||||
infectionChance = 0.03;
|
||||
consumeOutput = "ItemWaterBottleUnfilled";
|
||||
containerEmpty = "ItemWaterBottleUnfilled";
|
||||
class ItemActions {
|
||||
class Consume
|
||||
{
|
||||
text = $STR_ACTIONS_DRINK2;
|
||||
script = "spawn player_consume";
|
||||
};
|
||||
class Empty
|
||||
{
|
||||
text = $STR_EQUIP_NAME_13_EMPTY;
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
class Fill {
|
||||
text = "$STR_ACTIONS_FILL_W";
|
||||
script = "spawn player_fillWater;";
|
||||
};
|
||||
};
|
||||
};
|
||||
class ItemWaterbottle2oz : ItemWaterbottle {
|
||||
displayName = $STR_EPOCH_WATERBOTTLE2OZ;
|
||||
descriptionShort = $STR_EPOCH_WATERBOTTLE2OZ_DESC;
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_2oz_ca.paa";
|
||||
wateroz = 2;
|
||||
containerWater = "ItemWaterBottle";
|
||||
containerWaterSafe = "ItemWaterBottleSafe";
|
||||
containerWaterInfected = "ItemWaterBottleInfected";
|
||||
Nutrition[] = {0,0,200,0};
|
||||
infectionChance = 0.06;
|
||||
consumeOutput = "ItemWaterBottleUnfilled";
|
||||
containerEmpty = "ItemWaterBottleUnfilled";
|
||||
class ItemActions {
|
||||
class Consume
|
||||
{
|
||||
text = $STR_ACTIONS_DRINK2;
|
||||
script = "spawn player_consume";
|
||||
};
|
||||
class Empty
|
||||
{
|
||||
text = $STR_EQUIP_NAME_13_EMPTY;
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
class Fill {
|
||||
text = "$STR_ACTIONS_FILL_W";
|
||||
script = "spawn player_fillWater;";
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
class ItemWaterbottle3oz : ItemWaterbottle {
|
||||
displayName = $STR_EPOCH_WATERBOTTLE3OZ;
|
||||
descriptionShort = $STR_EPOCH_WATERBOTTLE3OZ_DESC;
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_3oz_ca.paa";
|
||||
wateroz = 3;
|
||||
containerWater = "ItemWaterBottle";
|
||||
containerWaterSafe = "ItemWaterBottleSafe";
|
||||
containerWaterInfected = "ItemWaterBottleInfected";
|
||||
Nutrition[] = {0,0,300,0};
|
||||
infectionChance = 0.09;
|
||||
consumeOutput = "ItemWaterBottleUnfilled";
|
||||
containerEmpty = "ItemWaterBottleUnfilled";
|
||||
class ItemActions {
|
||||
class Consume
|
||||
{
|
||||
text = $STR_ACTIONS_DRINK2;
|
||||
script = "spawn player_consume";
|
||||
};
|
||||
class Empty
|
||||
{
|
||||
text = $STR_EQUIP_NAME_13_EMPTY;
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
class Fill {
|
||||
text = "$STR_ACTIONS_FILL_W";
|
||||
script = "spawn player_fillWater;";
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
class ItemWaterbottle4oz : ItemWaterbottle {
|
||||
displayName = $STR_EPOCH_WATERBOTTLE4OZ;
|
||||
descriptionShort = $STR_EPOCH_WATERBOTTLE4OZ_DESC;
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_4oz_ca.paa";
|
||||
wateroz = 4;
|
||||
containerWater = "ItemWaterBottle";
|
||||
containerWaterSafe = "ItemWaterBottleSafe";
|
||||
containerWaterInfected = "ItemWaterBottleInfected";
|
||||
Nutrition[] = {0,0,400,0};
|
||||
infectionChance = 0.12;
|
||||
consumeOutput = "ItemWaterBottleUnfilled";
|
||||
containerEmpty = "ItemWaterBottleUnfilled";
|
||||
class ItemActions {
|
||||
class Consume
|
||||
{
|
||||
text = $STR_ACTIONS_DRINK2;
|
||||
script = "spawn player_consume";
|
||||
};
|
||||
class Empty
|
||||
{
|
||||
text = $STR_EQUIP_NAME_13_EMPTY;
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
class Fill {
|
||||
text = "$STR_ACTIONS_FILL_W";
|
||||
script = "spawn player_fillWater;";
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
class ItemWaterbottle5oz : ItemWaterbottle {
|
||||
displayName = $STR_EPOCH_WATERBOTTLE5OZ;
|
||||
descriptionShort = $STR_EPOCH_WATERBOTTLE5OZ_DESC;
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_5oz_ca.paa";
|
||||
wateroz = 5;
|
||||
containerWater = "ItemWaterBottle";
|
||||
containerWaterSafe = "ItemWaterBottleSafe";
|
||||
containerWaterInfected = "ItemWaterBottleInfected";
|
||||
Nutrition[] = {0,0,500,0};
|
||||
infectionChance = 0.15;
|
||||
consumeOutput = "ItemWaterBottleUnfilled";
|
||||
containerEmpty = "ItemWaterBottleUnfilled";
|
||||
class ItemActions {
|
||||
class Consume
|
||||
{
|
||||
text = $STR_ACTIONS_DRINK2;
|
||||
script = "spawn player_consume";
|
||||
};
|
||||
class Empty
|
||||
{
|
||||
text = $STR_EQUIP_NAME_13_EMPTY;
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
class Fill {
|
||||
text = "$STR_ACTIONS_FILL_W";
|
||||
script = "spawn player_fillWater;";
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
class ItemWaterbottle6oz : ItemWaterbottle {
|
||||
displayName = $STR_EPOCH_WATERBOTTLE6OZ;
|
||||
descriptionShort = $STR_EPOCH_WATERBOTTLE6OZ_DESC;
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_6oz_ca.paa";
|
||||
wateroz = 6;
|
||||
containerWater = "ItemWaterBottle";
|
||||
containerWaterSafe = "ItemWaterBottleSafe";
|
||||
containerWaterInfected = "ItemWaterBottleInfected";
|
||||
Nutrition[] = {0,0,600,0};
|
||||
infectionChance = 0.18;
|
||||
consumeOutput = "ItemWaterBottleUnfilled";
|
||||
containerEmpty = "ItemWaterBottleUnfilled";
|
||||
class ItemActions {
|
||||
class Consume
|
||||
{
|
||||
text = $STR_ACTIONS_DRINK2;
|
||||
script = "spawn player_consume";
|
||||
};
|
||||
class Empty
|
||||
{
|
||||
text = $STR_EQUIP_NAME_13_EMPTY;
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
class Fill {
|
||||
text = "$STR_ACTIONS_FILL_W";
|
||||
script = "spawn player_fillWater;";
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
class ItemWaterbottle7oz : ItemWaterbottle {
|
||||
displayName = $STR_EPOCH_WATERBOTTLE7OZ;
|
||||
descriptionShort = $STR_EPOCH_WATERBOTTLE7OZ_DESC;
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_7oz_ca.paa";
|
||||
wateroz = 7;
|
||||
containerWater = "ItemWaterBottle";
|
||||
containerWaterSafe = "ItemWaterBottleSafe";
|
||||
containerWaterInfected = "ItemWaterBottleInfected";
|
||||
Nutrition[] = {0,0,700,0};
|
||||
infectionChance = 0.21;
|
||||
consumeOutput = "ItemWaterBottleUnfilled";
|
||||
containerEmpty = "ItemWaterBottleUnfilled";
|
||||
class ItemActions {
|
||||
class Consume
|
||||
{
|
||||
text = $STR_ACTIONS_DRINK2;
|
||||
script = "spawn player_consume";
|
||||
};
|
||||
class Empty
|
||||
{
|
||||
text = $STR_EQUIP_NAME_13_EMPTY;
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
class Fill {
|
||||
text = "$STR_ACTIONS_FILL_W";
|
||||
script = "spawn player_fillWater;";
|
||||
};
|
||||
};
|
||||
};
|
||||
class ItemWaterbottle8oz : ItemWaterbottle {
|
||||
displayName = $STR_EPOCH_WATERBOTTLE8OZ;
|
||||
descriptionShort = $STR_EPOCH_WATERBOTTLE8OZ_DESC;
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_8oz_ca.paa";
|
||||
wateroz = 8;
|
||||
containerWater = "ItemWaterBottle";
|
||||
containerWaterSafe = "ItemWaterBottleSafe";
|
||||
containerWaterInfected = "ItemWaterBottleInfected";
|
||||
Nutrition[] = {0,0,800,0};
|
||||
infectionChance = 0.24;
|
||||
consumeOutput = "ItemWaterBottleUnfilled";
|
||||
containerEmpty = "ItemWaterBottleUnfilled";
|
||||
class ItemActions {
|
||||
class Consume
|
||||
{
|
||||
text = $STR_ACTIONS_DRINK2;
|
||||
script = "spawn player_consume";
|
||||
};
|
||||
class Empty
|
||||
{
|
||||
text = $STR_EQUIP_NAME_13_EMPTY;
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
class Fill {
|
||||
text = "$STR_ACTIONS_FILL_W";
|
||||
script = "spawn player_fillWater;";
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
class ItemWaterbottle9oz : ItemWaterbottle {
|
||||
displayName = $STR_EPOCH_WATERBOTTLE9OZ;
|
||||
descriptionShort = $STR_EPOCH_WATERBOTTLE9OZ_DESC;
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_9oz_ca.paa";
|
||||
wateroz = 9;
|
||||
containerWater = "ItemWaterBottle";
|
||||
containerWaterSafe = "ItemWaterBottleSafe";
|
||||
containerWaterInfected = "ItemWaterBottleInfected";
|
||||
Nutrition[] = {0,0,900,0};
|
||||
infectionChance = 0.27;
|
||||
consumeOutput = "ItemWaterBottleUnfilled";
|
||||
containerEmpty = "ItemWaterBottleUnfilled";
|
||||
class ItemActions {
|
||||
class Consume
|
||||
{
|
||||
text = $STR_ACTIONS_DRINK2;
|
||||
script = "spawn player_consume";
|
||||
};
|
||||
class Empty
|
||||
{
|
||||
text = $STR_EQUIP_NAME_13_EMPTY;
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
class Fill {
|
||||
text = "$STR_ACTIONS_FILL_W";
|
||||
script = "spawn player_fillWater;";
|
||||
};
|
||||
};
|
||||
};
|
||||
//inherit from ItemWaterbottle because that's how the crafting script checks required input
|
||||
class ItemWaterbottle1ozBoiled : ItemWaterbottle {
|
||||
displayName = $STR_EPOCH_WATERBOTTLE1OZBOILED;
|
||||
descriptionShort = $STR_EPOCH_WATERBOTTLE1OZBOILED_DESC;
|
||||
infectionChance = 0;
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_1oz_ca.paa";
|
||||
wateroz = 1;
|
||||
containerWater = "ItemWaterBottle";
|
||||
containerWaterSafe = "ItemWaterBottleSafe";
|
||||
containerWaterInfected = "ItemWaterBottleInfected";
|
||||
Nutrition[] = {0,0,100,0};
|
||||
consumeOutput = "ItemWaterBottleUnfilled";
|
||||
containerEmpty = "ItemWaterBottleUnfilled";
|
||||
class ItemActions {
|
||||
class Consume
|
||||
{
|
||||
text = $STR_ACTIONS_DRINK2;
|
||||
script = "spawn player_consume";
|
||||
};
|
||||
class Empty
|
||||
{
|
||||
text = $STR_EQUIP_NAME_13_EMPTY;
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
class Fill {
|
||||
text = "$STR_ACTIONS_FILL_W";
|
||||
script = "spawn player_fillWater;";
|
||||
};
|
||||
};
|
||||
};
|
||||
class ItemWaterbottle2ozBoiled : ItemWaterbottle {
|
||||
displayName = $STR_EPOCH_WATERBOTTLE2OZBOILED;
|
||||
descriptionShort = $STR_EPOCH_WATERBOTTLE2OZBOILED_DESC;
|
||||
infectionChance = 0;
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_2oz_ca.paa";
|
||||
wateroz = 2;
|
||||
containerWater = "ItemWaterBottle";
|
||||
containerWaterSafe = "ItemWaterBottleSafe";
|
||||
containerWaterInfected = "ItemWaterBottleInfected";
|
||||
Nutrition[] = {0,0,200,0};
|
||||
consumeOutput = "ItemWaterBottleUnfilled";
|
||||
containerEmpty = "ItemWaterBottleUnfilled";
|
||||
class ItemActions {
|
||||
class Consume
|
||||
{
|
||||
text = $STR_ACTIONS_DRINK2;
|
||||
script = "spawn player_consume";
|
||||
};
|
||||
class Empty
|
||||
{
|
||||
text = $STR_EQUIP_NAME_13_EMPTY;
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
class Fill {
|
||||
text = "$STR_ACTIONS_FILL_W";
|
||||
script = "spawn player_fillWater;";
|
||||
};
|
||||
};
|
||||
};
|
||||
class ItemWaterbottle3ozBoiled : ItemWaterbottle {
|
||||
displayName = $STR_EPOCH_WATERBOTTLE3OZBOILED;
|
||||
descriptionShort = $STR_EPOCH_WATERBOTTLE3OZBOILED_DESC;
|
||||
infectionChance = 0;
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_3oz_ca.paa";
|
||||
wateroz = 3;
|
||||
containerWater = "ItemWaterBottle";
|
||||
containerWaterSafe = "ItemWaterBottleSafe";
|
||||
containerWaterInfected = "ItemWaterBottleInfected";
|
||||
Nutrition[] = {0,0,300,0};
|
||||
consumeOutput = "ItemWaterBottleUnfilled";
|
||||
containerEmpty = "ItemWaterBottleUnfilled";
|
||||
class ItemActions {
|
||||
class Consume
|
||||
{
|
||||
text = $STR_ACTIONS_DRINK2;
|
||||
script = "spawn player_consume";
|
||||
};
|
||||
class Empty
|
||||
{
|
||||
text = $STR_EQUIP_NAME_13_EMPTY;
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
class Fill {
|
||||
text = "$STR_ACTIONS_FILL_W";
|
||||
script = "spawn player_fillWater;";
|
||||
};
|
||||
};
|
||||
};
|
||||
class ItemWaterbottle4ozBoiled : ItemWaterbottle {
|
||||
displayName = $STR_EPOCH_WATERBOTTLE4OZBOILED;
|
||||
descriptionShort = $STR_EPOCH_WATERBOTTLE4OZBOILED_DESC;
|
||||
infectionChance = 0;
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_4oz_ca.paa";
|
||||
wateroz = 4;
|
||||
containerWater = "ItemWaterBottle";
|
||||
containerWaterSafe = "ItemWaterBottleSafe";
|
||||
containerWaterInfected = "ItemWaterBottleInfected";
|
||||
Nutrition[] = {0,0,400,0};
|
||||
consumeOutput = "ItemWaterBottleUnfilled";
|
||||
containerEmpty = "ItemWaterBottleUnfilled";
|
||||
class ItemActions {
|
||||
class Consume
|
||||
{
|
||||
text = $STR_ACTIONS_DRINK2;
|
||||
script = "spawn player_consume";
|
||||
};
|
||||
class Empty
|
||||
{
|
||||
text = $STR_EQUIP_NAME_13_EMPTY;
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
class Fill {
|
||||
text = "$STR_ACTIONS_FILL_W";
|
||||
script = "spawn player_fillWater;";
|
||||
};
|
||||
};
|
||||
};
|
||||
class ItemWaterbottle5ozBoiled : ItemWaterbottle {
|
||||
displayName = $STR_EPOCH_WATERBOTTLE5OZBOILED;
|
||||
descriptionShort = $STR_EPOCH_WATERBOTTLE5OZBOILED_DESC;
|
||||
infectionChance = 0;
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_5oz_ca.paa";
|
||||
wateroz = 5;
|
||||
containerWater = "ItemWaterBottle";
|
||||
containerWaterSafe = "ItemWaterBottleSafe";
|
||||
containerWaterInfected = "ItemWaterBottleInfected";
|
||||
Nutrition[] = {0,0,500,0};
|
||||
consumeOutput = "ItemWaterBottleUnfilled";
|
||||
containerEmpty = "ItemWaterBottleUnfilled";
|
||||
class ItemActions {
|
||||
class Consume
|
||||
{
|
||||
text = $STR_ACTIONS_DRINK2;
|
||||
script = "spawn player_consume";
|
||||
};
|
||||
class Empty
|
||||
{
|
||||
text = $STR_EQUIP_NAME_13_EMPTY;
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
class Fill {
|
||||
text = "$STR_ACTIONS_FILL_W";
|
||||
script = "spawn player_fillWater;";
|
||||
};
|
||||
};
|
||||
};
|
||||
class ItemWaterbottle6ozBoiled : ItemWaterbottle {
|
||||
displayName = $STR_EPOCH_WATERBOTTLE6OZBOILED;
|
||||
descriptionShort = $STR_EPOCH_WATERBOTTLE6OZBOILED_DESC;
|
||||
infectionChance = 0;
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_6oz_ca.paa";
|
||||
wateroz = 6;
|
||||
containerWater = "ItemWaterBottle";
|
||||
containerWaterSafe = "ItemWaterBottleSafe";
|
||||
containerWaterInfected = "ItemWaterBottleInfected";
|
||||
Nutrition[] = {0,0,600,0};
|
||||
consumeOutput = "ItemWaterBottleUnfilled";
|
||||
containerEmpty = "ItemWaterBottleUnfilled";
|
||||
class ItemActions {
|
||||
class Consume
|
||||
{
|
||||
text = $STR_ACTIONS_DRINK2;
|
||||
script = "spawn player_consume";
|
||||
};
|
||||
class Empty
|
||||
{
|
||||
text = $STR_EQUIP_NAME_13_EMPTY;
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
class Fill {
|
||||
text = "$STR_ACTIONS_FILL_W";
|
||||
script = "spawn player_fillWater;";
|
||||
};
|
||||
};
|
||||
};
|
||||
class ItemWaterbottle7ozBoiled : ItemWaterbottle {
|
||||
displayName = $STR_EPOCH_WATERBOTTLE7OZBOILED;
|
||||
descriptionShort = $STR_EPOCH_WATERBOTTLE7OZBOILED_DESC;
|
||||
infectionChance = 0;
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_7oz_ca.paa";
|
||||
wateroz = 7;
|
||||
containerWater = "ItemWaterBottle";
|
||||
containerWaterSafe = "ItemWaterBottleSafe";
|
||||
containerWaterInfected = "ItemWaterBottleInfected";
|
||||
Nutrition[] = {0,0,700,0};
|
||||
consumeOutput = "ItemWaterBottleUnfilled";
|
||||
containerEmpty = "ItemWaterBottleUnfilled";
|
||||
class ItemActions {
|
||||
class Consume
|
||||
{
|
||||
text = $STR_ACTIONS_DRINK2;
|
||||
script = "spawn player_consume";
|
||||
};
|
||||
class Empty
|
||||
{
|
||||
text = $STR_EQUIP_NAME_13_EMPTY;
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
class Fill {
|
||||
text = "$STR_ACTIONS_FILL_W";
|
||||
script = "spawn player_fillWater;";
|
||||
};
|
||||
};
|
||||
};
|
||||
class ItemWaterbottle8ozBoiled : ItemWaterbottle {
|
||||
displayName = $STR_EPOCH_WATERBOTTLE8OZBOILED;
|
||||
descriptionShort = $STR_EPOCH_WATERBOTTLE8OZBOILED_DESC;
|
||||
infectionChance = 0;
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_8oz_ca.paa";
|
||||
wateroz = 8;
|
||||
containerWater = "ItemWaterBottle";
|
||||
containerWaterSafe = "ItemWaterBottleSafe";
|
||||
containerWaterInfected = "ItemWaterBottleInfected";
|
||||
Nutrition[] = {0,0,800,0};
|
||||
consumeOutput = "ItemWaterBottleUnfilled";
|
||||
containerEmpty = "ItemWaterBottleUnfilled";
|
||||
class ItemActions {
|
||||
class Consume
|
||||
{
|
||||
text = $STR_ACTIONS_DRINK2;
|
||||
script = "spawn player_consume";
|
||||
};
|
||||
class Empty
|
||||
{
|
||||
text = $STR_EQUIP_NAME_13_EMPTY;
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
class Fill {
|
||||
text = "$STR_ACTIONS_FILL_W";
|
||||
script = "spawn player_fillWater;";
|
||||
};
|
||||
};
|
||||
};
|
||||
class ItemWaterbottle9ozBoiled : ItemWaterbottle {
|
||||
displayName = $STR_EPOCH_WATERBOTTLE9OZBOILED;
|
||||
descriptionShort = $STR_EPOCH_WATERBOTTLE9OZBOILED_DESC;
|
||||
infectionChance = 0;
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_9oz_ca.paa";
|
||||
wateroz = 9;
|
||||
containerWater = "ItemWaterBottle";
|
||||
containerWaterSafe = "ItemWaterBottleSafe";
|
||||
containerWaterInfected = "ItemWaterBottleInfected";
|
||||
Nutrition[] = {0,0,900,0};
|
||||
consumeOutput = "ItemWaterBottleUnfilled";
|
||||
containerEmpty = "ItemWaterBottleUnfilled";
|
||||
class ItemActions {
|
||||
class Consume
|
||||
{
|
||||
text = $STR_ACTIONS_DRINK2;
|
||||
script = "spawn player_consume";
|
||||
};
|
||||
class Empty
|
||||
{
|
||||
text = $STR_EQUIP_NAME_13_EMPTY;
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
class Fill {
|
||||
text = "$STR_ACTIONS_FILL_W";
|
||||
script = "spawn player_fillWater;";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user