ACE3/addons/cargo
Samuel Deutsch edf4a70ed6
Refuel - Added ability to refuel fuel sources (#8981)
* 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>
2023-02-16 20:06:11 -06:00
..
functions Refuel - Added ability to refuel fuel sources (#8981) 2023-02-16 20:06:11 -06:00
UI Remove deprecated functionality for 3.12.0 (#5878) 2017-12-10 13:38:32 +00:00
$PBOPREFIX$ add PBO to load things into vehicles 2015-03-29 15:20:39 +02:00
ACE_Settings.hpp Logistics - Move to CBA settings and organize in subcategories (#6284) 2018-07-05 11:29:32 -05:00
CfgEden.hpp Cargo - Add ability to add custom name to cargo objects (#8023) 2021-10-12 17:42:38 -05:00
CfgEventHandlers.hpp Add SQFC support (#8235) 2021-09-03 19:08:34 -05:00
CfgVehicles.hpp Cargo - Update VTOL Cargo sizes (#9066) 2022-10-16 00:44:31 +02:00
config.cpp Cargo - Add ability to add custom name to cargo objects (#8023) 2021-10-12 17:42:38 -05:00
initSettings.sqf Cargo - Add setting for carry after cargo unload (#8997) 2022-08-20 16:28:16 -05:00
menu.hpp HEMTT v10 Compatibility (#9105) 2023-02-01 23:28:55 -06:00
README.md Update contribution documents (#8382) 2021-08-16 20:17:56 +01:00
renameMenu.hpp HEMTT v10 Compatibility (#9105) 2023-02-01 23:28:55 -06:00
script_component.hpp cargo - use getInteractionDistance to get better distance (#5697) 2017-11-10 15:28:12 +01:00
stringtable.xml Translations - Russian (#9095) 2022-12-03 13:57:43 -06:00
XEH_postInit.sqf Cargo - Make player carry/drag item on unload (#8797) 2022-05-07 22:45:57 -05:00
XEH_preInit.sqf Cargo - Fix loaded cargo not being deleted when vehicle is destroyed (#7851) 2020-08-18 12:42:09 -05:00
XEH_PREP.hpp Cargo - Make player carry/drag item on unload (#8797) 2022-05-07 22:45:57 -05:00
XEH_preStart.sqf Cargo - Cache cargo vehicle classes (#6806) 2019-02-17 11:41:05 -06:00

ace_cargo

Adds cargo menu to vehicles and allows loading and unloading of cargo items.