mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-24 09:00:50 +03:00
Fix redirect to vanilla player_craftItem
This commit is contained in:
@@ -6,6 +6,9 @@ class SkinBase : CA_Magazine
|
|||||||
model = "\dayz_equip\models\cloth_parcel.p3d";
|
model = "\dayz_equip\models\cloth_parcel.p3d";
|
||||||
picture = "\dayz_equip\textures\equip_cloth_parcel_ca.paa";
|
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";
|
Craftoutput = "equip_rag";
|
||||||
|
|
||||||
class ItemActions
|
class ItemActions
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// If no parameters were passed redirect to vanilla player_craftItem (Epoch items always pass an array)
|
// If a string was passed redirect to vanilla player_craftItem (Epoch items always pass an array)
|
||||||
if ((isNil "_this") or {(typeName _this == "ARRAY") && {count _this < 1}}) exitWith {[] spawn player_craftItemVanilla;};
|
if (typeName _this == "STRING") exitWith {_this spawn player_craftItemVanilla;};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
DayZ Epoch Crafting 0.3
|
DayZ Epoch Crafting 0.3
|
||||||
|
|||||||
Reference in New Issue
Block a user