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:
98
SQF/dayz_code/Configs/CfgWeapons/Tools/Matchbox.hpp
Normal file
98
SQF/dayz_code/Configs/CfgWeapons/Tools/Matchbox.hpp
Normal file
@@ -0,0 +1,98 @@
|
||||
class ItemMatchbox_base : ItemCore
|
||||
{
|
||||
scope = private;
|
||||
model = "\dayz_equip\models\matchbox_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_matchbox_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_3;
|
||||
descriptionShort = $STR_EQUIP_DESC_3;
|
||||
};
|
||||
|
||||
class ItemMatchboxEmpty : ItemMatchbox_base
|
||||
{
|
||||
scope = public;
|
||||
displayName = $STR_EQUIP_NAME_3_EMPTY;
|
||||
descriptionShort = $STR_EQUIP_DESC_3_EMPTY;
|
||||
};
|
||||
|
||||
//Loot Spawn Table.
|
||||
class ItemMatchbox : ItemMatchbox_base
|
||||
{
|
||||
scope = public;
|
||||
|
||||
class Ignators
|
||||
{
|
||||
chance = 0.12;
|
||||
matches = -1;
|
||||
qtyRemaining = "Item5Matchbox";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Use
|
||||
{
|
||||
text = $STR_ACTIONS_LIGHTFIRE;
|
||||
script = "spawn player_makeFire;";
|
||||
use[] = {"PartWoodPile"};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
//Do not add to loot tables.
|
||||
class Item5Matchbox : ItemMatchbox
|
||||
{
|
||||
descriptionShort = $STR_EQUIP_DESC_3_A;
|
||||
|
||||
class Ignators
|
||||
{
|
||||
matches = 5;
|
||||
qtyRemaining = "Item4Matchbox";
|
||||
};
|
||||
};
|
||||
class Item4Matchbox : ItemMatchbox
|
||||
{
|
||||
descriptionShort = $STR_EQUIP_DESC_3_B;
|
||||
|
||||
class Ignators
|
||||
{
|
||||
qtyRemaining = "Item3Matchbox";
|
||||
matches = 4;
|
||||
};
|
||||
};
|
||||
class Item3Matchbox : ItemMatchbox
|
||||
{
|
||||
descriptionShort = $STR_EQUIP_DESC_3_C;
|
||||
|
||||
class Ignators
|
||||
{
|
||||
qtyRemaining = "Item2Matchbox";
|
||||
matches = 3;
|
||||
};
|
||||
};
|
||||
class Item2Matchbox : ItemMatchbox
|
||||
{
|
||||
descriptionShort = $STR_EQUIP_DESC_3_D;
|
||||
|
||||
class Ignators
|
||||
{
|
||||
qtyRemaining = "Item1Matchbox";
|
||||
matches = 2;
|
||||
};
|
||||
};
|
||||
class Item1Matchbox : ItemMatchbox
|
||||
{
|
||||
descriptionShort = $STR_EQUIP_DESC_3_E;
|
||||
|
||||
class Ignators
|
||||
{
|
||||
qtyRemaining = "ItemMatchboxEmpty";
|
||||
matches = 1;
|
||||
};
|
||||
};
|
||||
class ItemMatchbox_DZE: ItemCore
|
||||
{
|
||||
scope = 2;
|
||||
displayName = $STR_EQUIP_NAME_3;
|
||||
model = "\dayz_equip\models\matchbox_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_matchbox_ca.paa";
|
||||
descriptionShort = $STR_EQUIP_DESC_3;
|
||||
};
|
||||
Reference in New Issue
Block a user