Advertisement
truemc

Untitled

Aug 12th, 2018
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.27 KB | None | 0 0
  1. class ExileAbstractAction
  2. {
  3. title = "";
  4. condition = "true";
  5. action = "";
  6. priority = 1.5;
  7. showWindow = false;
  8. };
  9.  
  10. /**
  11. * Sort this by probability of occurence to speed things up a bit
  12. */
  13. class CfgInteractionMenus
  14. {
  15. class Weed
  16. {
  17. targetType = 2;
  18. target = "CUP_p_fiberPlant_EP1";
  19.  
  20. class Actions
  21. {
  22. class HarvestWeed: ExileAbstractAction
  23. {
  24. title = "Harvest the Weed";
  25. condition = "('Exile_Item_Knife' in (magazines player) && !ExilePlayerInSafezone)";
  26. action = "Custom\WEED\weed.sqf";
  27. };
  28. };
  29. };
  30.  
  31. class Mushrooms
  32. {
  33. targetType = 2;
  34. target = "DDR_Mushrooms";
  35.  
  36. class Actions
  37. {
  38. class HarvestMushrooms: ExileAbstractAction
  39. {
  40. title = "Harvest the Mushrooms";
  41. condition = "('Exile_Item_Knife' in (magazines player) && !ExilePlayerInSafezone)";
  42. action = "_this call DDR_fnc_Mushrooms";
  43. };
  44. };
  45. };
  46.  
  47. class Ore_Mining
  48. {
  49. targetType = 2;
  50. target = "DDR_Ore_Rock";
  51.  
  52. class Actions
  53. {
  54. class materials1: ExileAbstractAction
  55. {
  56. title = "Mining";
  57. condition = "('DDR_Item_Pickaxe' in (magazines player) && !ExilePlayerInSafezone)";
  58. action = "_this call DDR_fnc_Ore_Mining";
  59. };
  60. };
  61. };
  62.  
  63.  
  64. class Car
  65. {
  66. targetType = 2;
  67. target = "Car";
  68.  
  69. class Actions
  70. {
  71. // Salvage a vehicle for bodies
  72. class Salvage: ExileAbstractAction
  73. {
  74. title = "Salvage Vehicle";
  75. condition = "(!(alive (ExileClientInteractionObject)))";
  76. action = "_this call SV_fnc_SalvageVehicle";
  77. };
  78.  
  79. class PackDeployedVehicle: ExileAbstractAction
  80. {
  81. title = "Pack Vehicle";
  82. condition = "call ExAd_XM8_DV_fnc_canPack";
  83. action = "call ExAd_XM8_DV_fnc_pack";
  84. };
  85.  
  86. class ScanLock: ExileAbstractAction
  87. {
  88. title = "Scan Lock";
  89. condition = "('Exile_Item_ThermalScannerPro' in (magazines player)) && !ExilePlayerInSafezone && ((locked ExileClientInteractionObject) != 1)";
  90. action = "_this call ExileClient_object_lock_scan";
  91. };
  92.  
  93. class ClaimVehicle: ExileAbstractAction
  94. {
  95. title = "Claim Ownership";
  96. condition = "((locked ExileClientInteractionObject) isEqualTo 1) && ('Exile_Item_Codelock' in (magazines player))";
  97. action = "call ExileClient_ClaimVehicles_network_claimRequestSend";
  98. };
  99.  
  100.  
  101.  
  102. // Locks a vehicle
  103. class Lock: ExileAbstractAction
  104. {
  105. title = "Lock";
  106. condition = "((locked ExileClientInteractionObject) isEqualTo 0) && ((locked ExileClientInteractionObject) != 1)";
  107. action = "true spawn ExileClient_object_lock_toggle";
  108. };
  109.  
  110. // Unlocks a vehicle
  111. class Unlock: ExileAbstractAction
  112. {
  113. title = "Unlock";
  114. condition = "((locked ExileClientInteractionObject) isEqualTo 2) && ((locked ExileClientInteractionObject) != 1)";
  115. action = "false spawn ExileClient_object_lock_toggle";
  116. };
  117.  
  118.  
  119. // Flips a vehicle so the player doesnt have to call an admin
  120. // Check if vector up is fucked
  121. class Flip: ExileAbstractAction
  122. {
  123. title = "Flip";
  124. condition = "call ExileClient_object_vehicle_interaction_show";
  125. action = "_this call ExileClient_object_vehicle_flip";
  126. };
  127.  
  128. /* // Repairs a vehicle to 100%. Requires Duckttape
  129. class Repair: ExileAbstractAction
  130. {
  131. title = "Repair";
  132. condition = "('Exile_Item_DuctTape' in (magazines player))";
  133. action = "['RepairVehicle', _this select 0] call ExileClient_action_execute";
  134. };
  135. */
  136. class Repair: ExileAbstractAction
  137. {
  138. title = "Repair/Salvage menu";
  139. condition = "true";
  140. action = "_this call Bones_fnc_salvageAndRepairMenuCar";
  141. };
  142.  
  143. // Hot-wires a vehicle
  144. class Hotwire: ExileAbstractAction
  145. {
  146. title = "Hotwire";
  147. condition = "('Exile_Item_Knife' in (magazines player)) && ((locked ExileClientInteractionObject) isEqualTo 2) && ((locked ExileClientInteractionObject) != 1)";
  148. action = "['HotwireVehicle', _this select 0] call ExileClient_action_execute";
  149. };
  150.  
  151. // Fills fuel from a can into a car
  152. class Refuel: ExileAbstractAction
  153. {
  154. title = "Refuel";
  155. condition = "('Exile_Item_FuelCanisterFull' in (magazines player)) && (call ExileClient_object_vehicle_interaction_show)";
  156. action = "_this call ExileClient_object_vehicle_refuel";
  157. };
  158.  
  159. // Drains fuel from a car into an empty jerry can
  160. class DrainFuel: ExileAbstractAction
  161. {
  162. title = "Drain Fuel";
  163. condition = "('Exile_Item_FuelCanisterEmpty' in (magazines player)) && (call ExileClient_object_vehicle_interaction_show)";
  164. action = "_this call ExileClient_object_vehicle_drain";
  165. };
  166. };
  167. };
  168.  
  169. class Tank
  170. {
  171. targetType=2;
  172. target="Tank";
  173. class Actions
  174. {
  175. class Lock: ExileAbstractAction
  176. {
  177. title="Lock";
  178. condition="((locked ExileClientInteractionObject) isEqualTo 0) && ((locked ExileClientInteractionObject) != 1)";
  179. action="true spawn ExileClient_object_lock_toggle";
  180. };
  181. class Unlock: ExileAbstractAction
  182. {
  183. title="Unlock";
  184. condition="((locked ExileClientInteractionObject) isEqualTo 2) && ((locked ExileClientInteractionObject) != 1)";
  185. action="false spawn ExileClient_object_lock_toggle";
  186. };
  187. class Repair: ExileAbstractAction
  188. {
  189. title = "Repair/Salvage menu";
  190. condition = "true";
  191. action = "_this call Bones_fnc_salvageAndRepairMenuCar";
  192. };
  193. class Flip: ExileAbstractAction
  194. {
  195. title="Flip";
  196. condition="call ExileClient_object_vehicle_interaction_show";
  197. action="_this call Exileclient_object_vehicle_flip";
  198. };
  199. // Hot-wires a vehicle
  200. class Hotwire: ExileAbstractAction
  201. {
  202. title = "Hotwire";
  203. condition = "('Exile_Item_Knife' in (magazines player)) && ((locked ExileClientInteractionObject) isEqualTo 2) && ((locked ExileClientInteractionObject) != 1)";
  204. action = "['HotwireVehicle', _this select 0] call ExileClient_action_execute";
  205. };
  206. class Refuel: ExileAbstractAction
  207. {
  208. title="Refuel";
  209. condition="call ExileClient_object_vehicle_interaction_show";
  210. action="_this call ExileClient_object_vehicle_refuel";
  211. };
  212. class DrainFuel: ExileAbstractAction
  213. {
  214. title="Drain Fuel";
  215. condition="call ExileClient_object_vehicle_interaction_show";
  216. action="_this call ExileClient_object_vehicle_drain";
  217. };
  218. };
  219. };
  220.  
  221. class Air
  222. {
  223. target = "Air";
  224. targetType = 2;
  225.  
  226. class Actions
  227. {
  228. class ScanLock: ExileAbstractAction
  229. {
  230. title = "Scan Lock";
  231. condition = "('Exile_Item_ThermalScannerPro' in (magazines player)) && ((locked ExileClientInteractionObject) != 1) && !ExilePlayerInSafezone";
  232. action = "_this call ExileClient_object_lock_scan";
  233. };
  234.  
  235. class ClaimVehicle: ExileAbstractAction
  236. {
  237. title = "Claim Ownership";
  238. condition = "((locked ExileClientInteractionObject) isEqualTo 1) && ('Exile_Item_Codelock' in (magazines player))";
  239. action = "call ExileClient_ClaimVehicles_network_claimRequestSend";
  240. };
  241.  
  242. // Locks a vehicle
  243. class Lock: ExileAbstractAction
  244. {
  245. title = "Lock";
  246. condition = "((locked ExileClientInteractionObject) isEqualTo 0) && ((locked ExileClientInteractionObject) != 1)";
  247. action = "true spawn ExileClient_object_lock_toggle";
  248. };
  249.  
  250. // Unlocks a vehicle
  251. class Unlock: ExileAbstractAction
  252. {
  253. title = "Unlock";
  254. condition = "((locked ExileClientInteractionObject) isEqualTo 2) && ((locked ExileClientInteractionObject) != 1)";
  255. action = "false spawn ExileClient_object_lock_toggle";
  256. };
  257.  
  258.  
  259. // Flips a vehicle so the player doesnt have to call an admin
  260. // Check if vector up is fucked
  261. class Flip: ExileAbstractAction
  262. {
  263. title = "Flip";
  264. condition = "call ExileClient_object_vehicle_interaction_show";
  265. action = "_this call ExileClient_object_vehicle_flip";
  266. };
  267.  
  268. /*
  269. class RepairInfoChopper: ExileAbstractAction
  270. {
  271. title = "REPAIR INFO";
  272. condition = "true";
  273. action = "_this call JohnO_fnc_displayVehicleRepairInfo";
  274. };
  275. class RepairMinor: ExileAbstractAction
  276. {
  277. title = "Minor repair";
  278. condition = "true";
  279. action = "_this call JohnO_fnc_repairchopperhalf";
  280. };
  281. class RepairFull: ExileAbstractAction
  282. {
  283. title = "Full repair";
  284. condition = "true";
  285. action = "_this call JohnO_fnc_repairchopper";
  286. };
  287.  
  288. */
  289. // Bones Custom Air Repairs
  290. class Repair: ExileAbstractAction
  291. {
  292. title = "Repair/Salvage";
  293. condition = "true";
  294. action = "_this call Bones_fnc_salvageAndRepairMenuHelo";
  295. };
  296. // Hot-wires a vehicle
  297. class Hotwire: ExileAbstractAction
  298. {
  299. title = "Hotwire";
  300. condition = "('Exile_Item_Knife' in (magazines player)) && ((locked ExileClientInteractionObject) isEqualTo 2) && ((locked ExileClientInteractionObject) != 1)";
  301. action = "['HotwireVehicle', _this select 0] call ExileClient_action_execute";
  302. };
  303.  
  304. // Fills fuel from a can into a car
  305. class Refuel: ExileAbstractAction
  306. {
  307. title = "Refuel";
  308. condition = "('Exile_Item_FuelCanisterFull' in (magazines player)) && (call ExileClient_object_vehicle_interaction_show)";
  309. action = "_this call ExileClient_object_vehicle_refuel";
  310. };
  311.  
  312. // Drains fuel from a car into an empty jerry can
  313. class DrainFuel: ExileAbstractAction
  314. {
  315. title = "Drain Fuel";
  316. condition = "('Exile_Item_FuelCanisterEmpty' in (magazines player)) && (call ExileClient_object_vehicle_interaction_show)";
  317. action = "_this call ExileClient_object_vehicle_drain";
  318. };
  319. class RotateLeft: ExileAbstractAction
  320. {
  321. title = "Rotate Left";
  322. condition = "call ExileClient_object_vehicle_interaction_show";
  323. action = "[ExileClientInteractionObject,-15] call ExileClient_object_vehicle_rotate";
  324. };
  325.  
  326. class RotateRight: ExileAbstractAction
  327. {
  328. title = "Rotate Right";
  329. condition = "call ExileClient_object_vehicle_interaction_show";
  330. action = "[ExileClientInteractionObject,15] call ExileClient_object_vehicle_rotate";
  331. };
  332. };
  333. };
  334.  
  335. class Helicopter
  336. {
  337. target = "Helicopter";
  338. targetType = 2;
  339.  
  340. class Actions
  341. {
  342. /* // Bones Custom Air Repairs
  343. class Repair: ExileAbstractAction
  344. {
  345. title = "Repair/Salvage";
  346. condition = "true";
  347. action = "_this call Bones_fnc_salvageAndRepairMenuHelo";
  348. };*/
  349. // Repairs a vehicle to 100%. Requires Duckttape
  350. class Repair: ExileAbstractAction
  351. {
  352. title = "Repair";
  353. condition = "('Exile_Item_DuctTape' in (magazines player))";
  354. action = "['RepairVehicle', _this select 0] call ExileClient_action_execute";
  355. };
  356.  
  357. };
  358. };
  359.  
  360.  
  361. class Plane
  362. {
  363. target = "Plane";
  364. targetType = 2;
  365.  
  366. class Actions
  367. {
  368. // Repairs a vehicle to 100%. Requires Duckttape
  369. class Repair: ExileAbstractAction
  370. {
  371. title = "Repair";
  372. condition = "('Exile_Item_DuctTape' in (magazines player))";
  373. action = "['RepairVehicle', _this select 0] call ExileClient_action_execute";
  374. };
  375.  
  376. };
  377. };
  378.  
  379. class Safe
  380. {
  381. targetType = 2;
  382. target = "Exile_Container_Safe";
  383.  
  384. class Actions
  385. {
  386. class ScanLock: ExileAbstractAction
  387. {
  388. title = "Scan Lock";
  389. condition = "('Exile_Item_ThermalScannerPro' in (magazines player)) && !((ExileClientInteractionObject getvariable ['ExileIsLocked',1]) isEqualTo 1) && !ExilePlayerInSafezone";
  390. action = "_this call ExileClient_object_lock_scan";
  391. };
  392.  
  393. // Locks a vehicle
  394. class Lock : ExileAbstractAction
  395. {
  396. title = "Lock";
  397. condition = "((ExileClientInteractionObject getvariable ['ExileIsLocked',1]) isEqualTo 0)";
  398. action = "true spawn ExileClient_object_lock_toggle";
  399. };
  400.  
  401. class Unlock : ExileAbstractAction
  402. {
  403. title = "Unlock";
  404. condition = "((ExileClientInteractionObject getvariable ['ExileIsLocked',1]) isEqualTo -1)";
  405. action = "false spawn ExileClient_object_lock_toggle";
  406. };
  407.  
  408. class Pack : ExileAbstractAction
  409. {
  410. title = "Pack";
  411. condition = "((ExileClientInteractionObject getvariable ['ExileIsLocked',1]) isEqualTo 0)";
  412. action = "_this spawn ExileClient_object_container_pack";
  413. };
  414.  
  415. class SetPinCode : ExileAbstractAction
  416. {
  417. title = "Set PIN";
  418. condition = "((ExileClientInteractionObject getvariable ['ExileIsLocked',1]) isEqualTo 0)";
  419. action = "_this spawn ExileClient_object_lock_setPin";
  420. };
  421. };
  422. };
  423.  
  424. class Laptop
  425. {
  426. targetType = 2;
  427. target = "Exile_Construction_Laptop_Static";
  428.  
  429. class Actions
  430. {
  431. class CameraSystem: ExileAbstractAction
  432. {
  433. title = "CCTV Access";
  434. condition = "((ExileClientInteractionObject animationPhase 'LaptopLidRotation') >= 0.5)";
  435. action = "_this call ExileClient_gui_baseCamera_show";
  436. };
  437. };
  438. };
  439.  
  440. class SupplyBox
  441. {
  442. targetType = 2;
  443. target = "Exile_Container_SupplyBox";
  444.  
  445. class Actions
  446. {
  447. class Mount: ExileAbstractAction
  448. {
  449. title = "Mount";
  450. condition = "(isNull (attachedTo ExileClientInteractionObject)) && ((ExileClientInteractionObject getvariable ['ExileOwnerUID',1]) isEqualTo 1)";
  451. action = "_this call ExileClient_object_supplyBox_mount";
  452. };
  453.  
  454. class Install: ExileAbstractAction
  455. {
  456. title = "Install";
  457. condition = "isNull (attachedTo ExileClientInteractionObject) && ((ExileClientInteractionObject getvariable ['ExileOwnerUID',1]) isEqualTo 1)";
  458. action = "_this call ExileClient_object_supplyBox_install";
  459. };
  460.  
  461. class Unmount: ExileAbstractAction
  462. {
  463. title = "Unmount";
  464. condition = "!(isNull (attachedTo ExileClientInteractionObject)) && ((ExileClientInteractionObject getvariable ['ExileOwnerUID',1]) isEqualTo 1)";
  465. action = "_this call ExileClient_object_supplyBox_unmount";
  466. };
  467. };
  468. };
  469.  
  470. class Drawbridge
  471. {
  472. targetType = 2;
  473. target = "Exile_Construction_WoodDrawBridge_Abstract";
  474.  
  475. class Actions
  476. {
  477. class Lower: ExileAbstractAction
  478. {
  479. title = "Lower";
  480. condition = "ExileClientInteractionObject call ExileClient_object_construction_openBridgeShow";
  481. action = "ExileClientInteractionObject animateSource ['DrawBridge_Source', 0];";
  482. };
  483.  
  484. class Raise: ExileAbstractAction
  485. {
  486. title = "Raise";
  487. condition = "((ExileClientInteractionObject animationSourcePhase 'DrawBridge_Source') < 0.5)";
  488. action = "ExileClientInteractionObject animateSource ['DrawBridge_Source', 2]";
  489. };
  490. };
  491. };
  492.  
  493. class Construction
  494. {
  495. targetType = 2;
  496. target = "Exile_Construction_Abstract_Static";
  497.  
  498. class Actions
  499. {
  500. class ScanLock: ExileAbstractAction
  501. {
  502. title = "Scan Lock";
  503. condition = "('Exile_Item_ThermalScannerPro' in (magazines player)) && !((ExileClientInteractionObject getvariable ['ExileIsLocked',1]) isEqualTo 1)";
  504. action = "_this call ExileClient_object_lock_scan";
  505. };
  506.  
  507. class Unlock : ExileAbstractAction
  508. {
  509. title = "Unlock";
  510. condition = "((ExileClientInteractionObject getvariable ['ExileIsLocked',1]) isEqualTo -1)";
  511. action = "false spawn ExileClient_object_lock_toggle";
  512. };
  513.  
  514. class Lock : ExileAbstractAction
  515. {
  516. title = "Lock";
  517. condition = "((ExileClientInteractionObject getvariable ['ExileIsLocked',1]) isEqualTo 0)";
  518. action = "true spawn ExileClient_object_lock_toggle";
  519. };
  520.  
  521. // Picks up the construction so you can move it
  522. class Move: ExileAbstractAction
  523. {
  524. title = "Move";
  525. condition = "call ExileClient_util_world_isInOwnTerritory";
  526. action = "_this spawn ExileClient_object_construction_move";
  527. };
  528.  
  529. // Removes the construction.
  530. class Deconstruct: ExileAbstractAction
  531. {
  532. title = "Remove";
  533. condition = "call ExileClient_util_world_isInOwnTerritory";
  534. action = "_this spawn ExileClient_object_construction_deconstruct";
  535. };
  536.  
  537. class AddALock : ExileAbstractAction
  538. {
  539. title = "Add a Lock";
  540. condition = "call ExileClient_object_construction_lockAddShow";
  541. action = "_this spawn ExileClient_object_construction_lockAdd";
  542. };
  543.  
  544. class Upgrade : ExileAbstractAction
  545. {
  546. title = "Upgrade";
  547. condition = "call ExileClient_object_construction_upgradeShow";
  548. action = "_this call ExileClient_object_construction_upgrade";
  549. };
  550.  
  551. class MakeBoom : ExileAbstractAction
  552. {
  553. title = "Plant charge";
  554. condition = "call ExileClient_system_breaching_condition";
  555. action = "_this call ExileClient_system_breaching_action";
  556. };
  557.  
  558. class Repair : ExileAbstractAction
  559. {
  560. title = "Repair";
  561. condition = "(!((ExileClientInteractionObject getVariable ['ExileConstructionDamage',0]) isEqualTo 0)) && (call ExileClient_util_world_isInOwnTerritory)";
  562. action = "_this call ExileClient_object_construction_repair";
  563. };
  564.  
  565. };
  566. };
  567.  
  568. /*
  569. Tent, Storage crate etc.
  570. */
  571. class Container
  572. {
  573. targetType = 2;
  574. target = "Exile_Container_Abstract";
  575.  
  576. class Actions
  577. {
  578. class Pack
  579. {
  580. title = "Pack";
  581. condition = "!((typeOf ExileClientInteractionObject) isEqualTo 'Exile_Container_SupplyBox')";
  582. action = "_this spawn ExileClient_object_container_pack";
  583. };
  584. // Picks up the container so you can move it
  585. class Move: ExileAbstractAction
  586. {
  587. title = "Move";
  588. condition = "(getNumber(configFile >> 'CfgVehicles' >> typeOf ExileClientInteractionObject >> 'exileIsLockable') isEqualTo 0) || ((ExileClientInteractionObject getvariable ['ExileIsLocked',1]) isEqualTo 0)";
  589. action = "_this spawn ExileClient_object_construction_move";
  590. };
  591. };
  592. };
  593.  
  594. class Flag
  595. {
  596. targetType = 2;
  597. target = "Exile_Construction_Flag_Static";
  598.  
  599. class Actions
  600. {
  601. /*
  602. class Manage : ExileAbstractAction
  603. {
  604. title = "Manage";
  605. condition = "true";
  606. action = "_this call ExileClient_gui_baseManagement_event_show";
  607. };
  608. */
  609. class StealFlag: ExileAbstractAction
  610. {
  611. title = "Steal Flag";
  612. condition = "((ExileClientInteractionObject getvariable ['ExileFlagStolen',1]) isEqualTo 0)";
  613. action = "['StealFlag', _this select 0] call ExileClient_action_execute";
  614. };
  615.  
  616. class RestoreFlag: ExileAbstractAction
  617. {
  618. title = "Restore Flag";
  619. condition = "((ExileClientInteractionObject getvariable ['ExileFlagStolen',0]) isEqualTo 1)";
  620. action = "['restoreFlagRequest', [netID ExileClientInteractionObject]] call ExileClient_system_network_send";
  621. };
  622. };
  623. };
  624.  
  625. class Boat
  626. {
  627. targetType = 2;
  628. target = "Ship";
  629.  
  630. class Actions
  631. {
  632. class ClaimVehicle: ExileAbstractAction
  633. {
  634. title = "Claim Ownership";
  635. condition = "((locked ExileClientInteractionObject) isEqualTo 1) && ('Exile_Item_Codelock' in (magazines player))";
  636. action = "call ExileClient_ClaimVehicles_network_claimRequestSend";
  637. };
  638.  
  639. // Locks a vehicle
  640. class Lock: ExileAbstractAction
  641. {
  642. title = "Lock";
  643. condition = "((locked ExileClientInteractionObject) isEqualTo 0) && ((locked ExileClientInteractionObject) != 1)";
  644. action = "true spawn ExileClient_object_lock_toggle";
  645. };
  646.  
  647. // Unlocks a vehicle
  648. class Unlock: ExileAbstractAction
  649. {
  650. title = "Unlock";
  651. condition = "((locked ExileClientInteractionObject) isEqualTo 2) && ((locked ExileClientInteractionObject) != 1)";
  652. action = "false spawn ExileClient_object_lock_toggle";
  653. };
  654.  
  655. // Repairs a vehicle to 100%. Requires Duckttape
  656. class Repair: ExileAbstractAction
  657. {
  658. title = "Repair";
  659. condition = "('Exile_Item_DuctTape' in (magazines player))";
  660. action = "['RepairVehicle', _this select 0] call ExileClient_action_execute";
  661. };
  662.  
  663. // Hot-wires a vehicle
  664. class Hotwire: ExileAbstractAction
  665. {
  666. title = "Hotwire";
  667. condition = "('Exile_Item_Knife' in (magazines player)) && ((locked ExileClientInteractionObject) isEqualTo 2) && ((locked ExileClientInteractionObject) != 1)";
  668. action = "['HotwireVehicle', _this select 0] call ExileClient_action_execute";
  669. };
  670.  
  671. // Fills fuel from a can into a car
  672. class Refuel: ExileAbstractAction
  673. {
  674. title = "Refuel";
  675. condition = "('Exile_Item_FuelCanisterFull' in (magazines player)) && (call ExileClient_object_vehicle_interaction_show)";
  676. action = "_this call ExileClient_object_vehicle_refuel";
  677. };
  678.  
  679. // Drains fuel from a car into an empty jerry can
  680. class DrainFuel: ExileAbstractAction
  681. {
  682. title = "Drain Fuel";
  683. condition = "('Exile_Item_FuelCanisterEmpty' in (magazines player)) && (call ExileClient_object_vehicle_interaction_show)";
  684. action = "_this call ExileClient_object_vehicle_drain";
  685. };
  686.  
  687. // Pushes a boat into look direction to move into water
  688. class Push: ExileAbstractAction
  689. {
  690. title = "Push";
  691. condition = "((crew ExileClientInteractionObject) isEqualTo [])";
  692. action = "_this call ExileClient_object_vehicle_push";
  693. };
  694. };
  695. };
  696.  
  697. class Bikes
  698. {
  699. targetType = 2;
  700. target = "Bicycle";
  701.  
  702. class Actions
  703. {
  704. class PackDeployedVehicle: ExileAbstractAction
  705. {
  706. title = "Pack Bike";
  707. condition = "call ExAd_XM8_DV_fnc_canPack";
  708. action = "call ExAd_XM8_DV_fnc_pack";
  709. };
  710.  
  711. };
  712. };
  713.  
  714. class Player
  715. {
  716. targetType = 2;
  717. target = "Exile_Unit_Player";
  718.  
  719. class Actions
  720. {
  721. class Free: ExileAbstractAction
  722. {
  723. title = "Free";
  724. condition = "(alive ExileClientInteractionObject) && (ExileClientInteractionObject getVariable ['ExileIsHandcuffed', false]) && !ExileClientIsHandcuffed";
  725. action = "_this call ExileClient_object_handcuffs_free";
  726. };
  727.  
  728. class Search: ExileAbstractAction
  729. {
  730. title = "Search Gear";
  731. condition = "(alive ExileClientInteractionObject) && (ExileClientInteractionObject getVariable ['ExileIsHandcuffed', false]) && !ExileClientIsHandcuffed";
  732. action = "_this call ExileClient_object_handcuffs_searchGear";
  733. };
  734.  
  735. class Identify: ExileAbstractAction
  736. {
  737. title = "Identify Body";
  738. condition = "!(alive ExileClientInteractionObject)";
  739. action = "_this call ExileClient_object_player_identifyBody";
  740. };
  741.  
  742. class HideCorpse: ExileAbstractAction
  743. {
  744. title = "Hide Body";
  745. condition = "!(alive ExileClientInteractionObject) && ('DZS_toolbox' isEqualTo (currentWeapon player))";
  746. action = "['HideBody', (_this select 0)] call ExileClient_action_execute";
  747. };
  748.  
  749. /* class Debug: ExileAbstractAction
  750. {
  751. title = "debug";
  752. condition = "true";
  753. action = "systemChat format ['getBleedingRemaining %1 isBleeding %2 distance %3 Damage %4',getBleedingRemaining ExileClientInteractionObject,isBleeding ExileClientInteractionObject,ExileClientInteractionObject distance player, damage ExileClientInteractionObject]";
  754. };*/
  755.  
  756. };
  757. };
  758.  
  759. class Animal
  760. {
  761. targetType = 2;
  762. target = "Exile_Animal_Abstract";
  763.  
  764. class Actions
  765. {
  766. class Gut: ExileAbstractAction
  767. {
  768. title = "Gut Animal";
  769. condition = "!(alive ExileClientInteractionObject) && (ExileClientInteractionObject getVariable ['CanBeGutted', false])";
  770. action = "['GutAnimal', ExileClientInteractionObject] call ExileClient_action_execute";
  771. };
  772. };
  773. };
  774. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement