mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
CFG WEAPONS DONE
This commit is contained in:
23
SQF/dayz_code/Configs/CfgMagazines/Items/Generator.hpp
Normal file
23
SQF/dayz_code/Configs/CfgMagazines/Items/Generator.hpp
Normal file
@@ -0,0 +1,23 @@
|
||||
class ItemGenerator : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem * 6;
|
||||
|
||||
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 = "; [_id,'Build'] spawn player_build; r_action_count = r_action_count + 1;";
|
||||
require[] = {"ItemEtool"};
|
||||
consume[] = {"ItemGenerator"};
|
||||
create = "Generator_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user