Advertisement
Guest User

P1-Kashwak CfgMagazines

a guest
Jan 21st, 2013
1,205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.12 KB | None | 0 0
  1. class CfgMagazines {
  2. class CA_Magazine; // External class reference
  3.  
  4. class 20Rnd_556x45_Stanag : CA_Magazine {
  5. scope = public;
  6. displayName = "20Rnd. STANAG";
  7. picture = "\ca\weapons\data\equip\m_20stanag_CA.paa";
  8. ammo = "B_556x45_Ball";
  9. count = 20;
  10. initSpeed = 930;
  11. tracersEvery = 0;
  12. descriptionShort = "Caliber: 5.56x45 mm NATO <br/>Rounds: 20 <br/>Used in: M249 SAW, M4A1, M16A4";
  13. };
  14.  
  15. class 20Rnd_762x51_DMR : CA_Magazine {
  16. scope = public;
  17. displayName = "DMR mag";
  18. picture = "\ca\weapons\data\equip\M_US_DMR_CA.paa";
  19. model = "\dayz_equip\models\mag20.p3d";
  20. count = 20;
  21. ammo = "B_762x51_noTracer";
  22. initSpeed = 900;
  23. reloadMagazineSound[] = {"\ca\Weapons\Data\Sound\M21_reload_v4", 0.01, 1, 20};
  24. descriptionShort = "Caliber:7.62x51 mm NATO <br/>Rounds: 20 <br/>Used in: DMR";
  25.  
  26. class ItemActions {
  27. class ReloadMag {
  28. text = "Split into 4 x M24";
  29. script = "spawn player_reloadMag;";
  30. use[] = {"20Rnd_762x51_DMR"};
  31. output[] = {"5Rnd_762x51_M24", "5Rnd_762x51_M24", "5Rnd_762x51_M24", "5Rnd_762x51_M24"};
  32. };
  33. };
  34. };
  35.  
  36. class 30Rnd_556x45_Stanag : 20Rnd_556x45_Stanag {
  37. displayName = "30Rnd. STANAG";
  38. picture = "\ca\weapons\data\equip\m_30stanag_CA.paa";
  39. model = "\dayz_equip\models\mag30.p3d";
  40. count = 30;
  41. tracersEvery = 0;
  42. descriptionShort = "Caliber: 5.56x45 mm NATO <br/>Rounds: 30 <br/>Used in: M4A1, M249, M16A4, Mk12";
  43. };
  44.  
  45. class 10x_303 : CA_Magazine {
  46. scope = public;
  47. displayName = "Lee Enfield Mag.";
  48. model = "\dayz_equip\models\mag10rnd.p3d";
  49. descriptionShort = "Caliber: .303<br/>Rounds: 10<br/>Used in: Lee Enfield Mk III";
  50. picture = "\Ca\weapons\Data\Equip\m_M24_CA.paa";
  51. count = 10;
  52. ammo = "B_303_Ball";
  53. initSpeed = 750;
  54. };
  55.  
  56. class 5x_22_LR_17_HMR : CA_Magazine {
  57. scope = public;
  58. displayName = "CZ 550 Magazine";
  59. picture = "\Ca\weapons\Data\Equip\m_M24_CA.paa";
  60. model = "\dayz_equip\models\mag5rnd.p3d";
  61. count = 5;
  62. ammo = "B_762x51_noTracer";
  63. initSpeed = 870;
  64. sound[] = {"Ca\sounds\Weapons\rifles\M24_single3", 10, 1, 1800};
  65. reloadMagazineSound[] = {"Ca\sounds\Weapons\rifles\M1014-reload", 0.01, 1, 20};
  66. descriptionShort = "Caliber: 7x64 mm <BR/>Rounds: 5 <BR/>Used in: CZ 550";
  67. };
  68.  
  69. class 5Rnd_762x51_M24 : CA_Magazine {
  70. scope = public;
  71. displayName = "5Rnd. M24";
  72. picture = "\Ca\weapons\Data\Equip\m_M24_CA.paa";
  73. model = "\dayz_equip\models\mag5rnd.p3d";
  74. count = 5;
  75. ammo = "B_762x51_noTracer";
  76. initSpeed = 900;
  77. sound[] = {"\ca\Weapons\Data\Sound\M21_single_shot_v3", 10, 1, 1600};
  78. reloadMagazineSound[] = {"\ca\Weapons\Data\Sound\M21_reload_v4", 0.01, 1, 10};
  79. descriptionShort = "Caliber: 7.62x51mm NATO <br/>Rounds: 5 <br/>Used in: M24, M40A3";
  80.  
  81. class ItemActions {
  82. class ReloadMag {
  83. text = "Combine for DMR";
  84. script = "spawn player_reloadMag;";
  85. use[] = {"5Rnd_762x51_M24", "5Rnd_762x51_M24", "5Rnd_762x51_M24", "5Rnd_762x51_M24"};
  86. output[] = {"20Rnd_762x51_DMR"};
  87. };
  88. };
  89. };
  90.  
  91. class 10Rnd_127x99_m107 : CA_Magazine {
  92. scope = public;
  93. displayName = "10Rnd. M107";
  94. ammo = "B_127x99_Ball_noTracer";
  95. model = "\dayz_equip\models\mag10rnd.p3d";
  96. count = 10;
  97. initSpeed = 850;
  98. picture = "\CA\weapons\data\Equip\M_107_CA.paa";
  99. descriptionShort = "Caliber: 12.7x99mm NATO <br/>Rounds: 10 <br/>Used in: M107";
  100. };
  101.  
  102. class AmmoBox_300x556 : CA_Magazine {
  103. scope = public;
  104. displayName = "Ammo 300 x 5.56mm";
  105. picture = "\CA\weapons\data\equip\m_m249_ca.paa";
  106. model = "\ca\weapons\AmmoBoxes\Proxy_UsBasicAmmoBoxSmall.p3d";
  107. count = 300;
  108. type = 2* 256;
  109. descriptionShort = "Caliber: 5.56x45 mm NATO <br/>Rounds: 300";
  110.  
  111. class ItemActions {
  112. class CreateMag1 {
  113. text = "Load %1";
  114. script = "spawn player_loadMag;";
  115. outputOriented = "true";
  116. output[] = {"20Rnd_556x45_Stanag", "cfgMagazines"};
  117. };
  118.  
  119. class CreateMag2 : CreateMag1 {
  120. output[] = {"30Rnd_556x45_Stanag", "cfgMagazines"};
  121. };
  122.  
  123. class CreateMag3 : CreateMag1 {
  124. output[] = {"30Rnd_556x45_G36", "cfgMagazines"};
  125. };
  126.  
  127. class CreateMag4 : CreateMag1 {
  128. output[] = {"200Rnd_556x45_M249", "cfgMagazines"};
  129. };
  130. };
  131. };
  132.  
  133. class 200Rnd_556x45_M249 : CA_Magazine {
  134. scope = public;
  135. displayName = "200Rnd. M249 Belt";
  136. picture = "\CA\weapons\data\equip\m_m249_ca.paa";
  137. model = "\ca\weapons\AmmoBoxes\Proxy_UsBasicAmmoBoxSmall.p3d";
  138. ammo = "B_556x45_Ball";
  139. count = 200;
  140. type = 2* 256;
  141. initSpeed = 915;
  142. sound[] = {"\ca\Weapons\Data\Sound\M249_1_SS", db25, 1, 1300};
  143. reloadMagazineSound[] = {"\ca\Weapons\Data\Sound\FAL_reload", 0.01, 1, 20};
  144. tracersEvery = 4;
  145. lastRoundsTracer = 4;
  146. nameSound = "mgun";
  147. descriptionShort = "Caliber: 5.56x45 mm NATO <br/>Rounds: 200 <br/>Used in: M249 SAW";
  148. };
  149.  
  150. class 100Rnd_762x51_M240 : CA_Magazine {
  151. scope = public;
  152. displayName = "100Rnd. M240";
  153. picture = "\CA\weapons\data\equip\m_m240_ca.paa";
  154. model = "\ca\weapons\AmmoBoxes\Proxy_UsBasicAmmoBoxSmall.p3d";
  155. count = 100;
  156. type = 2* 256;
  157. ammo = "B_762x51_Ball";
  158. initSpeed = 900;
  159. tracersEvery = 4;
  160. lastRoundsTracer = 4;
  161. nameSound = "mgun";
  162. descriptionShort = "Caliber: 7.62x51mm NATO <br/>Rounds: 100 <br/>Used in: M240, Mk 48 Mod 0";
  163. };
  164.  
  165. class 6Rnd_45ACP : CA_Magazine {
  166. scope = public;
  167. displayName = ".45 ACP";
  168. ammo = "B_45ACP_noCartridge_Ball";
  169. count = 6;
  170. initSpeed = 260;
  171. picture = "\dayz_equip\textures\equip_45acp_ca.paa";
  172. model = "\dayz_equip\models\ammo_acp45.p3d";
  173. type = 16;
  174. descriptionShort = "Caliber: .45 ACP<br/>Rounds: 6<br/>Used in: Revolver .45";
  175.  
  176. class ItemActions {
  177. class ReloadMag {
  178. text = "Combine for M1911";
  179. script = "spawn player_reloadMag;";
  180. use[] = {"6Rnd_45ACP"};
  181. output[] = {"7Rnd_45ACP_1911"};
  182. };
  183. };
  184. };
  185.  
  186. class 7Rnd_45ACP_1911 : CA_Magazine {
  187. scope = public;
  188. displayName = "M1911 Mag.";
  189. ammo = "B_45ACP_Ball";
  190. count = 7;
  191. initSpeed = 260;
  192. picture = "\dayz_equip\textures\equip_1911_ca.paa";
  193. model = "\dayz_equip\models\ammo_1911.p3d";
  194. type = 16;
  195. descriptionShort = "Caliber: .45 ACP <br/>Rounds: 7 <br/>Used in: M1911A1";
  196.  
  197. class ItemActions {
  198. class ReloadMag {
  199. text = "Combine for Revolver";
  200. script = "spawn player_reloadMag;";
  201. use[] = {"7Rnd_45ACP_1911"};
  202. output[] = {"6Rnd_45ACP"};
  203. };
  204. };
  205. };
  206.  
  207. class SkinBase : CA_Magazine {
  208. scope = private;
  209. count = 1;
  210. type = 256;
  211. displayName = "Clothes";
  212. model = "\dayz_equip\models\cloth_parcel.p3d";
  213. picture = "\dayz_equip\textures\equip_cloth_parcel_ca.paa";
  214. descriptionShort = "Clothes Parcel";
  215.  
  216. class ItemActions {
  217. class Use {
  218. text = "Wear %1";
  219. script = "spawn player_wearClothes;";
  220. };
  221. };
  222. };
  223.  
  224. class Skin_Sniper1_DZ : SkinBase {
  225. scope = public;
  226. displayName = $STR_EQUIP_NAME_43;
  227. descriptionShort = $STR_EQUIP_DESC_43;
  228. };
  229.  
  230. class Skin_Camo1_DZ : SkinBase {
  231. scope = public;
  232. displayName = $STR_EQUIP_NAME_44;
  233. descriptionShort = $STR_EQUIP_DESC_44;
  234. };
  235.  
  236. class Skin_Survivor2_DZ : SkinBase {
  237. scope = public;
  238. displayName = $STR_EQUIP_NAME_45;
  239. descriptionShort = $STR_EQUIP_DESC_45;
  240. };
  241.  
  242. class Skin_Soldier1_DZ : SkinBase {
  243. scope = public;
  244. displayName = $STR_EQUIP_NAME_46;
  245. descriptionShort = $STR_EQUIP_DESC_46;
  246. };
  247.  
  248. class ItemBandage : CA_Magazine {
  249. scope = public;
  250. count = 1;
  251. type = 16;
  252. displayName = $STR_EQUIP_NAME_7;
  253. model = "\dayz_equip\models\fad.p3d";
  254. picture = "\dayz_equip\textures\equip_fad_ca.paa";
  255. descriptionShort = $STR_EQUIP_DESC_7;
  256.  
  257. class ItemActions {
  258. class Use {
  259. text = $STR_BANDAGE_SELF;
  260. script = "spawn player_useMeds;";
  261. };
  262. };
  263. };
  264.  
  265. class PartFueltank : CA_Magazine {
  266. scope = public;
  267. count = 1;
  268. type = (256 * 4);
  269. displayName = $STR_EQUIP_NAME_8;
  270. model = "\dayz_equip\models\fueltank.p3d";
  271. picture = "\dayz_equip\textures\equip_fueltank_ca.paa";
  272. descriptionShort = $STR_EQUIP_DESC_8;
  273. };
  274.  
  275. class PartWheel : CA_Magazine {
  276. scope = public;
  277. count = 1;
  278. type = (256 * 6);
  279. displayName = $STR_EQUIP_NAME_9;
  280. model = "\dayz_equip\models\wheel.p3d";
  281. picture = "\dayz_equip\textures\equip_wheel_ca.paa";
  282. descriptionShort = $STR_EQUIP_DESC_9;
  283. };
  284.  
  285. class PartGeneric : CA_Magazine {
  286. scope = public;
  287. count = 1;
  288. type = (256 * 3);
  289. displayName = $STR_EQUIP_NAME_10;
  290. model = "\dayz_equip\models\genericparts.p3d";
  291. picture = "\dayz_equip\textures\equip_genericparts_ca.paa";
  292. descriptionShort = $STR_EQUIP_DESC_10;
  293. };
  294.  
  295. class PartEngine : CA_Magazine {
  296. scope = public;
  297. count = 1;
  298. type = (256 * 6);
  299. displayName = $STR_EQUIP_NAME_11;
  300. model = "\dayz_equip\models\engine.p3d";
  301. picture = "\dayz_equip\textures\equip_engine_ca.paa";
  302. descriptionShort = $STR_EQUIP_DESC_11;
  303. };
  304.  
  305. class PartWoodPile : CA_Magazine {
  306. scope = public;
  307. count = 1;
  308. type = (256 * 2);
  309. displayName = $STR_EQUIP_NAME_40;
  310. model = "\dayz_equip\models\woodPile.p3d";
  311. picture = "\dayz_equip\textures\equip_woodPile_ca.paa";
  312. descriptionShort = $STR_EQUIP_DESC_40;
  313. };
  314.  
  315. class PartVRotor : CA_Magazine {
  316. scope = public;
  317. count = 1;
  318. type = (256 * 6);
  319. displayName = $STR_EQUIP_NAME_32;
  320. model = "\dayz_equip\models\vrotor.p3d";
  321. picture = "\dayz_equip\textures\equip_vrotor_ca.paa";
  322. descriptionShort = $STR_EQUIP_DESC_32;
  323. };
  324.  
  325. class PartGlass : CA_Magazine {
  326. scope = public;
  327. count = 1;
  328. type = (256 * 2);
  329. displayName = $STR_EQUIP_NAME_30;
  330. model = "\dayz_equip\models\carglass.p3d";
  331. picture = "\dayz_equip\textures\equip_carglass_ca.paa";
  332. descriptionShort = $STR_EQUIP_DESC_30;
  333. };
  334.  
  335. class TrapBear : CA_Magazine {
  336. scope = public;
  337. count = 1;
  338. type = 256;
  339. displayName = "Bear Trap";
  340. model = "\dayz_equip\models\bear_trap_gear.p3d";
  341. picture = "\dayz_equip\textures\equip_bear_trap_ca.paa";
  342. descriptionShort = "Place to add a bear trap";
  343.  
  344. class ItemActions {
  345. class Build {
  346. text = "Place Trap";
  347. script = "spawn player_setTrap;";
  348. create = "BearTrap_DZ";
  349. };
  350. };
  351. };
  352.  
  353. class FoodDrink : CA_Magazine {
  354. isWater = 1;
  355. count = 1;
  356. type = 256;
  357.  
  358. class ItemActions {
  359. class Drink {
  360. text = $STR_ACTIONS_DRINK;
  361. script = "spawn player_drink;";
  362. };
  363. };
  364. };
  365.  
  366. class ItemWaterbottle : FoodDrink {
  367. scope = public;
  368. refillable = 1;
  369. sfx = "drink";
  370. displayName = $STR_EQUIP_NAME_12;
  371. model = "\dayz_equip\models\waterbottle_gear.p3d";
  372. picture = "\dayz_equip\textures\equip_waterbottle_ca.paa";
  373. descriptionShort = $STR_EQUIP_DESC_12;
  374. };
  375.  
  376. class ItemWaterbottleUnfilled : CA_Magazine {
  377. scope = public;
  378. count = 1;
  379. type = 256;
  380. displayName = $STR_EQUIP_NAME_13;
  381. model = "\dayz_equip\models\waterbottle_gear.p3d";
  382. picture = "\dayz_equip\textures\equip_waterbottle_empty_ca.paa";
  383. descriptionShort = $STR_EQUIP_DESC_13;
  384.  
  385. class ItemActions {
  386. class Fill {
  387. text = $STR_ACTIONS_FILL_W;
  388. script = "spawn player_fillWater;";
  389. };
  390. };
  391. };
  392.  
  393. class ItemSodaCoke : FoodDrink {
  394. scope = public;
  395. sfx = "soda";
  396. displayName = "$STR_EQUIP_NAME_36a";
  397. model = "\dayz_equip\models\soda_coke.p3d";
  398. picture = "\dayz_equip\textures\equip_soda_coke_ca.paa";
  399. descriptionShort = $STR_EQUIP_DESC_36;
  400. };
  401.  
  402. class ItemSodaPepsi : ItemSodaCoke {
  403. displayName = "$STR_EQUIP_NAME_36b";
  404. model = "\dayz_equip\models\soda_pepsi.p3d";
  405. picture = "\dayz_equip\textures\equip_soda_pepsi_ca.paa";
  406. descriptionShort = $STR_EQUIP_DESC_36;
  407. };
  408.  
  409. class ItemSodaMdew : ItemSodaCoke {
  410. displayName = $STR_EQUIP_NAME_37;
  411. model = "\dayz_equip\models\soda_mdew.p3d";
  412. picture = "\dayz_equip\textures\equip_soda_mdew_ca.paa";
  413. descriptionShort = $STR_EQUIP_NAME_37;
  414. };
  415.  
  416. class ItemEpinephrine : CA_Magazine {
  417. scope = public;
  418. count = 1;
  419. type = 256;
  420. displayName = $STR_EQUIP_NAME_14;
  421. model = "\dayz_equip\models\epi.p3d";
  422. picture = "\dayz_equip\textures\equip_epi_ca.paa";
  423. descriptionShort = $STR_EQUIP_DESC_14;
  424. };
  425.  
  426. class ItemMorphine : CA_Magazine {
  427. scope = public;
  428. count = 1;
  429. type = 256;
  430. displayName = $STR_EQUIP_NAME_15;
  431. model = "\dayz_equip\models\morphine.p3d";
  432. picture = "\dayz_equip\textures\equip_morphine_ca.paa";
  433. descriptionShort = $STR_EQUIP_DESC_15;
  434.  
  435. class ItemActions {
  436. class Use {
  437. text = $STR_TAKE_MORPHINE;
  438. script = "spawn player_useMeds;";
  439. };
  440. };
  441. };
  442.  
  443. class ItemHeatPack : CA_Magazine {
  444. scope = public;
  445. count = 1;
  446. type = 256;
  447. displayName = $STR_EQUIP_NAME_42;
  448. model = "\dayz_equip\models\Heat_pack.p3d";
  449. picture = "\dayz_equip\textures\equip_heat_pack_ca.paa";
  450. descriptionShort = $STR_EQUIP_DESC_42;
  451.  
  452. class ItemActions {
  453. class Use {
  454. text = $STR_ACTIONS_HEATPACK;
  455. script = "spawn player_useMeds;";
  456. };
  457. };
  458. };
  459.  
  460. class ItemBloodbag : CA_Magazine {
  461. scope = public;
  462. count = 1;
  463. type = 256;
  464. displayName = $STR_EQUIP_NAME_16;
  465. model = "\dayz_equip\models\bloodbag.p3d";
  466. picture = "\dayz_equip\textures\equip_bloodbag_ca.paa";
  467. descriptionShort = $STR_EQUIP_DESC_16;
  468. };
  469.  
  470. class ItemAntibiotic : CA_Magazine {
  471. scope = public;
  472. count = 1;
  473. type = 256;
  474. displayName = $STR_EQUIP_NAME_17;
  475. model = "\dayz_equip\models\med_antibiotic_gear.p3d";
  476. picture = "\dayz_equip\textures\equip_antibiotics_ca.paa";
  477. descriptionShort = $STR_EQUIP_DESC_17;
  478.  
  479. class ItemActions {
  480. class Use {
  481. text = $STR_TAKE_ANTIBIOTIC;
  482. script = "spawn player_useMeds;";
  483. };
  484. };
  485. };
  486.  
  487. class ItemPainkiller : CA_Magazine {
  488. scope = public;
  489. count = 1;
  490. type = 256;
  491. displayName = $STR_EQUIP_NAME_18;
  492. model = "\dayz_equip\models\med_painkiller_gear.p3d";
  493. picture = "\dayz_equip\textures\equip_painkiller_ca.paa";
  494. descriptionShort = $STR_EQUIP_DESC_18;
  495.  
  496. class ItemActions {
  497. class Use {
  498. text = $STR_TAKE_PAINKILLER;
  499. script = "spawn player_useMeds;";
  500. };
  501. };
  502. };
  503.  
  504. class ItemJerrycan : CA_Magazine {
  505. scope = public;
  506. count = 1;
  507. fuelQuantity = 20;
  508. type = (256 * 3);
  509. displayName = $STR_EQUIP_NAME_19;
  510. model = "\dayz_equip\models\jerrycan.p3d";
  511. picture = "\dayz_equip\textures\equip_jerrycan_ca.paa";
  512. descriptionShort = $STR_EQUIP_DESC_19;
  513. };
  514.  
  515. class ItemJerrycanEmpty : ItemJerrycan {
  516. fuelQuantity = 0;
  517. type = (256 * 3);
  518. displayName = $STR_EQUIP_NAME_39;
  519. picture = "\dayz_equip\textures\equip_jerrycan_e_ca.paa";
  520. descriptionShort = $STR_EQUIP_DESC_39;
  521. };
  522.  
  523. class ItemGenerator : CA_Magazine {
  524. scope = public;
  525. count = 1;
  526. type = (256 * 6);
  527. displayName = $STR_EQUIP_NAME_31;
  528. model = "\dayz_equip\models\generator_gear.p3d";
  529. picture = "\dayz_equip\textures\equip_generator_ca.paa";
  530. descriptionShort = $STR_EQUIP_DESC_31;
  531. };
  532.  
  533. class ItemTent : CA_Magazine {
  534. scope = public;
  535. count = 1;
  536. type = (256 * 3);
  537. displayName = $STR_EQUIP_NAME_20;
  538. model = "\dayz_equip\models\tentbag_gear.p3d";
  539. picture = "\dayz_equip\textures\equip_tentbag_ca.paa";
  540. descriptionShort = $STR_EQUIP_DESC_20;
  541.  
  542. class ItemActions {
  543. class Pitch {
  544. text = $STR_PITCH_TENT;
  545. script = "spawn player_tentPitch;";
  546. };
  547. };
  548. };
  549.  
  550. class ItemSandbag : CA_Magazine {
  551. scope = public;
  552. count = 1;
  553. type = 256;
  554. displayName = $STR_EQUIP_NAME_21;
  555. model = "\dayz_equip\models\sandbags.p3d";
  556. picture = "\dayz_equip\textures\equip_sandbag_ca.paa";
  557. descriptionShort = $STR_EQUIP_DESC_21;
  558.  
  559. class ItemActions {
  560. class Build {
  561. text = $STR_ACTIONS_BUILD;
  562. script = "spawn player_build;";
  563. require[] = {"ItemEtool"};
  564. create = "Sandbag1_DZ";
  565. };
  566. };
  567. };
  568.  
  569. class ItemTankTrap : CA_Magazine {
  570. scope = public;
  571. count = 1;
  572. type = 256;
  573. displayName = $STR_EQUIP_NAME_22;
  574. model = "\dayz_equip\models\tank_trap_kit.p3d";
  575. picture = "\dayz_equip\textures\equip_tanktrap_kit_CA.paa";
  576. descriptionShort = $STR_EQUIP_DESC_22;
  577.  
  578. class ItemActions {
  579. class Build {
  580. text = $STR_ACTIONS_BUILD;
  581. script = "spawn player_build;";
  582. require[] = {"ItemToolbox"};
  583. create = "Hedgehog_DZ";
  584. };
  585. };
  586. };
  587.  
  588. class ItemWire : CA_Magazine {
  589. scope = public;
  590. count = 1;
  591. type = 256;
  592. displayName = $STR_EQUIP_NAME_23;
  593. model = "\dayz_equip\models\Fence_wire_kit.p3d";
  594. picture = "\dayz_equip\textures\equip_fencewire_kit_CA.paa";
  595. descriptionShort = $STR_EQUIP_DESC_23;
  596.  
  597. class ItemActions {
  598. class Build {
  599. text = $STR_ACTIONS_BUILD;
  600. script = "spawn player_build;";
  601. require[] = {"ItemToolbox"};
  602. create = "Wire_cat1";
  603. };
  604. };
  605. };
  606.  
  607. class FoodSteakRaw : CA_Magazine {
  608. scope = public;
  609. count = 1;
  610. type = 256;
  611. displayName = $STR_EQUIP_NAME_24;
  612. model = "\dayz_equip\models\food_steak_gear.p3d";
  613. picture = "\dayz_equip\textures\equip_steak_ca.paa";
  614. descriptionShort = $STR_EQUIP_DESC_24;
  615. };
  616.  
  617. class FoodEdible : CA_Magazine {
  618. isFood = 1;
  619. count = 1;
  620. type = 256;
  621. bloodRegen = 200;
  622.  
  623. class ItemActions {
  624. class Eat {
  625. text = $STR_EAT_FOOD;
  626. script = "spawn player_eat;";
  627. };
  628. };
  629. };
  630.  
  631. class FoodSteakCooked : FoodEdible {
  632. scope = public;
  633. displayName = $STR_EQUIP_NAME_25;
  634. model = "\dayz_equip\models\food_steak_cooked_gear.p3d";
  635. picture = "\dayz_equip\textures\equip_steak_cooked_ca.paa";
  636. descriptionShort = $STR_EQUIP_DESC_25;
  637. bloodRegen = 800;
  638. };
  639.  
  640. class FoodCanBakedBeans : FoodEdible {
  641. scope = public;
  642. displayName = $STR_EQUIP_NAME_26;
  643. model = "\dayz_equip\models\food_bbtin.p3d";
  644. picture = "\dayz_equip\textures\equip_bbtin_ca.paa";
  645. descriptionShort = $STR_EQUIP_DESC_26;
  646. };
  647.  
  648. class FoodCanSardines : FoodEdible {
  649. scope = public;
  650. displayName = $STR_EQUIP_NAME_27;
  651. model = "\dayz_equip\models\food_sardinestin.p3d";
  652. picture = "\dayz_equip\textures\equip_Sardinestin_ca.paa";
  653. descriptionShort = $STR_EQUIP_DESC_27;
  654. };
  655.  
  656. class FoodCanFrankBeans : FoodEdible {
  657. scope = public;
  658. displayName = $STR_EQUIP_NAME_28;
  659. model = "\dayz_equip\models\food_fbtin.p3d";
  660. picture = "\dayz_equip\textures\equip_fbtin_ca.paa";
  661. descriptionShort = $STR_EQUIP_DESC_28;
  662. };
  663.  
  664. class FoodCanPasta : FoodEdible {
  665. scope = public;
  666. displayName = $STR_EQUIP_NAME_29;
  667. model = "\dayz_equip\models\food_pastatin.p3d";
  668. picture = "\dayz_equip\textures\equip_pastatin_ca.paa";
  669. descriptionShort = $STR_EQUIP_DESC_29;
  670. };
  671. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement