◆ ActionFillCoolant()
◆ ActionCondition()
39 {
41 return false;
42
43 if (
item.GetQuantity() <= 0)
44 return false;
45
47 return false;
48
49 if (
item.GetIsFrozen())
50 {
51 return false;
52 }
53
56 return false;
57
58 if (
car.GetFluidFraction(
CarFluid.COOLANT ) >= 0.95)
59 return false;
60
63
65
67 {
70
72 {
75 {
77 {
79 {
81
82 if (
dist <
carS.GetActionDistanceCoolant())
83 return true;
84 }
85 }
86 }
87 }
88 }
89
90 return false;
91 }
CarFluid
Type of vehicle's fluid. (native, do not change or extend)
Definition Car.c:19
Definition CivilianSedan.c:2
provides access to slot configuration
Definition InventorySlots.c:6
static proto native int GetSlotIdFromString(string slot_name)
converts string to slot_id
Definition EnConvert.c:106
static proto native float Distance(vector v1, vector v2)
Returns the distance between tips of two 3D vectors.
const int LIQUID_WATER
Definition constants.c:518
Перекрестные ссылки vector::Distance(), InventorySlots::GetSlotIdFromString() и LIQUID_WATER.
◆ CreateConditionComponents()
◆ IsUsingProxies()
34 {
35 return true;
36 }
◆ RADIATOR_SELECTION_NAME
Объявления и описания членов класса находятся в файле:
- D:/Ishodniki/scripts/4_World/Classes/UserActionsComponent/Actions/Continuous/Vehicles/ActionFillCoolant.c