mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-20 10:26:28 +03:00
Adding dayz mod waterbottles
This commit adds the waterbottles from DayZ Mod. The icons were made by @DeVloek. The waterbottles are fully functional with all actions. To boil a plastic waterbottle you need an empty trash can. Dogs could not be watered with other waterbottle than the ItemWaterbottle itself. This is fixed now. Also fix missing reset action from hide body.
This commit is contained in:
649
SQF/dayz_code/Configs/CfgMagazines/DZE/PlasticWaterbottle.hpp
Normal file
649
SQF/dayz_code/Configs/CfgMagazines/DZE/PlasticWaterbottle.hpp
Normal file
@@ -0,0 +1,649 @@
|
||||
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_13;
|
||||
descriptionShort = $STR_EQUIP_DESC_13;
|
||||
|
||||
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\PETwaterbottleEmpty.paa";
|
||||
displayName = $STR_ITEMWATERBOTTLEDMG_CODE_NAME;
|
||||
descriptionShort = $STR_ITEMWATERBOTTLEDMG_CODE_DESC;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Repair
|
||||
{
|
||||
text = $STR_ACTIONS_FIX_W;
|
||||
script = "spawn player_fixBottle;";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemPlasticWaterBottle : ItemWaterBottle {
|
||||
scope = public;
|
||||
model = "z\addons\dayz_communityassets\models\waterbottle.p3d";
|
||||
picture = "\dayz_epoch_c\icons\plasticwaterbottle\PETwaterbottle10oz.paa";
|
||||
|
||||
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;
|
||||
|
||||
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;
|
||||
|
||||
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_ITEMWATERBOTTLEBOILED_CODE_NAME;
|
||||
descriptionShort = $STR_ITEMWATERBOTTLEBOILED_CODE_DESC;
|
||||
|
||||
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_ITEM_NAME_HerbalDrink;
|
||||
descriptionShort = $STR_ITEM_DESC_HerbalDrink;
|
||||
|
||||
infectionChance = -0.5;
|
||||
consumeOutput = "ItemPlasticWaterbottleUnfilled";
|
||||
containerEmpty = "ItemPlasticWaterbottleUnfilled";
|
||||
};
|
||||
|
||||
class ItemPlasticWaterbottle1oz : ItemWaterBottle {
|
||||
displayName = $STR_EPOCH_WATERBOTTLE1OZ;
|
||||
descriptionShort = $STR_EPOCH_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_WATERBOTTLE2OZ;
|
||||
descriptionShort = $STR_EPOCH_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_WATERBOTTLE3OZ;
|
||||
descriptionShort = $STR_EPOCH_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_WATERBOTTLE4OZ;
|
||||
descriptionShort = $STR_EPOCH_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_WATERBOTTLE5OZ;
|
||||
descriptionShort = $STR_EPOCH_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_WATERBOTTLE6OZ;
|
||||
descriptionShort = $STR_EPOCH_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_WATERBOTTLE7OZ;
|
||||
descriptionShort = $STR_EPOCH_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_WATERBOTTLE8OZ;
|
||||
descriptionShort = $STR_EPOCH_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_WATERBOTTLE9OZ;
|
||||
descriptionShort = $STR_EPOCH_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_WATERBOTTLE1OZBOILED;
|
||||
descriptionShort = $STR_EPOCH_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_WATERBOTTLE2OZBOILED;
|
||||
descriptionShort = $STR_EPOCH_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_WATERBOTTLE3OZBOILED;
|
||||
descriptionShort = $STR_EPOCH_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_WATERBOTTLE4OZBOILED;
|
||||
descriptionShort = $STR_EPOCH_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_WATERBOTTLE5OZBOILED;
|
||||
descriptionShort = $STR_EPOCH_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_WATERBOTTLE6OZBOILED;
|
||||
descriptionShort = $STR_EPOCH_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_WATERBOTTLE7OZBOILED;
|
||||
descriptionShort = $STR_EPOCH_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_WATERBOTTLE8OZBOILED;
|
||||
descriptionShort = $STR_EPOCH_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_WATERBOTTLE9OZBOILED;
|
||||
descriptionShort = $STR_EPOCH_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;";
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user