mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
The slow searches are needed on other maps until waterHoleProxy objects are added for them. They need to be added at every pond and non-"Land_pumpa" well. Right now Chernarus is the only map that has them placed. Fixes #1835 Fixes #1841
39 lines
788 B
C++
39 lines
788 B
C++
class Land_pumpa: House
|
|
{
|
|
class UserActions
|
|
{
|
|
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 = "'Land_pumpa' spawn player_drinkWater;";
|
|
};
|
|
};
|
|
};
|
|
|
|
class Land_Barrel_water: Thing
|
|
{
|
|
class UserActions
|
|
{
|
|
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 = "'Land_Barrel_water' spawn player_drinkWater;";
|
|
};
|
|
};
|
|
}; |