22 RegisterNetSyncVariableBool(
"m_CookingIsDone" );
23 RegisterNetSyncVariableBool(
"m_CookingIsEmpty" );
24 RegisterNetSyncVariableBool(
"m_CookingIsBurned" );
50 if ( !super.CanPutInCargo( parent ) )
57 if (parent && !parent.GetInventory().AreChildrenAccessible())
65 if ( !super.CanReceiveItemIntoCargo( item ) )
72 if (!GetInventory().AreChildrenAccessible())
77 for (
int i = 0; i < GetInventory().GetSlotIdCount(); i++)
79 slotId = GetInventory().GetSlotId(i);
80 if (item.GetInventory().HasAttachmentSlot(slotId))
92 if ( !super.CanLoadItemIntoCargo( item ) )
100 for (
int i = 0; i < GetInventory().GetSlotIdCount(); i++)
102 slotId = GetInventory().GetSlotId(i);
103 if (item.GetInventory().HasAttachmentSlot(slotId))
125 super.EEDelete( parent );
141 super.OnVariablesSynchronized();
217 vector local_pos = MiscGameplayFunctions.GetSteamPosition( GetHierarchyParent() );
AttachActionData ActionData ActionAttach()
void AddAction(typename actionName)
Wrapper class for managing sound through SEffectManager.
override void RefreshAudioVisualsOnClient(CookingMethodType cooking_method, bool is_done, bool is_empty, bool is_burned)
string m_SoundPlaying
DEPRECATED.
const string SOUND_BURNING_DONE
DEPRECATED.
override bool CanReceiveItemIntoCargo(EntityAI item)
void SoundCookingStop()
DEPRECATED.
override void RemoveAudioVisualsOnClient()
override bool CanLoadItemIntoCargo(EntityAI item)
override bool CanPutInCargo(EntityAI parent)
int PARTICLE_DRYING_START
SoundOnVehicle m_SoundCooking
void RemoveAudioVisuals()
const string SOUND_BAKING_DONE
DEPRECATED.
override void EEDelete(EntityAI parent)
int PARTICLE_BAKING_START
void ParticleCookingStart(int particle_id)
Particle m_ParticleCooking
void RefreshAudioVisuals(CookingMethodType cooking_method, bool is_done, bool is_empty, bool is_burned)
int PARTICLE_BURNING_DONE
const string SOUND_DRYING_START
DEPRECATED.
CookingMethodType m_CookingMethod
const string SOUND_BAKING_START
DEPRECATED.
const string SOUND_DRYING_DONE
DEPRECATED.
override bool IsCookware()
void SoundCookingStart(string sound_name)
DEPRECATED.
EffectSound m_SoundEffectCooking
DEPRECATED.
override void OnVariablesSynchronized()
override bool IsContainer()
override bool CanHaveTemperature()
void ParticleCookingStop()
override void SetActions()
override float GetQuantityNormalizedScripted()
Legacy way of using particles in the game.
static const int COOKING_BAKING_DONE
static const int COOKING_DRYING_START
static const int COOKING_BURNING_DONE
static const int COOKING_DRYING_DONE
static const int COOKING_BAKING_START
bool IsCargoException4x3(EntityAI item)
void ParticleManager(ParticleManagerSettings settings)
Constructor (ctor).