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 equip_empty_barrel : CA_Magazine {
scope = public;
class equip_empty_barrel : CA_Magazine
{
scope = 2;
count = 1;
displayName = $STR_ITEM_NAME_equip_empty_barrel;
descriptionShort = $STR_ITEM_DESC_equip_empty_barrel;

View File

@@ -1,5 +1,6 @@
class equip_fuse : CA_Magazine {
scope = public;
class equip_fuse : CA_Magazine
{
scope = 2;
count = 1;
displayName = $STR_ITEM_NAME_equip_fuse;
descriptionShort = $STR_ITEM_DESC_equip_fuse;

View File

@@ -1,5 +1,6 @@
class equip_part_camo : CA_Magazine {
scope = public;
class equip_part_camo : CA_Magazine
{
scope = 2;
count = 1;
displayName = $STR_ITEM_NAME_equip_part_camo;
descriptionShort = $STR_ITEM_DESC_equip_part_camo;

View File

@@ -1,5 +1,6 @@
class equip_part_silencer : CA_Magazine {
scope = public;
class equip_part_silencer : CA_Magazine
{
scope = 2;
count = 1;
displayName = $STR_ITEM_NAME_equip_part_silencer;
descriptionShort = $STR_ITEM_DESC_equip_part_silencer;

View File

@@ -1,5 +1,6 @@
class equip_part_sniper_scope : CA_Magazine {
scope = public;
class equip_part_sniper_scope : CA_Magazine
{
scope = 2;
count = 1;
displayName = $STR_ATTACHMENT_NAME_Sniper_Scope;
descriptionShort = $STR_ATTACHMENT_DESC_Sniper_Scope;

View File

@@ -1,5 +1,6 @@
class equip_pipecap : CA_Magazine {
scope = public;
class equip_pipecap : CA_Magazine
{
scope = 2;
count = 1;
displayName = $STR_ITEM_NAME_equip_pipecap;
descriptionShort = $STR_ITEM_DESC_equip_pipecap;

View File

@@ -1,5 +1,6 @@
class equip_rubber_tube : CA_Magazine {
scope = public;
class equip_rubber_tube : CA_Magazine
{
scope = 2;
count = 1;
displayName = $STR_ITEM_NAME_equip_rubber_tube;
descriptionShort = $STR_ITEM_DESC_equip_rubber_tube;