mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
Let Shovel build sandbags, fix errors with toolbox
This commit is contained in:
@@ -13,6 +13,14 @@ class ItemShovel : ItemCore
|
|||||||
|
|
||||||
class ItemActions
|
class ItemActions
|
||||||
{
|
{
|
||||||
|
class Build
|
||||||
|
{
|
||||||
|
text = "Build Sandbag Fence";
|
||||||
|
script = "; ['ItemShovel','Build'] spawn player_build; r_action_count = r_action_count + 1;";
|
||||||
|
require[] = {"ItemShovel"};
|
||||||
|
consume[] = {"ItemSandbag"};
|
||||||
|
create = "Sandbag1_DZ";
|
||||||
|
};
|
||||||
class Use
|
class Use
|
||||||
{
|
{
|
||||||
text = $STR_CREATE_STASH;
|
text = $STR_CREATE_STASH;
|
||||||
|
|||||||
@@ -10,12 +10,12 @@ class ItemToolbox : ItemCore
|
|||||||
class RemoveNet
|
class RemoveNet
|
||||||
{
|
{
|
||||||
text="Remove Camo Net";
|
text="Remove Camo Net";
|
||||||
script="[['DesertCamoNet_DZ','ForestCamoNet_DZ','DesertLargeCamoNet_DZ','ForestLargeCamoNet_DZ'],5,'str_epoch_player_8'] call player_removeNearby;";
|
script=";[['DesertCamoNet_DZ','ForestCamoNet_DZ','DesertLargeCamoNet_DZ','ForestLargeCamoNet_DZ'],5,'str_epoch_player_8'] call player_removeNearby;";
|
||||||
};
|
};
|
||||||
class RemoveTankTrap
|
class RemoveTankTrap
|
||||||
{
|
{
|
||||||
text="Remove Tank Trap";
|
text="Remove Tank Trap";
|
||||||
script="[['Hedgehog_DZ'],1,'STR_EPOCH_ACTIONS_14'] call player_removeNearby;";
|
script=";[['Hedgehog_DZ'],1,'STR_EPOCH_ACTIONS_14'] call player_removeNearby;";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user