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
51 lines
1.2 KiB
C++
51 lines
1.2 KiB
C++
class SkinBase : CA_Magazine
|
|
{
|
|
count = 1;
|
|
type = WeaponSlotItem;
|
|
|
|
model = "\dayz_equip\models\cloth_parcel.p3d";
|
|
picture = "\dayz_equip\textures\equip_cloth_parcel_ca.paa";
|
|
|
|
displayName = $STR_EQUIP_NAME_CLOTHES; // Used in Epoch player_craftItem for canvas
|
|
descriptionShort = $STR_EQUIP_DESC_CLOTHES;
|
|
|
|
Craftoutput = "equip_rag";
|
|
|
|
class ItemActions
|
|
{
|
|
class Use
|
|
{
|
|
text = $STR_EQUIP_TEXT_CLOTHES;
|
|
script = "spawn player_wearClothes;";
|
|
};
|
|
|
|
class tearClothes
|
|
{
|
|
text = $str_tear_clothes;
|
|
script = "spawn player_tearClothes;";
|
|
};
|
|
class Crafting {
|
|
text = $STR_EPOCH_PLAYER_269b;
|
|
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
|
neednearby[] = {};
|
|
requiretools[] = {"ItemToolbox","ItemKnife"};
|
|
output[] = {{"ItemCanvas",1}};
|
|
input[] = {{"SkinBase",2}};
|
|
};
|
|
class Crafting1 {
|
|
text = $STR_EPOCH_PLAYER_269;
|
|
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
|
|
neednearby[] = {};
|
|
requiretools[] = {"ItemToolbox","ItemKnife"};
|
|
output[] = {{"ItemBandage",2}};
|
|
input[] = {{"SkinBase",1},{"ItemTrashToiletpaper",1}};
|
|
};
|
|
};
|
|
weight = 1;
|
|
};
|
|
|
|
#include "Ghillie.hpp"
|
|
#include "Camo.hpp"
|
|
#include "Soldier.hpp"
|
|
#include "Survivor.hpp"
|
|
#include "EpochSkins.hpp" |