mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-23 04:22:13 +03:00
Fix in ground spawn pickaxe and broken pickaxe
The pickaxe and the broken pickaxe spawned headlong in the ground. It was the same for the crowbar. We need to add an extra weaponholder for this tools for a proper spawn.
This commit is contained in:
@@ -5,8 +5,10 @@ Castle[] =
|
||||
{Loot_WEAPON, 1, ItemMap},
|
||||
{Loot_WEAPON, 1, ItemCompass},
|
||||
{Loot_WEAPON, 2, ItemFlashlight},
|
||||
{Loot_WEAPON, 1, ItemPickaxe},
|
||||
{Loot_WEAPON, 2, ItemPickaxeBroken},
|
||||
//{Loot_WEAPON, 1, ItemPickaxe},
|
||||
//{Loot_WEAPON, 2, ItemPickaxeBroken},
|
||||
{Loot_VEHICLE, 1, WeaponHolder_ItemPickaxe},
|
||||
{Loot_VEHICLE, 2, WeaponHolder_ItemPickaxeBroken},
|
||||
// {Loot_WEAPON, 2, ItemShovel},
|
||||
// {Loot_WEAPON, 1, ItemHatchet},
|
||||
{Loot_VEHICLE, 1, WeaponHolder_ItemHatchet},
|
||||
|
||||
@@ -10,8 +10,10 @@ Construction[] =
|
||||
{Loot_MAGAZINE, 1, equip_lever},
|
||||
{Loot_MAGAZINE, 1, ItemComboLock},
|
||||
|
||||
{Loot_WEAPON, 1, ItemPickaxe},
|
||||
{Loot_WEAPON, 2, ItemPickaxeBroken},
|
||||
//{Loot_WEAPON, 1, ItemPickaxe},
|
||||
//{Loot_WEAPON, 2, ItemPickaxeBroken},
|
||||
{Loot_VEHICLE, 1, WeaponHolder_ItemPickaxe},
|
||||
{Loot_VEHICLE, 2, WeaponHolder_ItemPickaxeBroken},
|
||||
{Loot_WEAPON, 1, ItemSledge},
|
||||
{Loot_MAGAZINE, 2, ItemSledgeHandle},
|
||||
{Loot_MAGAZINE, 2, ItemSledgeHead},
|
||||
|
||||
@@ -7,8 +7,10 @@ Industrial[] =
|
||||
{Loot_VEHICLE, 8, WeaponHolder_ItemCrowbar},
|
||||
// {Loot_WEAPON, 5, ItemHatchet},
|
||||
{Loot_VEHICLE, 5, WeaponHolder_ItemHatchet},
|
||||
{Loot_WEAPON, 1, ItemPickaxe},
|
||||
{Loot_WEAPON, 2, ItemPickaxeBroken},
|
||||
//{Loot_WEAPON, 1, ItemPickaxe},
|
||||
//{Loot_WEAPON, 2, ItemPickaxeBroken},
|
||||
{Loot_VEHICLE, 1, WeaponHolder_ItemPickaxe},
|
||||
{Loot_VEHICLE, 2, WeaponHolder_ItemPickaxeBroken},
|
||||
{Loot_WEAPON, 1, ItemSledge},
|
||||
{Loot_MAGAZINE, 2, ItemSledgeHandle},
|
||||
{Loot_MAGAZINE, 2, ItemSledgeHead},
|
||||
|
||||
@@ -22,6 +22,27 @@ class WeaponHolder_ItemCrowbar: WeaponHolderBase
|
||||
init="[(_this select 0),'cfgWeapons','ItemCrowbar'] execVM '\z\addons\dayz_code\init\object_pickupAction.sqf';";
|
||||
};
|
||||
};
|
||||
class WeaponHolder_ItemPickaxe: WeaponHolderBase
|
||||
{
|
||||
scope=2;
|
||||
displayName = $STR_EQUIP_NAME_PICKAXE;
|
||||
model = "z\addons\dayz_communityweapons\models\pickaxe\pickaxe.p3d";
|
||||
destrType = "DestructNo";
|
||||
|
||||
class eventHandlers
|
||||
{
|
||||
init="[(_this select 0),'cfgWeapons','ItemPickaxe'] execVM '\z\addons\dayz_code\init\object_pickupAction.sqf';";
|
||||
};
|
||||
};
|
||||
class WeaponHolder_ItemPickaxeBroken: WeaponHolder_ItemPickaxe
|
||||
{
|
||||
displayName = $STR_name_ItemPickaxeBroken;
|
||||
|
||||
class eventHandlers
|
||||
{
|
||||
init="[(_this select 0),'cfgWeapons','ItemPickaxeBroken'] execVM '\z\addons\dayz_code\init\object_pickupAction.sqf';";
|
||||
};
|
||||
};
|
||||
class WeaponHolder_ItemSledge : WeaponHolderBase { // Epoch class. Needed for player_dropWeapon
|
||||
scope = public;
|
||||
displayName = $STR_EQUIP_NAME_SledgeHammer;
|
||||
|
||||
@@ -14798,7 +14798,7 @@
|
||||
</Key>
|
||||
<Key ID="STR_EPOCH_LUMBERPACK">
|
||||
<English>Lumber Pack</English>
|
||||
<German>Bauholzstapel</German>
|
||||
<German>Bauholzpaket</German>
|
||||
<Russian>Упаковка пиломатериалов</Russian>
|
||||
</Key>
|
||||
<Key ID="STR_EPOCH_LUMBERPACK_DESC">
|
||||
@@ -14833,7 +14833,7 @@
|
||||
</Key>
|
||||
<Key ID="STR_EPOCH_PLYWOODPACK_DESC">
|
||||
<English>Plywood in a stack.</English>
|
||||
<German>Sperrholzstapel.</German>
|
||||
<German>Sperrholz, gestapelt und zusammengebunden.</German>
|
||||
<Russian>Упакованная фанера.</Russian>
|
||||
</Key>
|
||||
<Key ID="STR_EPOCH_LUMBER">
|
||||
|
||||
Reference in New Issue
Block a user