Files
DayZ-Epoch/SQF/dayz_code/Configs/CfgMagazines/Items/Generator.hpp
icomrade 2d9097a6af Switch all buildables to Epoch building system
Didn't bother switching the stash over since it doesn't appear to be
implemented yet
2016-05-10 11:21:04 -04:00

23 lines
522 B
C++

class ItemGenerator : CA_Magazine
{
scope = public;
count = 1;
type = WeaponSlotItem;
model = "\dayz_equip\models\generator_gear.p3d";
picture = "\dayz_equip\textures\equip_generator_ca.paa";
displayName = $STR_EQUIP_NAME_31;
descriptionShort = $STR_EQUIP_DESC_31;
class ItemActions
{
class Build
{
text = $STR_ACTION_BUILD;
script = "spawn player_build; r_action_count = r_action_count + 1;";
require[] = {"ItemToolbox"};
consume[] = {"ItemGenerator"};
create = "Generator_DZ";
};
};
};