added a inventory save event, and added a torch event