Skip to content

Commit

Permalink
SPE Compat - Add Spearhead 1944 fuel drums to refuel system (#9505)
Browse files Browse the repository at this point in the history
* Create land.hpp

* Update CfgVehicles.hpp
  • Loading branch information
Bob-Murphy committed Oct 17, 2023
1 parent 9873bf5 commit 60f0249
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions addons/compat_spe/CfgVehicles.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ class CfgVehicles {
#include "CfgVehicles\spe_boxes.hpp"
#include "CfgVehicles\tracked.hpp"
#include "CfgVehicles\wheeled.hpp"
#include "CfgVehicles\land.hpp"
};
13 changes: 13 additions & 0 deletions addons/compat_spe/CfgVehicles/land.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// fuel objects

class SPE_items_base;
class Land_SPE_Fuel_Barrel_German: SPE_items_base {
transportFuel = 0;
EGVAR(refuel,hooks)[] = {{0, 0, 0.5}}; // reference is Land_FlexibleTank_01_F
EGVAR(refuel,fuelCargo) = 300; // reference is Land_FlexibleTank_01_F
};
class Land_SPE_Fuel_Barrel_US: SPE_items_base {
transportFuel = 0;
EGVAR(refuel,hooks)[] = {{0, 0, 0.5}}; // reference is Land_FlexibleTank_01_F
EGVAR(refuel,fuelCargo) = 300; // reference is Land_FlexibleTank_01_F
};

0 comments on commit 60f0249

Please sign in to comment.