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:
A Man
2020-05-29 02:04:06 +02:00
parent 4040b784b5
commit d9b9874532
291 changed files with 3439 additions and 3069 deletions

View File

@@ -1,16 +1,14 @@
class SkinBase : CA_Magazine
{
scope = 0;
count = 1;
type = WeaponSlotItem;
type = 256;
sex = "male";
playerModel = "Survivor2_DZ";
playerModel = "Survivor2_DZ";
model = "\dayz_equip\models\cloth_parcel.p3d";
picture = "\dayz_equip\textures\equip_cloth_parcel_ca.paa";
picture = "\dayz_equip\textures\equip_cloth_parcel_ca.paa";
displayName = $STR_EQUIP_NAME_CLOTHES; // Used in Epoch player_craftItem for canvas
descriptionShort = $STR_EQUIP_DESC_CLOTHES;
descriptionShort = $STR_EQUIP_DESC_CLOTHES;
Craftoutput = "equip_rag";
class ItemActions
@@ -26,7 +24,8 @@ class SkinBase : CA_Magazine
text = $STR_TEAR_CLOTHES;
script = "spawn player_tearClothes;";
};
class Crafting {
class Crafting
{
text = $STR_EPOCH_PLAYER_269b;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
@@ -34,7 +33,8 @@ class SkinBase : CA_Magazine
output[] = {{"ItemCanvas",1}};
input[] = {{"SkinBase",2}};
};
class Crafting1 {
class Crafting1
{
text = $STR_EPOCH_PLAYER_269;
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};

File diff suppressed because it is too large Load Diff