11 RegisterNetSyncVariableBool(
"m_Openable.m_IsOpened");
16 if (!super.CanReceiveItemIntoCargo(item))
21 if (!
GetGame().IsDedicatedServer())
43 return m_Openable.IsOpened();
56 if (
Class.CastTo(entity,
this))
58 entity.GetInventory().CreateInInventory(
"Chemlight_Green");
64 super.EEHealthLevelChanged(oldLevel,newLevel,zone);
68 MiscGameplayFunctions.DropAllItemsInInventoryInBounds(
this,
m_HalfExtents);
74class GiftBox_Small
extends GiftBox_Base {}
75class GiftBox_Medium
extends GiftBox_Base {}
76class GiftBox_Large
extends GiftBox_Base {}
void AddAction(typename actionName)
Super root of all classes in Enforce script.
override bool CanReceiveItemIntoCargo(EntityAI item)
override void OnDebugSpawn()
ref OpenableBehaviour m_Openable
override void SetActions()
override void EEHealthLevelChanged(int oldLevel, int newLevel, string zone)
script counterpart to engine's class Inventory
static int GetInventoryCheckContext()
Container_Base m_HalfExtents
proto native CGame GetGame()