3 private const int SPAWN_SHIRTS_MAX = 60;
6 protected AnniversaryBoxLight
m_Light;
16 m_Light.AttachOnMemoryPoint(
this,
"light");
23 super.EEDelete(parent);
53 if (GetAnimationPhase(
"lidclosing") == 1)
61 if (GetAnimationPhase(
"lidclosing") == 1)
71 for (
int j = 0;
j < GetInventory().GetCargo().GetItemCount();
j++)
72 GetInventory().GetCargo().GetItem(
j).Delete();
80 EntityAI ent = GetInventory().CreateInInventory(
"TShirt_10thAnniversary");
82 for (
int i = 0;
ent &&
i < SPAWN_SHIRTS_MAX - 1;
i++)
83 ent = GetInventory().CreateInInventory(
"TShirt_10thAnniversary");
ExplosiveLight m_Light
light
override bool CanSwapEntities(EntityAI otherItem, InventoryLocation otherDestination, InventoryLocation destination)
override bool IsTakeable()
override void EEDelete(EntityAI parent)
override bool CanPutInCargo(EntityAI parent)
override bool IsContainer()
AnniversaryBoxLight m_Light
override bool CanDisplayCargo()
override bool DisableVicinityIcon()
override void DeferredInit()
proto native CGame GetGame()