Files
DayZ-Epoch/SQF/dayz_code/Configs/CfgVehicles/WaterSources.hpp
A Man 550a6218f7 Re-arrange CfgVehicles config for buildings and buildables
- All buildables are grouped together now.
- Buildables can be used and found under "DayZ Epoch Buildables" in the editor now.
- Update scope of a few vehicles. Most base classes should be private or at least protected.
- Epoch Loot Container can be found under "DayZ Epoch Crates" in the editor now.
2020-05-18 13:46:59 +02:00

35 lines
650 B
C++

#define ACTION_DRINK class Drink\
{\
displayName = $STR_ACTIONS_DRINK2;\
displayNameDefault = $STR_ACTIONS_DRINK2;\
priority = 3;\
radius = 3;\
position = "";\
showWindow = 1;\
onlyForPlayer = 1;\
shortcut = "";\
condition = "(['Drink',this] call userActionConditions)";\
statement = "['hands'] spawn player_fillWater;";\
};
class Land_pumpa: House
{
class UserActions {ACTION_DRINK};
};
class Land_Misc_Well_C_EP1: House_EP1
{
class UserActions {ACTION_DRINK};
};
class Land_Misc_Well_L_EP1: House_EP1
{
class UserActions {ACTION_DRINK};
};
class Land_Barrel_water: Thing
{
class UserActions {ACTION_DRINK};
};
#undef ACTION_DRINK