ACE3/addons/refuel
johnb432 c0d74ba703
Refuel - Fix fuel source disabling (#9995)
* Add enable setting

* Exclude man class init

* Fix multiplayer terrain pump fuel sync

* Add terrain pumps positions

* Add vanilla fuel cargo restoring before destroying

* Add Livonia positions by bux

* Fix terrain pumps destruction

* Improve settings init

* Fix double settings category

* Check enabled var in public functions

* Fix fnc_makeSource

* Handle recent CUP Terrains changes

* Update includes

* Fix issues introduced in #9133

* Change warning

Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>

* Optimisations and cleanup

- Use hashmaps wherever possible
- Reduced pump search radius by ~30%
- Sorted pumps alphabetically and sorted positions by "smallest" first, for consistency

* Add init debug trace

* compileScript in dev

* yoda conditions & DFUNC macro

* Wait until CBA settings are ready

* Update Chernarus 2020 and add more maps configs

* Remove vanilla fuel cargo restoring before destroying

* Update fnc_makeSource.sqf

---------

Co-authored-by: Dystopian <sddex@ya.ru>
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>
2024-05-23 21:56:08 +02:00
..
data Refuel - Improved fuel hose texture (#8983) 2022-08-17 13:00:54 +02:00
dev Refuel - Add enable setting (#7613) 2024-05-23 21:47:19 +02:00
functions Refuel - Fix fuel source disabling (#9995) 2024-05-23 21:56:08 +02:00
ui Added module icon 2015-08-15 23:38:08 +02:00
$PBOPREFIX$ Initial draft 2015-08-13 19:33:55 +02:00
ACE_Refuel_Positions.hpp Refuel - Add enable setting (#7613) 2024-05-23 21:47:19 +02:00
ACE_Settings.hpp Logistics - Move to CBA settings and organize in subcategories (#6284) 2018-07-05 11:29:32 -05:00
Cfg3DEN.hpp Refuel - Add enable setting (#7613) 2024-05-23 21:47:19 +02:00
CfgEventHandlers.hpp Add SQFC support (#8235) 2021-09-03 19:08:34 -05:00
CfgVehicles.hpp Refuel - Add enable setting (#7613) 2024-05-23 21:47:19 +02:00
config.cpp Refuel - Add enable setting (#7613) 2024-05-23 21:47:19 +02:00
defines.hpp Refuel - Add Progress Bar Duration Setting (#8971) 2022-08-17 13:25:37 +02:00
initSettings.inc.sqf Refuel - Add enable setting (#7613) 2024-05-23 21:47:19 +02:00
README.md Update contribution documents (#8382) 2021-08-16 20:17:56 +01:00
script_component.hpp Refuel - Add Progress Bar Duration Setting (#8971) 2022-08-17 13:25:37 +02:00
stringtable.xml Translation - Add Missing Spanish (#10001) 2024-05-10 20:42:55 -05:00
XEH_postInit.sqf Refuel - Add enable setting (#7613) 2024-05-23 21:47:19 +02:00
XEH_preInit.sqf Tools - Add HEMTT SQF support and fix commas are not semicolons (#9663) 2023-12-07 03:20:47 +00:00
XEH_PREP.hpp Refuel - Add enable setting (#7613) 2024-05-23 21:47:19 +02:00
XEH_preStart.sqf Refuel - Add enable setting (#7613) 2024-05-23 21:47:19 +02:00

ace_refuel

The Refuel module introduces ability to refuel vehicles on different realistic levels.