SPE Compat - Add Spearhead 1944 fuel drums to refuel system (#9505)

* Create land.hpp

* Update CfgVehicles.hpp
This commit is contained in:
Bob-Murphy 2023-10-17 11:55:52 +02:00 committed by GitHub
parent 9873bf566c
commit 60f0249161
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 0 deletions

View File

@ -4,4 +4,5 @@ class CfgVehicles {
#include "CfgVehicles\spe_boxes.hpp"
#include "CfgVehicles\tracked.hpp"
#include "CfgVehicles\wheeled.hpp"
#include "CfgVehicles\land.hpp"
};

View File

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