mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
* Localization changes/additions. Fixes a few localizations, extends range for removing camo nets from toolbox by 10m, I have found that 5m is just not enough. * Toolbox change Update camonet removal to 10m instead of 5m * Safe zone no building near/blacklisted buildings no building near Adds a check in dze_buildChecks to disallow building within a certain distance of a safezone or a blacklisted object name. * typo fix typo * Safezone/blacklisted changes As per requests. * Rework Rework * Remove unused variables as per subject * Misc changes Fix unprivated var in calcfreespace Made single currency buy/sell reporting more englishery Localization cleanup of extra spaces * rework rework
40 lines
930 B
C++
40 lines
930 B
C++
class ItemShovel : ItemCore
|
|
{
|
|
scope = public;
|
|
|
|
model = "\z\addons\dayz_communityassets\models\shovel.p3d";
|
|
picture = "\z\addons\dayz_communityassets\pictures\equip_shovel_ca.paa";
|
|
displayName = $STR_EQUIP_NAME_1b;
|
|
descriptionShort = $STR_EQUIP_DESC_1b;
|
|
|
|
stashsmall = "StashSmall";
|
|
stashmedium = "StashMedium";
|
|
consume = "ItemSandbag";
|
|
|
|
class ItemActions
|
|
{
|
|
class Build
|
|
{
|
|
text = "Build Sandbag Fence";
|
|
script = "spawn player_build;";
|
|
require[] = {"ItemShovel"};
|
|
consume[] = {"ItemSandbag"};
|
|
create = "Sandbag1_DZ";
|
|
};
|
|
class Use
|
|
{
|
|
text = $STR_CREATE_STASH;
|
|
script = "spawn player_createstash;";
|
|
};
|
|
};
|
|
};
|
|
|
|
class ItemShovelBroken : ItemCore
|
|
{
|
|
scope = public;
|
|
|
|
model = "\z\addons\dayz_communityassets\models\shovel.p3d";
|
|
picture = "\z\addons\dayz_communityassets\pictures\equip_shovel_ca.paa";
|
|
displayName = $STR_EQUIP_NAME_1b_BROKEN;
|
|
descriptionShort = $STR_EQUIP_DESC_1b_BROKEN;
|
|
}; |