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,5 +1,6 @@
class ItemSilverBar: CA_Magazine {
scope = public;
class ItemSilverBar: CA_Magazine
{
scope = 2;
count = 1;
worth = 1;
type = 256;
@@ -7,8 +8,11 @@ class ItemSilverBar: CA_Magazine {
model = "\z\addons\dayz_epoch\models\ItemSilverBar1oz.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_silver_bar_CA.paa";
descriptionShort = $STR_EPOCH_SILVER_DESC;
class ItemActions {
class Crafting {
class ItemActions
{
class Crafting
{
text = $STR_EPOCH_PLAYER_210_1;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
@@ -17,7 +21,8 @@ class ItemSilverBar: CA_Magazine {
input[] = {{"ItemSilverBar",2}};
};
class Crafting1 {
class Crafting1
{
text = $STR_EPOCH_PLAYER_210_9;
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
@@ -27,8 +32,9 @@ class ItemSilverBar: CA_Magazine {
};
};
};
class ItemSilverBar2oz: CA_Magazine {
scope = public;
class ItemSilverBar2oz: CA_Magazine
{
scope = 2;
count = 1;
worth = 2;
type = 256;
@@ -36,8 +42,11 @@ class ItemSilverBar2oz: CA_Magazine {
model = "\z\addons\dayz_epoch\models\ItemSilverBar2oz.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_silver_bar_CA.paa";
descriptionShort = $STR_EPOCH_2OZSILVER_DESC;
class ItemActions {
class Crafting {
class ItemActions
{
class Crafting
{
text = $STR_EPOCH_PLAYER_210_1;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
@@ -46,7 +55,8 @@ class ItemSilverBar2oz: CA_Magazine {
input[] = {{"ItemSilverBar2oz",1},{"ItemSilverBar",1}};
};
class Crafting1 {
class Crafting1
{
text = $STR_EPOCH_PLAYER_211_1;
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
@@ -55,7 +65,8 @@ class ItemSilverBar2oz: CA_Magazine {
input[] = {{"ItemSilverBar2oz",1}};
};
class Crafting2 {
class Crafting2
{
text = $STR_EPOCH_PLAYER_210_8;
script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
@@ -65,8 +76,9 @@ class ItemSilverBar2oz: CA_Magazine {
};
};
};
class ItemSilverBar3oz: CA_Magazine {
scope = public;
class ItemSilverBar3oz: CA_Magazine
{
scope = 2;
count = 1;
worth = 3;
type = 256;
@@ -74,8 +86,11 @@ class ItemSilverBar3oz: CA_Magazine {
model = "\z\addons\dayz_epoch\models\ItemSilverBar3oz.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_silver_bar_CA.paa";
descriptionShort = $STR_EPOCH_3OZSILVER_DESC;
class ItemActions {
class Crafting {
class ItemActions
{
class Crafting
{
text = $STR_EPOCH_PLAYER_210_1;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
@@ -84,7 +99,8 @@ class ItemSilverBar3oz: CA_Magazine {
input[] = {{"ItemSilverBar3oz",1},{"ItemSilverBar",1}};
};
class Crafting1 {
class Crafting1
{
text = $STR_EPOCH_PLAYER_211_1;
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
@@ -93,7 +109,8 @@ class ItemSilverBar3oz: CA_Magazine {
input[] = {{"ItemSilverBar3oz",1}};
};
class Crafting2 {
class Crafting2
{
text = $STR_EPOCH_PLAYER_210_7;
script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
@@ -101,7 +118,8 @@ class ItemSilverBar3oz: CA_Magazine {
output[] = {{"ItemSilverBar10oz",1}};
input[] = {{"ItemSilverBar3oz",1},{"ItemSilverBar",7}};
};
class Crafting3 {
class Crafting3
{
text = $STR_EPOCH_PLAYER_211;
script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
@@ -111,8 +129,9 @@ class ItemSilverBar3oz: CA_Magazine {
};
};
};
class ItemSilverBar4oz: CA_Magazine {
scope = public;
class ItemSilverBar4oz: CA_Magazine
{
scope = 2;
count = 1;
worth = 4;
type = 256;
@@ -120,8 +139,11 @@ class ItemSilverBar4oz: CA_Magazine {
model = "\z\addons\dayz_epoch\models\ItemSilverBar4oz.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_silver_bar_CA.paa";
descriptionShort = $STR_EPOCH_4OZSILVER_DESC;
class ItemActions {
class Crafting {
class ItemActions
{
class Crafting
{
text = $STR_EPOCH_PLAYER_210_1;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
@@ -130,7 +152,8 @@ class ItemSilverBar4oz: CA_Magazine {
input[] = {{"ItemSilverBar4oz",1},{"ItemSilverBar",1}};
};
class Crafting1 {
class Crafting1
{
text = $STR_EPOCH_PLAYER_211_1;
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
@@ -139,7 +162,8 @@ class ItemSilverBar4oz: CA_Magazine {
input[] = {{"ItemSilverBar4oz",1}};
};
class Crafting2 {
class Crafting2
{
text = $STR_EPOCH_PLAYER_210_6;
script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
@@ -147,7 +171,8 @@ class ItemSilverBar4oz: CA_Magazine {
output[] = {{"ItemSilverBar10oz",1}};
input[] = {{"ItemSilverBar4oz",1},{"ItemSilverBar",6}};
};
class Crafting3 {
class Crafting3
{
text = $STR_EPOCH_PLAYER_211;
script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
@@ -157,8 +182,9 @@ class ItemSilverBar4oz: CA_Magazine {
};
};
};
class ItemSilverBar5oz: CA_Magazine {
scope = public;
class ItemSilverBar5oz: CA_Magazine
{
scope = 2;
count = 1;
worth = 5;
type = 256;
@@ -166,8 +192,11 @@ class ItemSilverBar5oz: CA_Magazine {
model = "\z\addons\dayz_epoch\models\ItemSilverBar5oz.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_silver_bar_CA.paa";
descriptionShort = $STR_EPOCH_5OZSILVER_DESC;
class ItemActions {
class Crafting {
class ItemActions
{
class Crafting
{
text = $STR_EPOCH_PLAYER_210_1;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
@@ -176,7 +205,8 @@ class ItemSilverBar5oz: CA_Magazine {
input[] = {{"ItemSilverBar5oz",1},{"ItemSilverBar",1}};
};
class Crafting1 {
class Crafting1
{
text = $STR_EPOCH_PLAYER_211_1;
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
@@ -185,7 +215,8 @@ class ItemSilverBar5oz: CA_Magazine {
input[] = {{"ItemSilverBar5oz",1}};
};
class Crafting2 {
class Crafting2
{
text = $STR_EPOCH_PLAYER_210_5;
script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
@@ -193,7 +224,8 @@ class ItemSilverBar5oz: CA_Magazine {
output[] = {{"ItemSilverBar10oz",1}};
input[] = {{"ItemSilverBar5oz",1},{"ItemSilverBar",5}};
};
class Crafting3 {
class Crafting3
{
text = $STR_EPOCH_PLAYER_211;
script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
@@ -203,8 +235,9 @@ class ItemSilverBar5oz: CA_Magazine {
};
};
};
class ItemSilverBar6oz: CA_Magazine {
scope = public;
class ItemSilverBar6oz: CA_Magazine
{
scope = 2;
count = 1;
worth = 6;
type = 256;
@@ -212,8 +245,11 @@ class ItemSilverBar6oz: CA_Magazine {
model = "\z\addons\dayz_epoch\models\ItemSilverBar6oz.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_silver_bar_CA.paa";
descriptionShort = $STR_EPOCH_6OZSILVER_DESC;
class ItemActions {
class Crafting {
class ItemActions
{
class Crafting
{
text = $STR_EPOCH_PLAYER_210_1;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
@@ -222,7 +258,8 @@ class ItemSilverBar6oz: CA_Magazine {
input[] = {{"ItemSilverBar6oz",1},{"ItemSilverBar",1}};
};
class Crafting1 {
class Crafting1
{
text = $STR_EPOCH_PLAYER_211_1;
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
@@ -231,7 +268,8 @@ class ItemSilverBar6oz: CA_Magazine {
input[] = {{"ItemSilverBar6oz",1}};
};
class Crafting2 {
class Crafting2
{
text = $STR_EPOCH_PLAYER_210_4;
script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
@@ -239,7 +277,8 @@ class ItemSilverBar6oz: CA_Magazine {
output[] = {{"ItemSilverBar10oz",1}};
input[] = {{"ItemSilverBar6oz",1},{"ItemSilverBar",4}};
};
class Crafting3 {
class Crafting3
{
text = $STR_EPOCH_PLAYER_211;
script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
@@ -249,8 +288,9 @@ class ItemSilverBar6oz: CA_Magazine {
};
};
};
class ItemSilverBar7oz: CA_Magazine {
scope = public;
class ItemSilverBar7oz: CA_Magazine
{
scope = 2;
count = 1;
worth = 7;
type = 256;
@@ -258,8 +298,11 @@ class ItemSilverBar7oz: CA_Magazine {
model = "\z\addons\dayz_epoch\models\ItemSilverBar7oz.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_silver_bar_CA.paa";
descriptionShort = $STR_EPOCH_7OZSILVER_DESC;
class ItemActions {
class Crafting {
class ItemActions
{
class Crafting
{
text = $STR_EPOCH_PLAYER_210_1;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
@@ -268,7 +311,8 @@ class ItemSilverBar7oz: CA_Magazine {
input[] = {{"ItemSilverBar7oz",1},{"ItemSilverBar",1}};
};
class Crafting1 {
class Crafting1
{
text = $STR_EPOCH_PLAYER_211_1;
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
@@ -277,7 +321,8 @@ class ItemSilverBar7oz: CA_Magazine {
input[] = {{"ItemSilverBar7oz",1}};
};
class Crafting2 {
class Crafting2
{
text = $STR_EPOCH_PLAYER_210_3;
script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
@@ -285,7 +330,8 @@ class ItemSilverBar7oz: CA_Magazine {
output[] = {{"ItemSilverBar10oz",1}};
input[] = {{"ItemSilverBar7oz",1},{"ItemSilverBar",3}};
};
class Crafting3 {
class Crafting3
{
text = $STR_EPOCH_PLAYER_211;
script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
@@ -295,8 +341,9 @@ class ItemSilverBar7oz: CA_Magazine {
};
};
};
class ItemSilverBar8oz: CA_Magazine {
scope = public;
class ItemSilverBar8oz: CA_Magazine
{
scope = 2;
count = 1;
worth = 8;
type = 256;
@@ -304,8 +351,11 @@ class ItemSilverBar8oz: CA_Magazine {
model = "\z\addons\dayz_epoch\models\ItemSilverBar8oz.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_silver_bar_CA.paa";
descriptionShort = $STR_EPOCH_8OZSILVER_DESC;
class ItemActions {
class Crafting {
class ItemActions
{
class Crafting
{
text = $STR_EPOCH_PLAYER_210_1;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
@@ -314,7 +364,8 @@ class ItemSilverBar8oz: CA_Magazine {
input[] = {{"ItemSilverBar8oz",1},{"ItemSilverBar",1}};
};
class Crafting1 {
class Crafting1
{
text = $STR_EPOCH_PLAYER_211_1;
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
@@ -323,7 +374,8 @@ class ItemSilverBar8oz: CA_Magazine {
input[] = {{"ItemSilverBar8oz",1}};
};
class Crafting2 {
class Crafting2
{
text = $STR_EPOCH_PLAYER_210_2;
script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
@@ -331,7 +383,8 @@ class ItemSilverBar8oz: CA_Magazine {
output[] = {{"ItemSilverBar10oz",1}};
input[] = {{"ItemSilverBar8oz",1},{"ItemSilverBar",2}};
};
class Crafting3 {
class Crafting3
{
text = $STR_EPOCH_PLAYER_211;
script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
@@ -341,8 +394,9 @@ class ItemSilverBar8oz: CA_Magazine {
};
};
};
class ItemSilverBar9oz: CA_Magazine {
scope = public;
class ItemSilverBar9oz: CA_Magazine
{
scope = 2;
count = 1;
worth = 9;
type = 256;
@@ -350,8 +404,11 @@ class ItemSilverBar9oz: CA_Magazine {
model = "\z\addons\dayz_epoch\models\ItemSilverBar9oz.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_silver_bar_CA.paa";
descriptionShort = $STR_EPOCH_9OZSILVER_DESC;
class ItemActions {
class Crafting {
class ItemActions
{
class Crafting
{
text = $STR_EPOCH_PLAYER_210_1;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
@@ -360,7 +417,8 @@ class ItemSilverBar9oz: CA_Magazine {
input[] = {{"ItemSilverBar9oz",1},{"ItemSilverBar",1}};
};
class Crafting1 {
class Crafting1
{
text = $STR_EPOCH_PLAYER_211_1;
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
@@ -369,7 +427,8 @@ class ItemSilverBar9oz: CA_Magazine {
input[] = {{"ItemSilverBar9oz",1}};
};
class Crafting3 {
class Crafting3
{
text = $STR_EPOCH_PLAYER_211;
script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
@@ -379,8 +438,9 @@ class ItemSilverBar9oz: CA_Magazine {
};
};
};
class ItemSilverBar10oz: CA_Magazine {
scope = public;
class ItemSilverBar10oz: CA_Magazine
{
scope = 2;
count = 1;
worth = 10;
type = 256;
@@ -388,8 +448,11 @@ class ItemSilverBar10oz: CA_Magazine {
model = "\z\addons\dayz_epoch\models\ItemSilverBar10oz.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_Silver_bar_10oz_CA.paa";
descriptionShort = $STR_EPOCH_10OZSILVER_DESC;
class ItemActions {
class Crafting {
class ItemActions
{
class Crafting
{
text = $STR_EPOCH_PLAYER_211_1;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
@@ -398,7 +461,8 @@ class ItemSilverBar10oz: CA_Magazine {
input[] = {{"ItemSilverBar10oz",1}};
};
class Crafting1 {
class Crafting1
{
text = $STR_EPOCH_PLAYER_211;
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};