Wake the shrine

Try itTie it together with scripts

Bringing the lantern to the shrine is the action that breaks the spell. It happens in Whisperwood, so it goes in Whisperwood's level script. A level script runs while the hero is in that world.

The shrine's script

# Whisperwood: bring the Sun Lantern to the Old Shrine
if the
end

when the {Hero} is near the {Old shrine} runs when the hero walks up to the decoration we gave that ID.

If they carry the lamp, and the spell isn't broken yet, the script sets @spell_broken is yes, plays a fanfare and shows a banner.

The hero stands beside the candlelit shrine, and a banner says The Old Shrine wakes up! Far away, a gate creaks open.

Put it in your game

Press Map Settings Map settings, pick Whisperwood in the grid, and press Level script at the bottom. Type the script in.

This makes a new game in your Lab and opens the builder right here. It is free.

Press Play in the code box to finish this section.