Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

Field Rations - Fix no model for water pumps and add action offset #153

Merged
merged 1 commit into from
Nov 30, 2018
Merged
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
8 changes: 5 additions & 3 deletions addons/field_rations/CfgVehicles.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,14 @@ class CfgVehicles {
GVAR(waterSupply) = REFILL_WATER_INFINITE;
};

class Machine_base_F;
class WaterPump_01_forest_F: Machine_base_F {
class Land_WaterPump_01_F;
class WaterPump_01_forest_F: Land_WaterPump_01_F {
GVAR(waterSupply) = REFILL_WATER_INFINITE;
GVAR(offset)[] = {0, -1.8, 0.06};
};
class WaterPump_01_sand_F: Machine_base_F {
class WaterPump_01_sand_F: Land_WaterPump_01_F {
GVAR(waterSupply) = REFILL_WATER_INFINITE;
GVAR(offset)[] = {0, -1.8, 0.06};
};

class Truck_02_water_base_F;
Expand Down