|
static float | GetFoodTotalVolume (ItemBase item, string classname="", int food_stage=0) |
|
static float | GetFoodEnergy (ItemBase item, string classname="", int food_stage=0) |
|
static float | GetFoodWater (ItemBase item, string classname="", int food_stage=0) |
|
static float | GetFoodNutritionalIndex (ItemBase item, string classname="", int food_stage=0) |
|
static float | GetFoodToxicity (ItemBase item, string classname="", int food_stage=0) |
|
static int | GetFoodAgents (ItemBase item, string classname="", int food_stage=0) |
|
static float | GetFoodDigestibility (ItemBase item, string classname="", int food_stage=0) |
|
static NutritionalProfile | GetNutritionalProfile (ItemBase item, string classname="", int food_stage=0) |
|
bool | m_MakeCookingSounds |
|
SoundOnVehicle | m_SoundCooking |
|
EffectSound | m_SoundEffectCooking |
| DEPRECATED.
|
|
string | m_SoundPlaying |
|
ref FoodStage | m_FoodStage |
|
float | m_DecayTimer |
|
float | m_DecayDelta = 0.0 |
|
FoodStageType | m_LastDecayStage = FoodStageType.NONE |
|
ParticleSource | m_HotVaporParticle |
|
◆ CanDetachAttachment()
44 {
45
48
49 if (parent.IsKindOf("Barrel_ColorBase"))
51
52 if (
isBarrel && parent.GetAnimationPhase(
"Lid") == 1)
54
56 return true;
57
58 return false;
59 }
◆ CanPutAsAttachment()
12 {
13 if (!
super.CanPutAsAttachment(parent))
14 return false;
15
16 const int SLOTS_ARRAY = 8;
20 string slotNames[SLOTS_ARRAY] = {
"BerryR",
"BerryB",
"Plant",
"Nails",
"OakBark",
"BirchBark",
"Lime",
"Guts"};
21
22 if (parent.IsKindOf("Barrel_ColorBase"))
24
25 if (
isBarrel && parent.GetAnimationPhase(
"Lid") == 1)
27
28 for (
int i = 0;
i < SLOTS_ARRAY ; ++
i)
29 {
31 {
33 break;
34 }
35 }
36
38 return true;
39
40 return false;
41 }
◆ GetDisinfectQuantity()
62 {
64 }
override int GetQuantityMax()
Definition ItemBase.c:8081
Перекрестные ссылки GetQuantityMax().
◆ InitItemVariables()
◆ SetActions()
67 {
69
74 }
void ActionDisinfectSelf()
Definition ActionDisinfectSelf.c:24
void AddAction(typename actionName)
Definition AdvancedCommunication.c:220
Definition ActionDisinfectPlant.c:10
Definition ActionDisinfectTarget.c:11
Definition ActionWashHandsItemContinuous.c:10
Перекрестные ссылки ActionDisinfectSelf() и AddAction().
Объявления и описания членов класса находятся в файле: