From 88c7d7d28beafd089e783459339ed4012b4a29d0 Mon Sep 17 00:00:00 2001 From: icomrade Date: Thu, 21 Jul 2016 00:21:52 -0400 Subject: [PATCH] Fix < 10 oz water bottle filling --- .../CfgMagazines/DZE/ItemWaterbottle.hpp | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/SQF/dayz_code/Configs/CfgMagazines/DZE/ItemWaterbottle.hpp b/SQF/dayz_code/Configs/CfgMagazines/DZE/ItemWaterbottle.hpp index b9051bdc2..1ab8706fc 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/DZE/ItemWaterbottle.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/DZE/ItemWaterbottle.hpp @@ -3,6 +3,9 @@ class ItemWaterbottle1oz : ItemWaterbottle { descriptionShort = $STR_EPOCH_WATERBOTTLE1OZ_DESC; picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_1oz_ca.paa"; wateroz = 1; + containerWater = "ItemWaterBottle"; + containerWaterSafe = "ItemWaterBottleSafe"; + containerWaterInfected = "ItemWaterBottleInfected"; class ItemActions { class Fill { text = "$STR_ACTIONS_FILL_W"; @@ -15,6 +18,9 @@ class ItemWaterbottle2oz : ItemWaterbottle { descriptionShort = $STR_EPOCH_WATERBOTTLE2OZ_DESC; picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_2oz_ca.paa"; wateroz = 2; + containerWater = "ItemWaterBottle"; + containerWaterSafe = "ItemWaterBottleSafe"; + containerWaterInfected = "ItemWaterBottleInfected"; class ItemActions { class Fill { text = "$STR_ACTIONS_FILL_W"; @@ -27,6 +33,9 @@ class ItemWaterbottle3oz : ItemWaterbottle { descriptionShort = $STR_EPOCH_WATERBOTTLE3OZ_DESC; picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_3oz_ca.paa"; wateroz = 3; + containerWater = "ItemWaterBottle"; + containerWaterSafe = "ItemWaterBottleSafe"; + containerWaterInfected = "ItemWaterBottleInfected"; class ItemActions { class Fill { text = "$STR_ACTIONS_FILL_W"; @@ -39,6 +48,9 @@ class ItemWaterbottle4oz : ItemWaterbottle { descriptionShort = $STR_EPOCH_WATERBOTTLE4OZ_DESC; picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_4oz_ca.paa"; wateroz = 4; + containerWater = "ItemWaterBottle"; + containerWaterSafe = "ItemWaterBottleSafe"; + containerWaterInfected = "ItemWaterBottleInfected"; class ItemActions { class Fill { text = "$STR_ACTIONS_FILL_W"; @@ -51,6 +63,9 @@ class ItemWaterbottle5oz : ItemWaterbottle { descriptionShort = $STR_EPOCH_WATERBOTTLE5OZ_DESC; picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_5oz_ca.paa"; wateroz = 5; + containerWater = "ItemWaterBottle"; + containerWaterSafe = "ItemWaterBottleSafe"; + containerWaterInfected = "ItemWaterBottleInfected"; class ItemActions { class Fill { text = "$STR_ACTIONS_FILL_W"; @@ -63,6 +78,9 @@ class ItemWaterbottle6oz : ItemWaterbottle { descriptionShort = $STR_EPOCH_WATERBOTTLE6OZ_DESC; picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_6oz_ca.paa"; wateroz = 6; + containerWater = "ItemWaterBottle"; + containerWaterSafe = "ItemWaterBottleSafe"; + containerWaterInfected = "ItemWaterBottleInfected"; class ItemActions { class Fill { text = "$STR_ACTIONS_FILL_W"; @@ -75,6 +93,9 @@ class ItemWaterbottle7oz : ItemWaterbottle { descriptionShort = $STR_EPOCH_WATERBOTTLE7OZ_DESC; picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_7oz_ca.paa"; wateroz = 7; + containerWater = "ItemWaterBottle"; + containerWaterSafe = "ItemWaterBottleSafe"; + containerWaterInfected = "ItemWaterBottleInfected"; class ItemActions { class Fill { text = "$STR_ACTIONS_FILL_W"; @@ -87,6 +108,9 @@ class ItemWaterbottle8oz : ItemWaterbottle { descriptionShort = $STR_EPOCH_WATERBOTTLE8OZ_DESC; picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_8oz_ca.paa"; wateroz = 8; + containerWater = "ItemWaterBottle"; + containerWaterSafe = "ItemWaterBottleSafe"; + containerWaterInfected = "ItemWaterBottleInfected"; class ItemActions { class Fill { text = "$STR_ACTIONS_FILL_W"; @@ -99,6 +123,9 @@ class ItemWaterbottle9oz : ItemWaterbottle { descriptionShort = $STR_EPOCH_WATERBOTTLE9OZ_DESC; picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_9oz_ca.paa"; wateroz = 9; + containerWater = "ItemWaterBottle"; + containerWaterSafe = "ItemWaterBottleSafe"; + containerWaterInfected = "ItemWaterBottleInfected"; class ItemActions { class Fill { text = "$STR_ACTIONS_FILL_W";