Method on_open for chests
Created by: wrightmat
It would be cool if chests had a "chest:on_open" method like doors do. In fact, the existing "chest:on_empty" could be replaced by "chest:on_open(treasure)" (where treasure == nil) for more flexibility.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information