Remove Hatchet_DZE

The two items are 100% identical now. There is no need to have a
separate class for it anymore.
This commit is contained in:
ebaydayz
2016-03-31 15:44:23 -04:00
parent 3f6cd7de42
commit d926a81038
18 changed files with 25 additions and 131 deletions

View File

@@ -39,51 +39,4 @@ class MeleeHatchet : MeleeWeapon
{
libTextDesc = $STR_EQUIP_DESC_HATCHET;
};
};
class MeleeHatchet_DZE: MeleeWeapon
{
scope = public;
model="\dayz_weapons\models\Hatchet_weaponized";
picture="\dayz_equip\textures\equip_hatchet_CA.paa";
displayName=$STR_EQUIP_NAME_HATCHET;
droppeditem= "ItemHatchet_DZE";
magazines[]=
{
"Hatchet_Swing"
};
handAnim[]=
{
"OFP2_ManSkeleton",
"\dayz_weapons\anim\melee_hatchet_holding.rtm"
};
class ItemActions
{
class Use
{
text = $STR_ACTIONS_CHOPWOOD;
script = "spawn player_chopWood";
};
class Toolbelt
{
text = $STR_ACTIONS_2TB;
script = "spawn player_addToolbelt";
use[] = {"MeleeHatchet_DZE"};
output[] = {"ItemHatchet_DZE"};
};
class Drop
{
text = $STR_ACTIONS_DROP;
script = "spawn player_dropWeapon; r_action_count = r_action_count + 1;";
use[] = {"Hatchet_Swing"};
};
};
class Library
{
libTextDesc=$STR_EQUIP_DESC_HATCHET;
};
descriptionShort=$STR_EQUIP_DESC_HATCHET;
};
};

View File

@@ -32,36 +32,6 @@ class ItemHatchet : ItemCore
};
};
};
class ItemHatchet_DZE : ItemCore {
scope = public;
displayName = $STR_EQUIP_NAME_HATCHET;
model = "\dayz_equip\models\hatchet.p3d";
picture = "\dayz_equip\textures\equip_hatchet_CA.paa";
descriptionShort = $STR_EQUIP_DESC_HATCHET;
class ItemActions
{
class Use
{
text = $STR_ACTIONS_CHOPWOOD;
script = "spawn player_chopWood;";
};
class ToBack
{
text = $STR_ACTIONS_2BACK;
script = "spawn player_addtoBack;";
use[] = {"ItemHatchet_DZE"};
output[] = {"MeleeHatchet_DZE"};
};
class Toolbelt
{
text = "Remove from Toolbelt";
script = "spawn player_addToolbelt;";
use[] = {"ItemHatchet_DZE"};
output[] = {"MeleeHatchet_DZE"};
};
};
};
class ItemHatchetBroken : ItemCore
{