mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
SPE Compat - Add Spearhead 1944 fuel drums to refuel system (#9505)
* Create land.hpp * Update CfgVehicles.hpp
This commit is contained in:
parent
9873bf566c
commit
60f0249161
@ -4,4 +4,5 @@ class CfgVehicles {
|
||||
#include "CfgVehicles\spe_boxes.hpp"
|
||||
#include "CfgVehicles\tracked.hpp"
|
||||
#include "CfgVehicles\wheeled.hpp"
|
||||
#include "CfgVehicles\land.hpp"
|
||||
};
|
||||
|
13
addons/compat_spe/CfgVehicles/land.hpp
Normal file
13
addons/compat_spe/CfgVehicles/land.hpp
Normal 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
|
||||
};
|
Loading…
Reference in New Issue
Block a user