-- This script is run whenever the ship leaves an island. Be careful not to create things that would happen -every- time.
-- Check if player has Key and Lockbox
if InInventory("{3}") and InInventory("{4}") then
ShowPopup("You notice that your rusty old key bears the same symbol as the lockbox you were given by the Chieftain. It seems like a long shot, but you try it anyway. It works, and inside the box you see the glow of a fabulous red gem. It must be worth a lot!");