3 private const int SPAWN_SHIRTS_MAX = 60;
6 protected AnniversaryBoxLight
m_Light;
9 override void DeferredInit()
16 m_Light.AttachOnMemoryPoint(
this,
"light");
23 super.EEDelete(parent);
31 override bool IsContainer()
51 override bool DisableVicinityIcon()
53 if (GetAnimationPhase(
"lidclosing") == 1)
63 if (GetAnimationPhase(
"lidclosing") == 1)
75 for (
int j = 0; j < GetInventory().GetCargo().GetItemCount(); j++ )
77 GetInventory().GetCargo().GetItem(j).Delete();
86 EntityAI ent = GetInventory().CreateInInventory(
"TShirt_10thAnniversary");
88 for (
int i = 0; ent && i < SPAWN_SHIRTS_MAX - 1; i++)
90 ent = GetInventory().CreateInInventory(
"TShirt_10thAnniversary");