mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
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.
21 lines
743 B
C++
21 lines
743 B
C++
class ItemComboLock: CA_Magazine
|
|
{
|
|
scope = 2;
|
|
count = 1;
|
|
type = 256;
|
|
displayName = $STR_EPOCH_COMBINATIONLOCK;
|
|
model = "\z\addons\dayz_epoch\models\combo_lock_mag.p3d";
|
|
picture = "\z\addons\dayz_epoch\pictures\equip_combolock_ca.paa";
|
|
descriptionShort = $STR_EPOCH_COMBINATIONLOCK_DESC;
|
|
};
|
|
|
|
class ItemPadlock: CA_Magazine //Vanilla lock, left in config for potential admin use, but all scripts changed to use Epoch ItemComboLock
|
|
{
|
|
scope = 2;
|
|
count = 1;
|
|
type = 256;
|
|
displayName = $STR_BLD_name_ItemPadlock;//"Padlock"
|
|
picture = "\z\addons\dayz_buildings\equip\padlock.paa";
|
|
model = "z\addons\dayz_buildings\models\padlock.p3d";
|
|
descriptionShort = $STR_BLD_desc_ItemPadlock;//"Padlock - Used for securing Workshop's and Houses."
|
|
}; |