mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-04-18 10:16:39 +03:00
Split Currency
This commit is contained in:
29
SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/TinBar.hpp
Normal file
29
SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/TinBar.hpp
Normal file
@@ -0,0 +1,29 @@
|
||||
class ItemTinBar: CA_Magazine {
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = "Tin";
|
||||
model = "\z\addons\dayz_epoch\models\tin_bar.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_tin_bar_CA.paa";
|
||||
descriptionShort = "Tin Bar";
|
||||
|
||||
};
|
||||
class ItemTinBar10oz: CA_Magazine {
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = "10oz Tin";
|
||||
model = "\z\addons\dayz_epoch\models\tin_bar.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_tin_bar_10oz_CA.paa";
|
||||
descriptionShort = "10oz Tin Bar";
|
||||
class ItemActions {
|
||||
class Crafting {
|
||||
text = $STR_EPOCH_PLAYER_211;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"fire"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"ItemTinBar",10}};
|
||||
input[] = {{"ItemTinBar10oz",1}};
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user