Old Fen's bargain

Try itTie it together with scripts

This is the heart of the quest. Fen has the lantern, but he won't give it away. He wants a fish first.

A talk on a scroll

Fen's whole talk happens on a scroll, so it reads like a chat. His face is beside his lines, and the hero's face is beside the player's answers.

Fen's scroll: a big picture of Fen at the top, then The Sun Lantern? Yes, I keep it safe. The question Do you need it? is answered Yes, and Fen says Then do something for me first.

Try Fen's script

Press Play, then walk up to the villager and talk to them.

# Old Fen the hermit
if
else if the
if
else
end
else
if
else
end
end

How the trade works

the {Hero} has "Fish" is true when the hero carries a fish. Until then, Fen asks for one, and tells the hero where the fishers live.

Once the hero has the fish, Fen makes an offer:

@deal is offer "Lamp" to the {Hero} for "Fish"

A deal box opens with Deal and No thanks. If the player picks Deal, the fish goes into Fen's bag and the lamp goes into the hero's, both at once.

@deal becomes yes, and Fen sets @lantern_given is yes, so every script knows the hero has the lantern.

The deal box: Fen says Let's trade! You give a Fish, you get a Lamp, with Deal and No thanks buttons
Fen's scroll after the trade: Thank you! The Sun Lantern is yours. Take it to the Old Shrine, south of the pond.

Prefer blocks?

Press Blocks at the top right of the script window to see the same script snapped together.

Fen's script as blocks: a purple when the hero talks to me block, holding show a scroll with typing effect, show my picture, and an orange if block

Put it in your game

Open Whisperwood, press Select Select and click Fen. Press Character scripting at the bottom of his Object settings, and type his 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.