Skip to content
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

RHS USAF Compat - Add RHS Jerrycan as usable Jerrycan #8603

Merged
merged 5 commits into from
Oct 25, 2021
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions optionals/compat_rhs_usf3/CfgEventHandlers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,11 @@ class Extended_PreInit_EventHandlers {
init = QUOTE(call COMPILE_SCRIPT(XEH_preInit));
};
};

class Extended_InitPost_EventHandlers {
class rhsusf_props_JerryCan_Base {
class ADDON {
init = QUOTE(call EFUNC(refuel,makeJerryCan));
};
};
};
5 changes: 5 additions & 0 deletions optionals/compat_rhs_usf3/CfgVehicles.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -573,4 +573,9 @@ class CfgVehicles {
displayName = "M49A1 (10m)";
model = "\rhsusf\addons\rhsusf_weapons\mines\rhsusf_m49a1_c_e";
};

class rhsusf_props_JerryCan_Base: Items_base_F {
EGVAR(cargo,canLoad) = 1;
EGVAR(cargo,size) = 1;
};
jonpas marked this conversation as resolved.
Show resolved Hide resolved
};