basic work on TSInventoryLogic

comments + safety check (on slot to avoid ArrayIndexOutOfBounds / on
inventory to avoid NullPointer)