* Simplify main fuel loop
* Remove unecessary action macro
* Add container refueling
* Fuel counter behaviour is now consistent for both limited and unlimited fuel sources
* Update maxFuel and refuelContainer whenever fueling begins
* Update maxFuel and refuelContainer whenever fueling begins
* Prevent loading of fuel sources into cargo when they have a nozzle connected to them
* Added action to check how much fuel is left in a jerry can
* Prevent jerry cans from being picked up if they have a nozzle connected to them
* Added function to check if a nozzle can be connected to an object
* Prevent fuel sources which have their nozzle deployed from being loaded
* Compute both tank volumes inside of refuel instead of durring turn on
* Didn't mean to delete these
* Allow for user defined fuel capacities
* Handle more edge cases with infinite fuel sources
* Refuel - Prevent fuel sources from being dragged while they're refueling other things
* Refuel - Added flow rate multiplier for refueling fuel sources
* Refuel - Use FUNC instead of DFUNC for nozzle actions
* Refuel - getCapacity should return REFUEL_DISABLED_FUEL instead of 0 when argument is not a fuel source
* Refuel - Correctly reset fuel counter when fueling a new target
* Refuel - Implemented all suggested changes
* Refuel - Added newlines to end of files
* Refuel - Added missing newline at end of XEH_PREP
* Only setFuel once per jerry can creation
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
* Calling getFuel will initialize the fuel source
* Refuel - Add newline to end of file
---------
Co-authored-by: BaerMitUmlaut <baermitumlaut@users.noreply.github.com>
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
* Refuel - Drop nozzle at unit's feet if no valid pos found
Fix#6944
* Update fnc_dropNozzle.sqf
* Update addons/refuel/functions/fnc_dropNozzle.sqf
Co-Authored-By: PabstMirror <pabstmirror@gmail.com>
* Add throw blocking status effect
* Add concertina_wire and tripod support
* Add launcher in hands support
* Disable effect sending more than once
* Fix EFUNC using, add trace
* Disable vanilla throw blocking
* Improve status handling
* Fix rearm status key
* Everything
* Fixed missing ;
* Fix missing ; and double private
* Fixed cannot isNull on number
* Turn _temparture back to isNil
* Fix error from merge
* Fix Magazine Repack underwater - fix#5513
Also prevent common goKneeling function underwater
* Fix loading patients underwater - fix#5515
* Fix load object underwater
* Fix take nozzle on jerry can underwater
* Fix refuel underwater conditions further
* Use isTouchingGround, Make refuel semi-compatible
reports false if head is out of the water, we want true even if we are not diving
* Less interact exceptions duplication
* Use animationState to determine if unit is swimming, create common function and use it instead of isTouchingGround
* Fix condition
* Support dragging underwater
No carrying due to animation timing issues and other misc things
* Allow Medical Legs SelfActions underwater
* Fix fixPosition function underwater (use getPosATL instead of getPos)
* Fix fixPosition's slope adjustment for non-gravity objects, Do the same for objects without simulation as well
* Add fast mouse actions to refuel
* nobody seen that
* Add interaction condition and refuel on ladder
* Add car hit, fix change weapon on uncon
* Replace objNull with nil in setVar, unify var names
* Delete *ConnectNozzle functions
* Delete reset* functions
* Add public function and eden attributes
* Remove static actions from RHS compat
* Remove statusEffect_set on respawn
* Fix dual menu, add deprecating message
* Optimize fnc_takeNozzle
* Cleanup
* Enabled refuel for non-AllVehicles objects. Un-magic'd refuel progress timer.
* Changed helper attach position to centre of object. Offset applied when rope attached.
* Made fully compatible with non-thingX simulation types. Removed destruction effects of helper object.
* Using arma model. Removed ACE_Actions from helper object.
* Correct use of hideObjectGlobal
* Remove actions, cargo, repair on helper
* Switched helper to be setVar'd on the nozzle object
* Prevent taking or disconnecting a nozzle if already carrying one
* Fix multiple nozzle connect actions, Fix returning nozzle into a vehicle being refueled