mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
CFG WEAPONS DONE
This commit is contained in:
47
SQF/dayz_code/Configs/CfgMagazines/Items/Tent.hpp
Normal file
47
SQF/dayz_code/Configs/CfgMagazines/Items/Tent.hpp
Normal file
@@ -0,0 +1,47 @@
|
||||
class ItemTent : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem * 3;
|
||||
|
||||
model = "\dayz_equip\models\tentbag_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_tentbag_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_20;
|
||||
descriptionShort = $STR_EQUIP_DESC_20;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_PITCH_TENT;
|
||||
script = "; [_id,'Build'] spawn player_build; r_action_count = r_action_count + 1;";
|
||||
require[] = {};
|
||||
consume[] = {"ItemTent"};
|
||||
create = "TentStorage";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemDomeTent : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem * 3;
|
||||
|
||||
model = "\dayz_equip\models\tentbag_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_tentbag_ca.paa";
|
||||
displayName = $STR_VEH_NAME_DOME_TENT;
|
||||
descriptionShort = $STR_EQUIP_DESC_20;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_PITCH_DOME_TENT;
|
||||
script = "; [_id,'Build'] spawn player_build; r_action_count = r_action_count + 1;";
|
||||
require[] = {};
|
||||
consume[] = {"ItemDomeTent"};
|
||||
create = "DomeTentStorage";
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user