DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено
Cauldron.c
См. документацию.
2{
3 override bool IsContainer()
4 {
5 return true;
6 }
7
8 override bool IsCookware()
9 {
10 return true;
11 }
12
13 override string GetPouringSoundset()
14 {
15 return "emptyVessle_Pot_SoundSet";
16 }
17
19 {
20 return "pour_HardGround_Pot_SoundSet";
21 }
22
24 {
25 return "pour_SoftGround_Pot_SoundSet";
26 }
27
29 {
30 return "pour_Water_Pot_SoundSet";
31 }
32
34 {
35 return "pour_End_HardGround_Pot_SoundSet";
36 }
37
39 {
40 return "pour_End_SoftGround_Pot_SoundSet";
41 }
42
44 {
45 return "pour_End_Water_Pot_SoundSet";
46 }
47
48 override bool CanPutInCargo( EntityAI parent )
49 {
50 if (!super.CanPutInCargo(parent))
51 return false;
52
53 if ( parent && IsCargoException4x3(parent))
54 return false;
55
56 //is 'parent' somewhere in cargo?
57 if (parent && !parent.GetInventory().AreChildrenAccessible())
58 return false;
59
60 return true;
61 }
62
64 {
65 if (!super.CanReceiveItemIntoCargo(item))
66 return false;
67
68 if (IsCargoException4x3(item))
69 return false;
70
71 //is 'this' somewhere in cargo?
72 if (!GetInventory().AreChildrenAccessible())
73 return false;
74
75 return true;
76 }
77
78 override bool CanLoadItemIntoCargo(EntityAI item)
79 {
80 if ( !super.CanLoadItemIntoCargo(item))
81 return false;
82
83 if ( IsCargoException4x3(item))
84 return false;
85
86 return true;
87 }
88
89 override bool IsOpen()
90 {
91 return true;
92 }
93
94 override bool CanHaveWetness()
95 {
96 return true;
97 }
98
100 {
101 return 1.0;
102 }
103
104 override void SetActions()
105 {
106 super.SetActions();
107
112 }
113}
void AddAction(typename actionName)
Определения AdvancedCommunication.c:220
void RemoveAction(typename actionName)
Определения AdvancedCommunication.c:252
bool IsCargoException4x3(EntityAI item)
Определения ItemBase.c:9419
Определения ActionDrink.c:10
Определения Canteen.c:2
override float GetQuantityNormalizedScripted()
Определения Cauldron.c:99
override bool CanLoadItemIntoCargo(EntityAI item)
Определения Cauldron.c:78
override string GetEmptyingLoopSoundsetSoft()
Определения Cauldron.c:23
override string GetPouringSoundset()
Определения Cauldron.c:13
override string GetEmptyingLoopSoundsetWater()
Определения Cauldron.c:28
override bool IsContainer()
Определения Cauldron.c:3
override bool IsOpen()
Определения Cauldron.c:89
override string GetEmptyingLoopSoundsetHard()
Определения Cauldron.c:18
override bool CanHaveWetness()
Определения Cauldron.c:94
override bool CanPutInCargo(EntityAI parent)
Определения Cauldron.c:48
override bool CanReceiveItemIntoCargo(EntityAI item)
Определения Cauldron.c:63
override void SetActions()
Определения Cauldron.c:104
override string GetEmptyingEndSoundsetWater()
Определения Cauldron.c:43
override string GetEmptyingEndSoundsetSoft()
Определения Cauldron.c:38
override bool IsCookware()
Определения Cauldron.c:8
override string GetEmptyingEndSoundsetHard()
Определения Cauldron.c:33
Определения Cauldron.c:2
Определения Building.c:6