mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
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.
This commit is contained in:
35
SQF/dayz_code/Configs/CfgVehicles/WaterSources.hpp
Normal file
35
SQF/dayz_code/Configs/CfgVehicles/WaterSources.hpp
Normal file
@@ -0,0 +1,35 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user