Advertisement
Guest User

Interaction menu Please HELP Asked by NeverAgain

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