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

* Add RHS Jerrycan as usable Jarrycan

* Make RHS Jerrycan cargo loadable

* Support both jerrycan camo's

* Add missing canLoad property

* Update optionals/compat_rhs_usf3/CfgVehicles.hpp

Co-authored-by: jonpas <jonpas33@gmail.com>
This commit is contained in:
Dedmen Miller 2021-10-26 01:18:40 +02:00 committed by GitHub
parent 086ba5da87
commit b36dac75bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 0 deletions

View File

@ -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));
};
};
};

View File

@ -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;
};
};