mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
The fishing models, pictures, etc. in 1.8.7 are identical to the ones in dayz_epoch, so we should use them instead of having duplicate classes.
48 lines
1.1 KiB
C++
48 lines
1.1 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";
|
|
|
|
Craftoutput = "equip_rag";
|
|
|
|
class ItemActions
|
|
{
|
|
class Use
|
|
{
|
|
text = $STR_EQUIP_TEXT_CLOTHES;
|
|
script = "spawn player_wearClothes;";
|
|
};
|
|
|
|
class tearClothes
|
|
{
|
|
text = "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" |