Files
DayZ-Epoch/SQF/dayz_code/Configs/CfgMagazines/Items/TankTrap.hpp
ebaydayz c2b16f0828 Consolidate DZE_ActionInProgress and r_action_count to one variable
There is no point in having two variables for the same purpose.

It is also pointless to keep an action count tally like r_action_count
was doing, since it is only ever checked for being 0 or 1. Any count
higher or lower than that is irrelevant.

I will make this change in vanilla too.
2016-08-25 15:38:27 -04:00

24 lines
514 B
C++

class ItemTankTrap : CA_Magazine
{
scope = public;
count = 1;
type = WeaponSlotItem;
model = "\dayz_equip\models\tank_trap_kit.p3d";
picture = "\dayz_equip\textures\equip_tanktrap_kit_CA.paa";
displayName = $STR_EQUIP_NAME_22;
descriptionShort = $STR_EQUIP_DESC_22;
class ItemActions
{
class Build
{
text = $STR_ACTION_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
consume[] = {"ItemTankTrap"};
create = "Hedgehog_DZ";
byPass = "byPassRoadCheck";
};
};
};