mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
Change scope and type of configs from name to numbers
This got discussed earlier. Since epoch got merged with DayZ Mod we have a different name for the scope and type of configs. A proper config should use numbers for those entries. This is the same how arma configs are written. The basicDefines.hpp has all the needed information stored. Also, this removes the weight entries from the magazines since we have them in a separate folder, so admins can edit them.
This commit is contained in:
@@ -1,260 +1,210 @@
|
||||
class ItemSodaCoke : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
scope = 2;
|
||||
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;
|
||||
|
||||
descriptionShort = $STR_EQUIP_DESC_36;
|
||||
Nutrition[] = {90,0,300,0};
|
||||
};
|
||||
|
||||
class ItemSodaPepsi : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
scope = 2;
|
||||
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;
|
||||
|
||||
descriptionShort = $STR_EQUIP_DESC_36;
|
||||
Nutrition[] = {90,0,300,0};
|
||||
};
|
||||
|
||||
class ItemSodaMdew : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
scope = 2;
|
||||
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;
|
||||
|
||||
descriptionShort = $STR_EQUIP_NAME_37;
|
||||
Nutrition[] = {90,0,400,0};
|
||||
};
|
||||
|
||||
class ItemSodaMtngreen : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
scope = 2;
|
||||
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_ITEMSODA_FULL_CLEAN_CODE_NAME_0;
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_0;
|
||||
|
||||
Nutrition[] = {90,0,500,0};
|
||||
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_0;
|
||||
Nutrition[] = {90,0,500,0};
|
||||
consumeOutput = "ItemSodaMtngreenEmpty";
|
||||
};
|
||||
|
||||
class ItemSodaR4z0r : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
scope = 2;
|
||||
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};
|
||||
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_1;
|
||||
Nutrition[] = {90,0,350,0};
|
||||
consumeOutput = "ItemSodaR4z0rEmpty";
|
||||
};
|
||||
|
||||
class ItemSodaClays : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
scope = 2;
|
||||
|
||||
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};
|
||||
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_2;
|
||||
Nutrition[] = {90,0,320,0};
|
||||
consumeOutput = "ItemSodaClaysEmpty";
|
||||
};
|
||||
|
||||
class ItemSodaSmasht : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
scope = 2;
|
||||
|
||||
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};
|
||||
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_3;
|
||||
Nutrition[] = {90,0,380,0};
|
||||
consumeOutput = "ItemSodaSmashtEmpty";
|
||||
};
|
||||
|
||||
class ItemSodaDrwaste : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
scope = 2;
|
||||
|
||||
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};
|
||||
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_4;
|
||||
Nutrition[] = {90,0,340,0};
|
||||
consumeOutput = "ItemSodaDrwasteEmpty";
|
||||
};
|
||||
|
||||
class ItemSodaFranka : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
scope = 2;
|
||||
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};
|
||||
|
||||
Nutrition[] = {90,0,340,0};
|
||||
consumeOutput = "ItemSodaFrankaEmpty";
|
||||
};
|
||||
|
||||
class ItemSodaLemonade : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
scope = 2;
|
||||
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};
|
||||
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_6;
|
||||
Nutrition[] = {90,0,500,0};
|
||||
consumeOutput = "ItemSodaLemonadeEmpty";
|
||||
};
|
||||
|
||||
class ItemSodaLirik : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
scope = 2;
|
||||
|
||||
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};
|
||||
|
||||
descriptionShort = $STR_EQUIP_DESC_36;
|
||||
Nutrition[] = {90,0,300,0};
|
||||
consumeOutput = "ItemSodaLirikEmpty";
|
||||
};
|
||||
|
||||
class ItemSodaLvg : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
scope = 2;
|
||||
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;
|
||||
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_8;
|
||||
Nutrition[] = {90,0,550,0};
|
||||
|
||||
consumeOutput = "ItemSodaLvgEmpty";
|
||||
};
|
||||
|
||||
class ItemSodaMzly : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
scope = 2;
|
||||
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};
|
||||
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_9;
|
||||
Nutrition[] = {90,0,380,0};
|
||||
consumeOutput = "ItemSodaMzlyEmpty";
|
||||
};
|
||||
|
||||
class ItemSodaPeppsy : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
scope = 2;
|
||||
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};
|
||||
|
||||
descriptionShort = $STR_EQUIP_DESC_36;
|
||||
Nutrition[] = {90,0,300,0};
|
||||
consumeOutput = "ItemSodaPeppsyEmpty";
|
||||
};
|
||||
|
||||
class ItemSodaRabbit : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
scope = 2;
|
||||
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};
|
||||
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_11;
|
||||
Nutrition[] = {90,0,550,0};
|
||||
consumeOutput = "ItemSodaRabbitEmpty";
|
||||
};
|
||||
|
||||
class ItemSodaSacrite : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
scope = 2;
|
||||
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};
|
||||
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_12;
|
||||
Nutrition[] = {90,0,550,0};
|
||||
consumeOutput = "ItemSodaSacriteEmpty";
|
||||
};
|
||||
|
||||
class ItemSodaRocketFuel : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
scope = 2;
|
||||
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};
|
||||
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_13;
|
||||
Nutrition[] = {90,0,550,0};
|
||||
consumeOutput = "ItemSodaRocketFuelEmpty";
|
||||
};
|
||||
|
||||
class ItemSodaGrapeDrink : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
scope = 2;
|
||||
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};
|
||||
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_14;
|
||||
Nutrition[] = {90,0,700,0};
|
||||
consumeOutput = "ItemSodaGrapeDrinkEmpty";
|
||||
};
|
||||
|
||||
class ItemSherbet : ItemSoda
|
||||
{
|
||||
scope = public;
|
||||
|
||||
scope = 2;
|
||||
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 = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_15;
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_15;
|
||||
|
||||
Nutrition[] = {90,0,500,0};
|
||||
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_15;
|
||||
Nutrition[] = {90,0,500,0};
|
||||
consumeOutput = "ItemSodaSherbetEmpty";
|
||||
};
|
||||
|
||||
@@ -264,6 +214,7 @@ class ItemSodaRbull : ItemSodaCoke {
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user