Fix itemtype of frozen food can and frozen soda can

Changed item type to CA_Magazine to prevent the consume option from showing up.
This commit is contained in:
seelenapparat
2022-01-11 11:43:01 +01:00
parent 61ccd1d469
commit ece0846704
2 changed files with 15 additions and 7 deletions

View File

@@ -249,18 +249,22 @@ class FoodCanDog2 : FoodPackaged
consumeOutput = "FoodCanRusUnlabeledEmpty";
};
class FoodCanFrozen1 : FoodPackaged
class FoodCanFrozen1 : CA_Magazine
{
scope = 2;
scope = 2;
count = 1;
type = 256;
model = "z\addons\dayz_communityassets\models\can_unlabeled_clean_full.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_can_unlabeled_clean_full_ca.paa";
displayName = $STR_FOOD_NAME_CAN_FROZEN;
descriptionShort = $STR_FOOD_DESC_CAN_FROZEN;
};
class FoodCanFrozen2 : FoodPackaged
class FoodCanFrozen2 : CA_Magazine
{
scope = 2;
count = 1;
type = 256;
model = "z\addons\dayz_communityassets\models\can_small_unlabeled_full.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_can_small_rus_unlabeled_clean_full_ca.paa";
displayName = $STR_FOOD_NAME_CAN_FROZEN;

View File

@@ -223,18 +223,22 @@ class ItemSodaOrangeSherbet : ItemSodaCoke
picture = "\z\addons\dayz_epoch\pictures\soda_orangesherbet_ca.paa";
};
class ItemSodaFrozen1 : ItemSoda
class ItemSodaFrozen1 : CA_Magazine
{
scope = 2;
scope = 2;
count = 1;
type = 256;
model = "z\addons\dayz_communityassets\models\can_unlabeled_clean_full.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_can_unlabeled_clean_full_ca.paa";
displayName = $STR_EQUIP_NAME_SODA_CAN_FROZEN;
descriptionShort = $STR_EQUIP_DESC_SODA_CAN_FROZEN;
};
class ItemSodaFrozen2 : ItemSoda
class ItemSodaFrozen2 : CA_Magazine
{
scope = 2;
scope = 2;
count = 1;
type = 256;
model = "z\addons\dayz_communityassets\models\can_small_unlabeled_full.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_can_small_rus_unlabeled_clean_full_ca.paa";
displayName = $STR_EQUIP_NAME_SODA_CAN_FROZEN;