mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-18 09:32:02 +03:00
CFG WEAPONS DONE
This commit is contained in:
54
SQF/dayz_code/Configs/CfgMagazines/Consumables/Canteen.hpp
Normal file
54
SQF/dayz_code/Configs/CfgMagazines/Consumables/Canteen.hpp
Normal file
@@ -0,0 +1,54 @@
|
||||
class ItemCanteen : FoodDrink
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_equip\models\waterbottle_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_waterbottle_ca.paa";
|
||||
displayName = $STR_ITEM_CANTEEN_NAME;
|
||||
descriptionShort = $STR_ITEM_CANTEEN_DESC;
|
||||
|
||||
Nutrition[] = {0,0,1000,0};
|
||||
|
||||
infectionChance = 0.3;
|
||||
|
||||
consumeOutput = "ItemCanteenEmpty";
|
||||
|
||||
containerEmpty = "ItemCanteenEmpty";
|
||||
|
||||
class ItemActions : ItemActions
|
||||
{
|
||||
class Consume : Consume
|
||||
{
|
||||
};
|
||||
|
||||
class Empty
|
||||
{
|
||||
text = "Empty";//TODO: move to stringtable
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemCanteenInfected : ItemCanteen
|
||||
{
|
||||
infectionChance = 1;
|
||||
};
|
||||
|
||||
class ItemCanteenSafe : ItemCanteen
|
||||
{
|
||||
infectionChance = 0;
|
||||
};
|
||||
|
||||
class ItemCanteenBoiled : ItemCanteen
|
||||
{
|
||||
displayName = $STR_ITEM_CANTEEN_BOILED_NAME;
|
||||
|
||||
infectionChance = 0;
|
||||
};
|
||||
|
||||
class ItemCanteenHerbal : ItemCanteen
|
||||
{
|
||||
displayName = $STR_ITEM_CANTEEN_HERBAL_NAME;
|
||||
|
||||
infectionChance = -0.5;
|
||||
};
|
||||
114
SQF/dayz_code/Configs/CfgMagazines/Consumables/Consumables.hpp
Normal file
114
SQF/dayz_code/Configs/CfgMagazines/Consumables/Consumables.hpp
Normal file
@@ -0,0 +1,114 @@
|
||||
//All Consumable items base class
|
||||
class ConsumableBase : CA_Magazine
|
||||
{
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
//Amount of blood regenerated
|
||||
bloodRegen = 0;
|
||||
|
||||
//Nutrition values [Energy, Food, Water, Temperature]
|
||||
Nutrition[] = {0,0,0,0};
|
||||
|
||||
//Chance to cause infection value range [-1,1]
|
||||
// 0 has no effect
|
||||
// 0.6 60% chance to cause infection
|
||||
// -0.6 60% chance to cure infection
|
||||
infectionChance = 0;
|
||||
|
||||
//Sound played when consumed
|
||||
consumeSound = "";
|
||||
consumeSoundDistance = 3;
|
||||
|
||||
//Item replaced by when consumed
|
||||
consumeOutput = "";
|
||||
//Whether the output item is automatically dropped on consumption
|
||||
consumeDrop = false;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Consume
|
||||
{
|
||||
text = "Consume";
|
||||
script = "spawn player_consume";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
//Drink base class
|
||||
class FoodDrink : ConsumableBase
|
||||
{
|
||||
Nutrition[] = {150,0,0,0};
|
||||
|
||||
consumeSound = "drink";
|
||||
|
||||
class ItemActions : ItemActions
|
||||
{
|
||||
class Consume : Consume
|
||||
{
|
||||
text = $STR_ACTIONS_DRINK2;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
//Edible food base class
|
||||
class FoodEdible : ConsumableBase
|
||||
{
|
||||
Nutrition[] = {239,150,0,0};
|
||||
|
||||
consumeSound = "eat";
|
||||
|
||||
class ItemActions : ItemActions
|
||||
{
|
||||
class Consume : Consume
|
||||
{
|
||||
text = $STR_EAT_FOOD;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
//Prepackaged food base class
|
||||
class FoodPackaged : FoodEdible
|
||||
{
|
||||
consumeDrop = true;
|
||||
};
|
||||
|
||||
//Fizzy drinks base class
|
||||
class ItemSoda : FoodDrink
|
||||
{
|
||||
Nutrition[] = {90,0,100,0};
|
||||
|
||||
consumeSound = "soda";
|
||||
consumeOutput = "ItemSodaEmpty";
|
||||
consumeDrop = true;
|
||||
};
|
||||
|
||||
//Player made drinks base class
|
||||
/*class ItemBrew : FoodDrink
|
||||
{
|
||||
Nutrition[] = {0,0,0,0};
|
||||
};*/
|
||||
|
||||
//Raw food base class
|
||||
class FoodRaw : FoodEdible
|
||||
{
|
||||
bloodRegen = 200;
|
||||
Nutrition[] = {282,0,0,0};
|
||||
|
||||
infectionChance = 0.1;
|
||||
};
|
||||
|
||||
//Cooked food base class
|
||||
class FoodCooked : FoodEdible
|
||||
{
|
||||
bloodRegen = 400;
|
||||
Nutrition[] = {239,0,0,0};
|
||||
};
|
||||
|
||||
#include "PackagedFood.hpp"
|
||||
#include "Meat.hpp"
|
||||
#include "Fish.hpp"
|
||||
|
||||
#include "Soda.hpp"
|
||||
#include "WaterBottle.hpp"
|
||||
//#include "Canteen.hpp"
|
||||
87
SQF/dayz_code/Configs/CfgMagazines/Consumables/Fish.hpp
Normal file
87
SQF/dayz_code/Configs/CfgMagazines/Consumables/Fish.hpp
Normal file
@@ -0,0 +1,87 @@
|
||||
class FishRawTrout : FoodRaw
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\z\addons\dayz_communityassets\models\trout.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_trout_CA.paa";
|
||||
displayName = $STR_FOOD_NAME_TROUT_RAW;
|
||||
descriptionShort = $STR_FOOD_EQUIP_TROUT_RAW;
|
||||
|
||||
bloodRegen = 500;
|
||||
Nutrition[] = {117,350,0,0};
|
||||
|
||||
cookOutput = "FishCookedTrout";
|
||||
};
|
||||
|
||||
class FishCookedTrout : FoodCooked
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\z\addons\dayz_communityassets\models\trout_cooked.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_trout_cooked_CA.paa";
|
||||
displayName = $STR_FOOD_NAME_TROUT_COOKED;
|
||||
descriptionShort = $STR_FOOD_EQUIP_TROUT_COOKED;
|
||||
|
||||
bloodRegen = 1000;
|
||||
Nutrition[] = {117,700,0,0};
|
||||
};
|
||||
|
||||
|
||||
|
||||
class FishRawSeaBass : FoodRaw
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\z\addons\dayz_communityassets\models\seabass.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_seabass_CA.paa";
|
||||
displayName = $STR_FOOD_NAME_SEABASS_RAW;
|
||||
descriptionShort = $STR_FOOD_EQUIP_SEABASS_RAW;
|
||||
|
||||
bloodRegen = 700;
|
||||
Nutrition[] = {110,450,0,0};
|
||||
|
||||
cookOutput = "FishCookedSeaBass";
|
||||
};
|
||||
|
||||
class FishCookedSeaBass : FoodCooked
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\z\addons\dayz_communityassets\models\seabass_cooked.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_seabass_cooked_CA.paa";
|
||||
displayName = $STR_FOOD_NAME_SEABASS_COOKED;
|
||||
descriptionShort = $STR_FOOD_EQUIP_SEABASS_COOKED;
|
||||
|
||||
bloodRegen = 1400;
|
||||
Nutrition[] = {110,900,0,0};
|
||||
};
|
||||
|
||||
|
||||
|
||||
class FishRawTuna : FoodRaw
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\z\addons\dayz_communityassets\models\tuna.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_tuna_CA.paa";
|
||||
displayName = $STR_FOOD_NAME_TUNA_RAW;
|
||||
descriptionShort = $STR_FOOD_EQUIP_TUNA_RAW;
|
||||
|
||||
bloodRegen = 1000;
|
||||
Nutrition[] = {123,550,0,0};
|
||||
|
||||
cookOutput = "FishCookedTuna";
|
||||
};
|
||||
|
||||
class FishCookedTuna : FoodCooked
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\z\addons\dayz_communityassets\models\tuna_cooked.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_tuna_cooked_CA.paa";
|
||||
displayName = $STR_FOOD_NAME_TUNA_COOKED;
|
||||
descriptionShort = $STR_FOOD_EQUIP_TUNA_COOKED;
|
||||
|
||||
bloodRegen = 2000;
|
||||
Nutrition[] = {123,1100,0,0};
|
||||
};
|
||||
175
SQF/dayz_code/Configs/CfgMagazines/Consumables/Meat.hpp
Normal file
175
SQF/dayz_code/Configs/CfgMagazines/Consumables/Meat.hpp
Normal file
@@ -0,0 +1,175 @@
|
||||
class FoodGoatRaw : FoodRaw
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_equip\models\food_steak_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_steak_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_GOAT_RAW;
|
||||
descriptionShort = $STR_FOOD_EQUIP_GOAT_RAW;
|
||||
|
||||
bloodRegen = 300;
|
||||
Nutrition[] = {143,300,0,0};
|
||||
|
||||
cookOutput = "FoodGoatCooked";
|
||||
};
|
||||
|
||||
class FoodGoatCooked : FoodCooked
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_equip\models\food_steak_cooked_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_steak_cooked_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_GOAT_COOKED;
|
||||
descriptionShort = $STR_FOOD_EQUIP_GOAT_COOKED;
|
||||
|
||||
bloodRegen = 600;
|
||||
Nutrition[] = {143,600,0,0};
|
||||
};
|
||||
|
||||
class FoodMuttonRaw : FoodRaw
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\mutton_raw.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_mutton_raw_CA.paa";
|
||||
displayName = $STR_FOOD_EQUIP_CODE_NAME_1;
|
||||
descriptionShort = $STR_FOOD_EQUIP_CODE_DESC_1;
|
||||
|
||||
bloodRegen = 400;
|
||||
Nutrition[] = {294,350,0,0};
|
||||
|
||||
cookOutput = "FoodMuttonCooked";
|
||||
};
|
||||
|
||||
class FoodMuttonCooked : FoodCooked
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\mutton_cooked.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_mutton_cooked_CA.paa";
|
||||
displayName = $STR_FOODCOOKED_EQUIP_CODE_NAME_1;
|
||||
descriptionShort = $STR_FOODCOOKED_EQUIP_CODE_DESC_1;
|
||||
|
||||
bloodRegen = 800;
|
||||
Nutrition[] = {294,700,0,0};
|
||||
};
|
||||
|
||||
|
||||
|
||||
class FoodChickenRaw : FoodRaw
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_equip\models\food_steak_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_steak_ca.paa";
|
||||
displayName = $STR_FOOD_EQUIP_CODE_NAME_2;
|
||||
descriptionShort = $STR_FOOD_EQUIP_CODE_DESC_2;
|
||||
|
||||
bloodRegen = 400;
|
||||
Nutrition[] = {219,350,0,0};
|
||||
|
||||
cookOutput = "FoodChickenCooked";
|
||||
};
|
||||
|
||||
class FoodChickenCooked : FoodCooked
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_equip\models\food_steak_cooked_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_steak_cooked_ca.paa";
|
||||
displayName = $STR_FOODCOOKED_EQUIP_CODE_NAME_2;
|
||||
descriptionShort = $STR_FOODCOOKED_EQUIP_CODE_DESC_2;
|
||||
|
||||
bloodRegen = 800;
|
||||
Nutrition[] = {219,700,0,0};
|
||||
};
|
||||
|
||||
|
||||
|
||||
class FoodBaconRaw : FoodRaw
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\bacon_raw.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_bacon_raw_CA.paa";
|
||||
displayName = $STR_FOOD_EQUIP_CODE_NAME_4;
|
||||
descriptionShort = $STR_FOOD_EQUIP_CODE_DESC_4;
|
||||
|
||||
bloodRegen = 300;
|
||||
Nutrition[] = {417,350,0,0};
|
||||
|
||||
cookOutput = "FoodBaconCooked";
|
||||
};
|
||||
|
||||
class FoodBaconCooked : FoodCooked
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\bacon_fried.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_bacon_fried_CA.paa";
|
||||
displayName = $STR_FOODCOOKED_EQUIP_CODE_NAME_4;
|
||||
descriptionShort = $STR_FOODCOOKED_EQUIP_CODE_DESC_4;
|
||||
|
||||
bloodRegen = 600;
|
||||
Nutrition[] = {417,700,0,0};
|
||||
};
|
||||
|
||||
|
||||
|
||||
class FoodRabbitRaw : FoodRaw
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_equip\models\food_steak_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_steak_ca.paa";
|
||||
displayName = $STR_FOOD_EQUIP_CODE_NAME_3;
|
||||
descriptionShort = $STR_FOOD_EQUIP_CODE_DESC_3;
|
||||
|
||||
bloodRegen = 500;
|
||||
Nutrition[] = {517,450,0,0};
|
||||
|
||||
cookOutput = "FoodRabbitCooked";
|
||||
};
|
||||
|
||||
class FoodRabbitCooked : FoodCooked
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_equip\models\food_steak_cooked_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_steak_cooked_ca.paa";
|
||||
displayName = $STR_FOODCOOKED_EQUIP_CODE_NAME_3;
|
||||
descriptionShort = $STR_FOODCOOKED_EQUIP_CODE_DESC_3;
|
||||
|
||||
bloodRegen = 1000;
|
||||
Nutrition[] = {517,900,0,0};
|
||||
};
|
||||
|
||||
|
||||
|
||||
class FoodBeefRaw : FoodRaw
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_equip\models\food_steak_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_steak_ca.paa";
|
||||
displayName = $STR_FOOD_EQUIP_CODE_NAME_6;
|
||||
descriptionShort = $STR_FOOD_EQUIP_CODE_DESC_6;
|
||||
|
||||
bloodRegen = 400;
|
||||
Nutrition[] = {332,350,0,0};
|
||||
|
||||
cookOutput = "FoodBeefCooked";
|
||||
};
|
||||
|
||||
class FoodBeefCooked : FoodCooked
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_equip\models\food_steak_cooked_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_steak_cooked_ca.paa";
|
||||
displayName = $STR_FOODCOOKED_EQUIP_CODE_NAME_6;
|
||||
descriptionShort = $STR_FOODCOOKED_EQUIP_CODE_DESC_6;
|
||||
|
||||
bloodRegen = 800;
|
||||
Nutrition[] = {332,700,0,0};
|
||||
};
|
||||
560
SQF/dayz_code/Configs/CfgMagazines/Consumables/PackagedFood.hpp
Normal file
560
SQF/dayz_code/Configs/CfgMagazines/Consumables/PackagedFood.hpp
Normal file
@@ -0,0 +1,560 @@
|
||||
/*class AngelCookies : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\buiscits_box.p3d";
|
||||
picture = "z\addons\dayz_communityassets\CraftingPlaceholders\equip_angel_cookies.paa";
|
||||
displayName = $STR_FOODCOOKED_EQUIP_CODE_NAME_5;
|
||||
descriptionShort = $STR_FOODCOOKED_EQUIP_CODE_DESC_5;
|
||||
|
||||
Nutrition[] = {400,100,0,0};
|
||||
};*/
|
||||
|
||||
class FoodMRE : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\mre.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_mre_CA.paa";
|
||||
displayName = $STR_FOOD_NAME_MRE;
|
||||
descriptionShort = $STR_FOOD_DESC_MRE;
|
||||
|
||||
bloodRegen = 300;
|
||||
Nutrition[] = {150,800,600,0};
|
||||
};
|
||||
|
||||
class FoodPistachio : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\pistachio.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_pistachios_CA.paa";
|
||||
displayName = $STR_FOOD_NAME_PISTACHIO;
|
||||
descriptionShort = $STR_FOOD_DESC_PISTACHIO;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,450,0,0};
|
||||
};
|
||||
|
||||
class FoodNutmix : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\nutmix.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_nutmix_CA.paa";
|
||||
displayName = $STR_FOOD_NAME_NUTMIX;
|
||||
descriptionShort = $STR_FOOD_DESC_NUTMIX;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,450,0,0};
|
||||
};
|
||||
|
||||
class FoodCanBeef : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\can_beef_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_can_beef_clean_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CAN_BEEF;
|
||||
descriptionShort = $STR_FOOD_DESC_CAN_BEEF;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,600,350,0};
|
||||
|
||||
consumeOutput = "FoodCanBeefEmpty";
|
||||
};
|
||||
|
||||
class FoodCanPotatoes : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\can_pots_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_can_pots_clean_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CAN_POTATOES;
|
||||
descriptionShort = $STR_FOOD_DESC_CAN_POTATOES;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,750,450,0};
|
||||
|
||||
consumeOutput = "FoodCanPotatoesEmpty";
|
||||
};
|
||||
|
||||
class FoodCanGriff : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\can_griff_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_can_griff_clean_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CAN_GRIFF;
|
||||
descriptionShort = $STR_FOOD_DESC_CAN_GRIFF;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,500,0,0};
|
||||
|
||||
consumeOutput = "FoodCanGriffEmpty";
|
||||
};
|
||||
|
||||
class FoodCanBadguy : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\can_badguy_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_can_badguy_clean_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CAN_BADGUY;
|
||||
descriptionShort = $STR_FOOD_DESC_CAN_BADGUY;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,400,0,0};
|
||||
|
||||
consumeOutput = "FoodCanBadguyEmpty";
|
||||
};
|
||||
|
||||
class FoodCanBoneboy : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\can_boneboy_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_can_boneboy_clean_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CAN_BONEBOY;
|
||||
descriptionShort = $STR_FOOD_DESC_CAN_BONEBOY;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,400,0,0};
|
||||
|
||||
consumeOutput = "FoodCanBoneboyEmpty";
|
||||
};
|
||||
|
||||
class FoodCanCorn : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\can_corn_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_can_corn_clean_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CAN_CORN;
|
||||
descriptionShort = $STR_FOOD_DESC_CAN_CORN;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,600,400,0};
|
||||
|
||||
consumeOutput = "FoodCanCornEmpty";
|
||||
};
|
||||
|
||||
class FoodCanCurgon : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\can_curgon_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_can_curgon_clean_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CAN_CURGON;
|
||||
descriptionShort = $STR_FOOD_DESC_CAN_CURGON;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,480,0,0};
|
||||
|
||||
consumeOutput = "FoodCanCurgonEmpty";
|
||||
};
|
||||
|
||||
class FoodCanDemon : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\can_demon_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_can_demon_clean_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CAN_DEMON;
|
||||
descriptionShort = $STR_FOOD_DESC_CAN_DEMON;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,465,0,0};
|
||||
|
||||
consumeOutput = "FoodCanDemonEmpty";
|
||||
};
|
||||
|
||||
class FoodCanFraggleos : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\can_fraggleos_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_can_fraggleos_clean_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CAN_FRAGGLEOS;
|
||||
descriptionShort = $STR_FOOD_DESC_CAN_FRAGGLEOS;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,550,0,0};
|
||||
|
||||
consumeOutput = "FoodCanFraggleosEmpty";
|
||||
};
|
||||
|
||||
class FoodCanHerpy : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\can_herpy_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_can_herpy_clean_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CAN_HERPY;
|
||||
descriptionShort = $STR_FOOD_DESC_CAN_HERPY;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,600,0,0};
|
||||
|
||||
consumeOutput = "FoodCanHerpyEmpty";
|
||||
};
|
||||
|
||||
class FoodCanDerpy : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\can_derpy_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_can_derpy_clean_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CAN_DERPY;
|
||||
descriptionShort = $STR_FOOD_DESC_CAN_DERPY;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,410,0,0};
|
||||
|
||||
consumeOutput = "FoodCanDerpyEmpty";
|
||||
};
|
||||
|
||||
class FoodCanOrlok : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\can_orlok_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_can_orlok_clean_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CAN_ORLOK;
|
||||
descriptionShort = $STR_FOOD_DESC_CAN_ORLOK;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,460,0,0};
|
||||
|
||||
consumeOutput = "FoodCanOrlokEmpty";
|
||||
};
|
||||
|
||||
class FoodCanPowell : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\can_powell_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_can_powell_clean_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CAN_POWELL;
|
||||
descriptionShort = $STR_FOOD_DESC_CAN_POWELL;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,600,0,0};
|
||||
|
||||
consumeOutput = "FoodCanPowellEmpty";
|
||||
};
|
||||
|
||||
class FoodCanTylers : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\can_tylers_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_can_tylers_clean_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CAN_TYLERS;
|
||||
descriptionShort = $STR_FOOD_DESC_CAN_TYLERS;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,330,0,0};
|
||||
|
||||
consumeOutput = "FoodCanTylersEmpty";
|
||||
};
|
||||
|
||||
class FoodCanUnlabeled : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
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_UNLABELED;
|
||||
descriptionShort = $STR_FOOD_DESC_CAN_UNLABELED;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,550,0,0};
|
||||
|
||||
consumeOutput = "FoodCanUnlabeledEmpty";
|
||||
};
|
||||
|
||||
class FoodCanRusUnlabeled : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
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_UNLABELED;
|
||||
descriptionShort = $STR_FOOD_DESC_CAN_UNLABELED;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,450,0,0};
|
||||
|
||||
consumeOutput = "FoodCanRusUnlabeledEmpty";
|
||||
};
|
||||
|
||||
class FoodCanRusStew : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\can_small_rus_stew_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_can_small_rus_stew_clean_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CAN_RUS_STEW;
|
||||
descriptionShort = $STR_FOOD_DESC_CAN_RUS_STEW;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,700,350,0};
|
||||
|
||||
consumeOutput = "FoodCanRusStewEmpty";
|
||||
};
|
||||
|
||||
class FoodCanRusPork : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\can_small_rus_pork_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_can_small_rus_pork_clean_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CAN_RUS_PORK;
|
||||
descriptionShort = $STR_FOOD_DESC_CAN_RUS_PORK;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,700,350,0};
|
||||
|
||||
consumeOutput = "FoodCanRusPorkEmpty";
|
||||
};
|
||||
|
||||
class FoodCanRusPeas : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\can_small_rus_peas_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_can_small_rus_peas_clean_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CAN_RUS_PEAS;
|
||||
descriptionShort = $STR_FOOD_DESC_CAN_RUS_PEAS;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,450,0,0};
|
||||
|
||||
consumeOutput = "FoodCanRusPeasEmpty";
|
||||
};
|
||||
|
||||
class FoodCanRusMilk : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\can_small_rus_milk_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_can_small_rus_milk_clean_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CAN_RUS_MILK;
|
||||
descriptionShort = $STR_FOOD_DESC_CAN_RUS_MILK;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,380,320,0};
|
||||
|
||||
consumeOutput = "FoodCanRusMilkEmpty";
|
||||
};
|
||||
|
||||
class FoodCanRusCorn : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\can_small_rus_corn_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_can_small_rus_corn_clean_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CAN_RUS_CORN;
|
||||
descriptionShort = $STR_FOOD_DESC_CAN_RUS_CORN;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,380,0,0};
|
||||
|
||||
consumeOutput = "FoodCanRusCornEmpty";
|
||||
};
|
||||
|
||||
class FoodChipsSulahoops : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\bag_chips_small_sulahoops_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_bag_chips_small_sulahoops_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CHIPS_SULAHOOPS;
|
||||
descriptionShort = $STR_FOOD_DESC_CHIPS_SULAHOOPS;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,450,0,0};
|
||||
|
||||
consumeOutput = "FoodChipsSulahoopsEmpty";
|
||||
consumeSound = "eat_chips";
|
||||
};
|
||||
|
||||
class FoodChipsMysticales : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\bag_chips_small_mysticales_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_bag_chips_small_mysticales_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CHIPS_MYSTICALES;
|
||||
descriptionShort = $STR_FOOD_DESC_CHIPS_MYSTICALES;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,460,0,0};
|
||||
|
||||
consumeOutput = "FoodChipsMysticalesEmpty";
|
||||
consumeSound = "eat_chips";
|
||||
};
|
||||
|
||||
class FoodChipsChocolate : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\bag_chips_small_chocolate_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_bag_chips_small_chocolate_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CHIPS_CHOCOLATE;
|
||||
descriptionShort = $STR_FOOD_DESC_CHIPS_CHOCOLATE;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {300,500,0,0};
|
||||
|
||||
consumeSound = "eat_chips";
|
||||
};
|
||||
|
||||
class FoodCandyChubby : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\candybar_chubby_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_candybar_chubby_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CANDY_CHUBBY;
|
||||
descriptionShort = $STR_FOOD_DESC_CANDY_CHUBBY;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,400,0,0};
|
||||
|
||||
//consumeSound = "eat_chips";
|
||||
};
|
||||
|
||||
class FoodCandyAnders : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\candybar_anders_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_candybar_anders_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CANDY_ANDERS;
|
||||
descriptionShort = $STR_FOOD_DESC_CANDY_ANDERS;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,400,0,0};
|
||||
|
||||
//consumeSound = "eat_chips";
|
||||
};
|
||||
|
||||
class FoodCandyLegacys : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\candybar_legacys_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_candybar_legacys_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CANDY_LEGACYS;
|
||||
descriptionShort = $STR_FOOD_DESC_CANDY_LEGACYS;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {350,380,320,0};
|
||||
|
||||
//consumeSound = "eat_chips";
|
||||
};
|
||||
|
||||
class FoodCakeCremeCakeClean : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\twinkie.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_bag_twinkie_clean.paa";
|
||||
displayName = $STR_FOOD_NAME_CAKE_Creme_Cake_CLEAN;
|
||||
descriptionShort = $STR_FOOD_DESC_CAKE_Creme_Cake_CLEAN;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {350,380,320,0};
|
||||
|
||||
//consumeSound = "eat_chips";
|
||||
};
|
||||
|
||||
class FoodCandyMintception : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\candybar_mintception_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_candybar_mintception_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CANDY_MINTCEPTION;
|
||||
descriptionShort = $STR_FOOD_DESC_CANDY_MINTCEPTION;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {300,380,340,0};
|
||||
|
||||
//consumeSound = "eat_chips";
|
||||
};
|
||||
|
||||
/*class FoodCanLongSprats : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\can_long_sprat_clean_full_co.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_can_long_sprat_clean_full_ca.paa";
|
||||
displayName = $STR_FOOD_NAME_CAN_LONG_SPRATS;
|
||||
descriptionShort = $STR_FOOD_DESC_CAN_LONG_SPRATS;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {50,100,20,0};
|
||||
};*/
|
||||
|
||||
class FoodCanBakedBeans : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_equip\models\food_bbtin.p3d";
|
||||
picture = "\dayz_equip\textures\equip_bbtin_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_26;
|
||||
descriptionShort = $STR_EQUIP_DESC_26;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,400,320,0};
|
||||
|
||||
consumeOutput = "FoodCanUnlabeledEmpty";
|
||||
};
|
||||
|
||||
class FoodCanSardines : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_equip\models\food_sardinestin.p3d";
|
||||
picture = "\dayz_equip\textures\equip_Sardinestin_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_27;
|
||||
descriptionShort = $STR_EQUIP_DESC_27;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,450,320,0};
|
||||
|
||||
consumeOutput = "FoodCanUnlabeledEmpty";
|
||||
};
|
||||
|
||||
class FoodCanFrankBeans : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_equip\models\food_fbtin.p3d";
|
||||
picture = "\dayz_equip\textures\equip_fbtin_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_28;
|
||||
descriptionShort = $STR_EQUIP_DESC_28;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,450,320,0};
|
||||
|
||||
consumeOutput = "FoodCanUnlabeledEmpty";
|
||||
};
|
||||
|
||||
class FoodCanPasta : FoodPackaged
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_equip\models\food_pastatin.p3d";
|
||||
picture = "\dayz_equip\textures\equip_pastatin_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_29;
|
||||
descriptionShort = $STR_EQUIP_DESC_29;
|
||||
|
||||
bloodRegen = 100;
|
||||
Nutrition[] = {0,500,0,0};
|
||||
|
||||
consumeOutput = "FoodCanUnlabeledEmpty";
|
||||
};
|
||||
259
SQF/dayz_code/Configs/CfgMagazines/Consumables/Soda.hpp
Normal file
259
SQF/dayz_code/Configs/CfgMagazines/Consumables/Soda.hpp
Normal file
@@ -0,0 +1,259 @@
|
||||
class ItemSodaCoke : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_equip\models\soda_coke.p3d";
|
||||
picture = "\dayz_equip\textures\equip_soda_coke_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_36a;
|
||||
descriptionShort = $STR_EQUIP_DESC_36;
|
||||
|
||||
Nutrition[] = {90,0,300,0};
|
||||
};
|
||||
|
||||
class ItemSodaPepsi : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_equip\models\soda_pepsi.p3d";
|
||||
picture = "\dayz_equip\textures\equip_soda_pepsi_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_36b;
|
||||
descriptionShort = $STR_EQUIP_DESC_36;
|
||||
|
||||
Nutrition[] = {90,0,300,0};
|
||||
};
|
||||
|
||||
class ItemSodaMdew : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_equip\models\soda_mdew.p3d";
|
||||
picture = "\dayz_equip\textures\equip_soda_mdew_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_37;
|
||||
descriptionShort = $STR_EQUIP_NAME_37;
|
||||
|
||||
Nutrition[] = {90,0,400,0};
|
||||
};
|
||||
|
||||
class ItemSodaMtngreen : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\soda_mtngreen_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_mtngreen_clean_full_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_37;
|
||||
descriptionShort = $STR_EQUIP_NAME_37;
|
||||
|
||||
Nutrition[] = {90,0,500,0};
|
||||
|
||||
consumeOutput = "ItemSodaMtngreenEmpty";
|
||||
};
|
||||
|
||||
class ItemSodaR4z0r : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\soda_r4z0r_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_r4z0r_clean_full_ca.paa";
|
||||
displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_1;
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_1;
|
||||
|
||||
Nutrition[] = {90,0,350,0};
|
||||
|
||||
consumeOutput = "ItemSodaR4z0rEmpty";
|
||||
};
|
||||
|
||||
class ItemSodaClays : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\soda_clays_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_clays_clean_full_ca.paa";
|
||||
displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_2;
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_2;
|
||||
|
||||
Nutrition[] = {90,0,320,0};
|
||||
|
||||
consumeOutput = "ItemSodaClaysEmpty";
|
||||
};
|
||||
|
||||
class ItemSodaSmasht : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\soda_smasht_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_smasht_clean_full_ca.paa";
|
||||
displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_3;
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_3;
|
||||
|
||||
Nutrition[] = {90,0,380,0};
|
||||
|
||||
consumeOutput = "ItemSodaSmashtEmpty";
|
||||
};
|
||||
|
||||
class ItemSodaDrwaste : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\soda_drwaste_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_drwaste_clean_full_ca.paa";
|
||||
displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_4;
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_4;
|
||||
|
||||
Nutrition[] = {90,0,340,0};
|
||||
|
||||
consumeOutput = "ItemSodaDrwasteEmpty";
|
||||
};
|
||||
|
||||
class ItemSodaFranka : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\soda_franka_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_franka_clean_full_ca.paa";
|
||||
displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_5;
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_5;
|
||||
|
||||
Nutrition[] = {90,0,340,0};
|
||||
|
||||
consumeOutput = "ItemSodaFrankaEmpty";
|
||||
};
|
||||
|
||||
class ItemSodaLemonade : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\soda_lemonade_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_lemonade_clean_full_ca.paa";
|
||||
displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_6;
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_6;
|
||||
|
||||
Nutrition[] = {90,0,500,0};
|
||||
|
||||
consumeOutput = "ItemSodaLemonadeEmpty";
|
||||
};
|
||||
|
||||
class ItemSodaLirik : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\soda_lirik_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_lirik_clean_full_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_36a;
|
||||
descriptionShort = $STR_EQUIP_DESC_36;
|
||||
|
||||
Nutrition[] = {90,0,300,0};
|
||||
|
||||
consumeOutput = "ItemSodaLirikEmpty";
|
||||
};
|
||||
|
||||
class ItemSodaLvg : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\soda_lvg_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_lvg_clean_full_ca.paa";
|
||||
displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_8;
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_8;
|
||||
|
||||
Nutrition[] = {90,0,550,0};
|
||||
|
||||
consumeOutput = "ItemSodaLvgEmpty";
|
||||
};
|
||||
|
||||
class ItemSodaMzly : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\soda_mzly_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_mzly_clean_full_ca.paa";
|
||||
displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_9;
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_9;
|
||||
|
||||
Nutrition[] = {90,0,380,0};
|
||||
|
||||
consumeOutput = "ItemSodaMzlyEmpty";
|
||||
};
|
||||
|
||||
class ItemSodaPeppsy : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\soda_peppsy_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_peppsy_clean_full_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_36b;
|
||||
descriptionShort = $STR_EQUIP_DESC_36;
|
||||
|
||||
Nutrition[] = {90,0,300,0};
|
||||
|
||||
consumeOutput = "ItemSodaPeppsyEmpty";
|
||||
};
|
||||
|
||||
class ItemSodaRabbit : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\soda_rabbit_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_rabbit_clean_full_ca.paa";
|
||||
displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_11;
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_11;
|
||||
|
||||
Nutrition[] = {90,0,550,0};
|
||||
|
||||
consumeOutput = "ItemSodaRabbitEmpty";
|
||||
};
|
||||
|
||||
class ItemSodaSacrite : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\soda_sacrite_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_sacrite_clean_full_ca.paa";
|
||||
displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_12;
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_12;
|
||||
|
||||
Nutrition[] = {90,0,550,0};
|
||||
|
||||
consumeOutput = "ItemSodaSacriteEmpty";
|
||||
};
|
||||
|
||||
class ItemSodaRocketFuel : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\soda_rocket_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_rocket_clean_full_ca.paa";
|
||||
displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_13;
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_13;
|
||||
|
||||
Nutrition[] = {90,0,550,0};
|
||||
|
||||
consumeOutput = "ItemSodaRocketFuelEmpty";
|
||||
};
|
||||
|
||||
class ItemSodaGrapeDrink : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\soda_grape_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_grape_clean_full_ca.paa";
|
||||
displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_14;
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_14;
|
||||
|
||||
Nutrition[] = {90,0,700,0};
|
||||
|
||||
consumeOutput = "ItemSodaGrapeDrinkEmpty";
|
||||
};
|
||||
|
||||
class ItemSherbet : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\soda_sherbet_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_sherbet_clean_full_ca.paa";
|
||||
displayName = "Sherbet";//TODO: move to stringtable
|
||||
descriptionShort = "Sherbet";
|
||||
|
||||
Nutrition[] = {90,0,500,0};
|
||||
|
||||
consumeOutput = "ItemSodaSherbetEmpty";
|
||||
};
|
||||
@@ -0,0 +1,56 @@
|
||||
class ItemWaterBottle : FoodDrink
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\waterbottle.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\textures\waterbottle.paa";
|
||||
displayName = $STR_EQUIP_NAME_12;
|
||||
descriptionShort = $STR_EQUIP_DESC_12;
|
||||
|
||||
Nutrition[] = {0,0,1000,0};
|
||||
|
||||
infectionChance = 0.3;
|
||||
|
||||
consumeOutput = "ItemWaterBottleUnfilled";
|
||||
|
||||
containerEmpty = "ItemWaterBottleUnfilled";
|
||||
|
||||
class ItemActions : ItemActions
|
||||
{
|
||||
class Consume : Consume
|
||||
{
|
||||
};
|
||||
|
||||
class Empty
|
||||
{
|
||||
text = "Empty";//TODO: move to stringtable
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemWaterBottleInfected : ItemWaterBottle
|
||||
{
|
||||
infectionChance = 1;
|
||||
};
|
||||
|
||||
class ItemWaterBottleSafe : ItemWaterBottle
|
||||
{
|
||||
infectionChance = 0;
|
||||
};
|
||||
|
||||
class ItemWaterBottleBoiled : ItemWaterBottle
|
||||
{
|
||||
displayName = $STR_ITEMWATERBOTTLEBOILED_CODE_NAME;
|
||||
descriptionShort = $STR_ITEMWATERBOTTLEBOILED_CODE_DESC;
|
||||
|
||||
infectionChance = 0;
|
||||
};
|
||||
|
||||
class ItemWaterBottleHerbal : ItemWaterBottle
|
||||
{
|
||||
displayName = $STR_ITEM_NAME_HerbalDrink;
|
||||
descriptionShort = $STR_ITEM_DESC_HerbalDrink;
|
||||
|
||||
infectionChance = -0.5;
|
||||
};
|
||||
Reference in New Issue
Block a user