Sorry it took so much time. I lost motivation to work on it for a while. The scripts might be more complicated than needed. I'm sure it could've been done more simply, but this was my best try.
I changed the Tomb a bit for the quest to make more sense, and I sent the megre requests to Rats, who has the file right now. So here's my personal version for now.
Notes for Playtesting -