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

Compats - Fix RHSUSF water Jerry Can having refuel actions #8717

Merged
merged 1 commit into from
Dec 17, 2021
Merged
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion optionals/compat_rhs_usf3/CfgEventHandlers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Extended_PreInit_EventHandlers {
};

class Extended_InitPost_EventHandlers {
class rhsusf_props_JerryCan_Base {
class rhsusf_props_ScepterMFC_Base {
class ADDON {
init = QUOTE(call EFUNC(refuel,makeJerryCan));
};
Expand Down
6 changes: 6 additions & 0 deletions optionals/compat_rhs_usf3/CfgVehicles.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -577,5 +577,11 @@ class CfgVehicles {
class rhsusf_props_JerryCan_Base: Items_base_F {
EGVAR(cargo,canLoad) = 1;
EGVAR(cargo,size) = 1;
EGVAR(dragging,canCarry) = 1;
};

class rhsusf_props_ScepterMWC_Base: rhsusf_props_JerryCan_Base {
EXGVAR(field_rations,waterSupply) = 20;
EXGVAR(field_rations,offset)[] = {-0.13, 0, 0.2};
};
};