33 RegisterNetSyncVariableBool(
"m_CookingIsDone");
34 RegisterNetSyncVariableBool(
"m_CookingIsEmpty");
35 RegisterNetSyncVariableBool(
"m_CookingIsBurned");
51 if (!
super.CanPutInCargo(parent))
58 if (parent && parent.GetInventory().IsCargoInHiearchy())
73 if (GetInventory().IsCargoInHiearchy())
78 for (
int i = 0;
i < GetInventory().GetSlotIdCount();
i++)
80 slotId = GetInventory().GetSlotId(
i);
81 if (
item.GetInventory().HasAttachmentSlot(
slotId))
101 for (
int i = 0;
i < GetInventory().GetSlotIdCount();
i++)
103 slotId = GetInventory().GetSlotId(
i);
104 if (
item.GetInventory().HasAttachmentSlot(
slotId))
126 super.EEDelete(parent);
140 super.OnVariablesSynchronized();
void AddAction(typename actionName)
int PARTICLE_DRYING_START
int PARTICLE_BAKING_START
int PARTICLE_BURNING_DONE
const string SOUND_DRYING_START
CookingMethodType m_CookingMethod
const string SOUND_DRYING_DONE
enum SoundTypeBottle m_ParticleCooking
const string SOUND_BURNING_DONE
const string SOUND_BAKING_DONE
const string SOUND_BAKING_START
bool IsCargoException4x3(EntityAI item)
void ParticleManager(ParticleManagerSettings settings)
Constructor (ctor)
Wrapper class for managing sound through SEffectManager.
SoundOnVehicle m_SoundCooking
void RemoveAudioVisualsOnClient()
void SoundCookingStart(string sound_name)
DEPRECATED.
override bool CanPutInCargo(EntityAI parent)
int PARTICLE_BURNING_DONE
int PARTICLE_DRYING_START
void RemoveAudioVisuals()
override bool IsContainer()
EffectSound m_SoundEffectCooking
DEPRECATED.
override bool CanReceiveItemIntoCargo(EntityAI item)
override void OnVariablesSynchronized()
void ParticleCookingStart(int particle_id)
override void EEDelete(EntityAI parent)
void RefreshAudioVisualsOnClient(CookingMethodType cooking_method, bool is_done, bool is_empty, bool is_burned)
CookingMethodType m_CookingMethod
override bool CanLoadItemIntoCargo(EntityAI item)
Particle m_ParticleCooking
void RefreshAudioVisuals(CookingMethodType cooking_method, bool is_done, bool is_empty, bool is_burned)
void ParticleCookingStop()
override void SetActions()
int PARTICLE_BAKING_START
override bool CanHaveTemperature()
void FryingPan()
DEPRECATED.
Legacy way of using particles in the game.
static const int COOKING_DRYING_DONE
static const int COOKING_DRYING_START
static const int COOKING_BAKING_START
static const int COOKING_BURNING_DONE
static const int COOKING_BAKING_DONE
proto native CGame GetGame()