mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +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,14 +1,12 @@
|
||||
class ItemJerrycanEmpty : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
type = 256;
|
||||
model = "\dayz_equip\models\jerrycan.p3d";
|
||||
picture = "\dayz_equip\textures\equip_jerrycan_e_ca.paa";
|
||||
displayName = $STR_ITEM_NAME_JERRYCAN_EMPTY;
|
||||
descriptionShort = $STR_ITEM_DESC_JERRYCAN_EMPTY;
|
||||
|
||||
descriptionShort = $STR_ITEM_DESC_JERRYCAN_EMPTY;
|
||||
fuelQuantity = 0;
|
||||
fullcan = "ItemJerrycan";
|
||||
};
|
||||
@@ -17,16 +15,17 @@ class ItemJerrycan : ItemJerrycanEmpty
|
||||
{
|
||||
picture = "\dayz_equip\textures\equip_jerrycan_ca.paa";
|
||||
displayName = $STR_ITEM_NAME_JERRYCAN;
|
||||
descriptionShort = $STR_ITEM_DESC_JERRYCAN;
|
||||
|
||||
descriptionShort = $STR_ITEM_DESC_JERRYCAN;
|
||||
fuelQuantity = 20;
|
||||
containerEmpty = "ItemJerrycanEmpty";
|
||||
|
||||
//used for tent burning
|
||||
fireIntensity = 6;
|
||||
|
||||
class ItemActions {
|
||||
class Empty {
|
||||
class ItemActions
|
||||
{
|
||||
class Empty
|
||||
{
|
||||
text = $STR_EQUIP_NAME_13_EMPTY;
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
@@ -35,13 +34,11 @@ class ItemJerrycan : ItemJerrycanEmpty
|
||||
|
||||
class ItemFuelcanEmpty : ItemJerrycanEmpty
|
||||
{
|
||||
type = WeaponSlotItem;
|
||||
|
||||
type = 256;
|
||||
model = "z\addons\dayz_communityassets\models\fuelcan.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_fuelcan_empty_CA.paa";
|
||||
displayName = $STR_ITEM_NAME_FUELCAN_EMPTY;
|
||||
descriptionShort = $STR_ITEM_DESC_FUELCAN_EMPTY;
|
||||
|
||||
descriptionShort = $STR_ITEM_DESC_FUELCAN_EMPTY;
|
||||
fuelQuantity = 0;
|
||||
fullcan = "ItemFuelcan";
|
||||
};
|
||||
@@ -50,16 +47,17 @@ class ItemFuelcan : ItemFuelcanEmpty
|
||||
{
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_fuelcan_CA.paa";
|
||||
displayName = $STR_ITEM_NAME_FUELCAN;
|
||||
descriptionShort = $STR_ITEM_DESC_FUELCAN;
|
||||
|
||||
descriptionShort = $STR_ITEM_DESC_FUELCAN;
|
||||
fuelQuantity = 5;
|
||||
containerEmpty = "ItemFuelcanEmpty";
|
||||
|
||||
//used for tent burning
|
||||
fireIntensity = 4;
|
||||
|
||||
class ItemActions {
|
||||
class Empty {
|
||||
class ItemActions
|
||||
{
|
||||
class Empty
|
||||
{
|
||||
text = $STR_EQUIP_NAME_13_EMPTY;
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
@@ -68,7 +66,7 @@ class ItemFuelcan : ItemFuelcanEmpty
|
||||
|
||||
class ItemFuelBarrel: CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
scope = 2;
|
||||
count = 1;
|
||||
fuelQuantity = 210;
|
||||
type = 256;
|
||||
@@ -79,8 +77,10 @@ class ItemFuelBarrel: CA_Magazine
|
||||
fireIntensity = 6; //used for tent burning
|
||||
containerEmpty = "ItemFuelBarrelEmpty";
|
||||
|
||||
class ItemActions {
|
||||
class Empty {
|
||||
class ItemActions
|
||||
{
|
||||
class Empty
|
||||
{
|
||||
text = $STR_EQUIP_NAME_13_EMPTY;
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
@@ -88,7 +88,7 @@ class ItemFuelBarrel: CA_Magazine
|
||||
};
|
||||
class ItemFuelBarrelEmpty: ItemFuelBarrel
|
||||
{
|
||||
scope = public;
|
||||
scope = 2;
|
||||
count = 1;
|
||||
fuelQuantity = 0;
|
||||
type = 256;
|
||||
@@ -96,6 +96,7 @@ class ItemFuelBarrelEmpty: ItemFuelBarrel
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_oildrum_e_CA.paa";
|
||||
descriptionShort = $STR_EPOCH_EMPTYFUELBARREL_DESC;
|
||||
fullcan = "ItemFuelBarrel";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Crafting
|
||||
@@ -112,28 +113,34 @@ class ItemFuelBarrelEmpty: ItemFuelBarrel
|
||||
|
||||
class ItemOilBarrel: CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_EPOCH_OILBARREL;
|
||||
model = "\z\addons\dayz_epoch\models\oil_drum_model.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_oil_drum_model_ca.paa";
|
||||
descriptionShort = $STR_EPOCH_OILBARREL_DESC;
|
||||
model = "\z\addons\dayz_epoch\models\oil_drum_model.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_oil_drum_model_ca.paa";
|
||||
containerEmpty = "ItemOilBarrelEmpty";
|
||||
|
||||
class ItemActions {
|
||||
class Empty {
|
||||
class ItemActions
|
||||
{
|
||||
class Empty
|
||||
{
|
||||
text = $STR_EQUIP_NAME_13_EMPTY;
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemOilBarrelEmpty : ItemOilBarrel
|
||||
class ItemOilBarrelEmpty : CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_EPOCH_EMPTYOILBARREL;
|
||||
descriptionShort = $STR_EPOCH_EMPTYOILBARREL_DESC;
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_oildrum_e_CA.paa";
|
||||
model = "\z\addons\dayz_epoch\models\oil_drum_model.p3d";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
@@ -149,11 +156,15 @@ class ItemOilBarrelEmpty : ItemOilBarrel
|
||||
};
|
||||
};
|
||||
|
||||
class ItemMethylaminBarrelEmpty : ItemOilBarrel
|
||||
class ItemMethylaminBarrelEmpty : CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_EPOCH_EMPTYMETHYLAMINEBARREL;
|
||||
descriptionShort = $STR_EPOCH_EMPTYMETHYLAMINEBARREL_DESC;
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_oildrum_e_CA.paa";
|
||||
model = "\z\addons\dayz_epoch\models\oil_drum_model.p3d";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
@@ -169,14 +180,21 @@ class ItemMethylaminBarrelEmpty : ItemOilBarrel
|
||||
};
|
||||
};
|
||||
|
||||
class ItemMethylaminBarrel : ItemOilBarrel
|
||||
class ItemMethylaminBarrel : CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
model = "\z\addons\dayz_epoch\models\oil_drum_model.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_oil_drum_model_ca.paa";
|
||||
displayName = $STR_EPOCH_METHYLAMINEBARREL;
|
||||
descriptionShort = $STR_EPOCH_METHYLAMINEBARREL_DESC;
|
||||
containerEmpty = "ItemMethylaminBarrelEmpty";
|
||||
|
||||
class ItemActions {
|
||||
class Empty {
|
||||
class ItemActions
|
||||
{
|
||||
class Empty
|
||||
{
|
||||
text = $STR_EQUIP_NAME_13_EMPTY;
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user