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,10 +1,10 @@
|
||||
class ItemKnife_Base : ItemCore
|
||||
{
|
||||
scope = private;
|
||||
|
||||
scope = 0;
|
||||
model = "\dayz_equip\models\knife_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_knife_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_4;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Use
|
||||
@@ -17,7 +17,7 @@ class ItemKnife_Base : ItemCore
|
||||
|
||||
class ItemKnife : ItemKnife_Base
|
||||
{
|
||||
scope = public;
|
||||
scope = 2;
|
||||
model = "\dayz_equip\models\knife_gear.p3d"; // Some mods override this. We leave this here just to be sure.
|
||||
picture = "\dayz_equip\textures\equip_knife_ca.paa";
|
||||
descriptionShort = $STR_EQUIP_DESC_4;
|
||||
@@ -26,42 +26,42 @@ class ItemKnife : ItemKnife_Base
|
||||
|
||||
class ItemKnife5 : ItemKnife_Base
|
||||
{
|
||||
scope = public;
|
||||
scope = 2;
|
||||
descriptionShort = $STR_EQUIP_DESC_4_A;
|
||||
sharpnessRemaining = "ItemKnife4";
|
||||
};
|
||||
|
||||
class ItemKnife4 : ItemKnife_Base
|
||||
{
|
||||
scope = public;
|
||||
scope = 2;
|
||||
descriptionShort = $STR_EQUIP_DESC_4_B;
|
||||
sharpnessRemaining = "ItemKnife3";
|
||||
};
|
||||
|
||||
class ItemKnife3 : ItemKnife_Base
|
||||
{
|
||||
scope = public;
|
||||
scope = 2;
|
||||
descriptionShort = $STR_EQUIP_DESC_4_C;
|
||||
sharpnessRemaining = "ItemKnife2";
|
||||
};
|
||||
|
||||
class ItemKnife2 : ItemKnife_Base
|
||||
{
|
||||
scope = public;
|
||||
scope = 2;
|
||||
descriptionShort = $STR_EQUIP_DESC_4_D;
|
||||
sharpnessRemaining = "ItemKnife1";
|
||||
};
|
||||
|
||||
class ItemKnife1 : ItemKnife_Base
|
||||
{
|
||||
scope = public;
|
||||
scope = 2;
|
||||
descriptionShort = $STR_EQUIP_DESC_4_E;
|
||||
sharpnessRemaining = "ItemKnifeBlunt";
|
||||
};
|
||||
|
||||
class ItemKnifeBlunt : ItemKnife_Base
|
||||
{
|
||||
scope = public;
|
||||
scope = 2;
|
||||
descriptionShort = $STR_EQUIP_CODE_DESC_4;
|
||||
sharpnessRemaining = "ItemKnifeBlunt";
|
||||
class ItemActions
|
||||
|
||||
Reference in New Issue
Block a user