-
-
Notifications
You must be signed in to change notification settings - Fork 307
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Logistic module pt. 2 #581
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very huge addition, great contribution to the project. 👍
Some smaller changes requested like removing "player" in the getFOB call, as it's the default value for the function.
Haven't marked it, but many functions miss the Public attribute, maybe you want to go through all of the ones which are added in the PR and add the attribute.
Missionframework/modules/23_logistic/fnc/fn_logistic_resupplyTarget.sqf
Outdated
Show resolved
Hide resolved
Missionframework/modules/23_logistic/fnc/fn_logistic_selectRecycleTarget.sqf
Outdated
Show resolved
Hide resolved
Missionframework/modules/23_logistic/fnc/fn_logistic_selectResupplyTarget.sqf
Outdated
Show resolved
Hide resolved
Missionframework/modules/26_cratefiller/fnc/fn_cratefiller_addEquipment.sqf
Outdated
Show resolved
Hide resolved
Missionframework/modules/26_cratefiller/fnc/fn_cratefiller_getInventory.sqf
Outdated
Show resolved
Hide resolved
Missionframework/modules/26_cratefiller/fnc/fn_cratefiller_getNearStorages.sqf
Outdated
Show resolved
Hide resolved
Missionframework/modules/26_cratefiller/fnc/fn_cratefiller_removeEquipment.sqf
Outdated
Show resolved
Hide resolved
Missionframework/modules/26_cratefiller/fnc/fn_cratefiller_setInventory.sqf
Outdated
Show resolved
Hide resolved
Co-Authored-By: Dubjunk <31448659+Dubjunk@users.noreply.github.com>
Co-Authored-By: Dubjunk <31448659+Dubjunk@users.noreply.github.com>
Co-Authored-By: Dubjunk <31448659+Dubjunk@users.noreply.github.com>
Co-Authored-By: Dubjunk <31448659+Dubjunk@users.noreply.github.com>
Co-Authored-By: Dubjunk <31448659+Dubjunk@users.noreply.github.com>
Co-Authored-By: Dubjunk <31448659+Dubjunk@users.noreply.github.com>
Co-Authored-By: Dubjunk <31448659+Dubjunk@users.noreply.github.com>
// find configclass | ||
switch true do | ||
{ | ||
case (isClass (configFile >> "CfgMagazines" >> _classname)): {"CfgMagazines"}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be a lot faster if the function would return config itself instead of an string.
Also the result could be cached in namespace for faster access in subsequent calls to this function.
see: KPLIB_fnc_common_getIcon
Description:
This PR adds the cratefiller to the logistic station and includes several code optimizations.
Also the resource module is now fully integrated into the recycle and resupply functions.
Content:
Successfully tested on:
Compatibility checked with: