Simplification of castle_secret.lua