1 Year Ago
Updated Flashlight and Laser Sight attachments to have correct rotation Remove AttachmentResource - attachments don't really need to be a game resource they each require very specific logic Add Flashlight derived from SpotLightEntity with pre-configured properties Add AttachmentItem with various virtual methods (OnAttached, OnDetatched, etc) Update InventoryContainer.FindItems to return an IEnumerable instead of a new list every time Call a method when a WeaponItem has its weapon entity changed or nulled Add working WeaponFlashlightItem attachment and make sure OnAttached/OnDetatched is called in AttachmentContainer