|
|
|
function script_witch(s)
|
|
|
|
if s.main == 1 or s.main == 2 then
|
|
|
|
change_screen(screen_conversation({{door_portrait, "[there is no answer to your knocking.]"}}))
|
|
|
|
elseif s.main == 3 then
|
|
|
|
change_screen(screen_conversation({
|
|
|
|
{ph_p, "excuse me! i would like to know how to make explosives!"},
|
|
|
|
{witch_portrait, [[this town is dead. i can make no explosions. the alchemy of pilton has died.]]},
|
|
|
|
{witch_portrait, [[try as you might, phoebe, you aren't your grandfather.]]},
|
|
|
|
{witch_portrait, [[this town is a husk of what it once was. ]]},
|
|
|
|
{witch_portrait, [[i am done teaching.]]},
|
|
|
|
{witch_portrait, [[if you want alchemy, go read at the library in the middle of town.]]},
|
|
|
|
{witch_portrait, [[i have no time for this.]], function()
|
|
|
|
sfx(4)
|
|
|
|
end},
|
|
|
|
{door_portrait, "i have no time for this."},
|
|
|
|
{ph_p, "... huh!"},
|
|
|
|
}))
|
|
|
|
s.main = 4
|
|
|
|
elseif s.main == 4 then
|
|
|
|
change_screen(screen_conversation({{door_portrait, "[there is no answer to your knocking.]"}}))
|
|
|
|
elseif s.main == 5 then
|
|
|
|
change_screen(screen_conversation({
|
|
|
|
{ph_p, "hey! witch!"},
|
|
|
|
{door_portrait, "my name is agnes."},
|
|
|
|
{ph_p, "i figured out how to make gunpowder. suck on that."},
|
|
|
|
{witch_portrait, "big whoop. you still know nothing."},
|
|
|
|
{witch_portrait, "no one in this town knows the art of alchemy."},
|
|
|
|
{ph_p, "there's you! you know it!"},
|
|
|
|
{witch_portrait, "pah. no one of your generation knows the ways."},
|
|
|
|
{ph_p, "well maybe if someone would teach us-"},
|
|
|
|
{witch_portrait, "maybe if you showed any promise i could teach you."},
|
|
|
|
{ph_p, "grrrr, you old hag!"},
|
|
|
|
{witch_portrait, "hm."},
|
|
|
|
{witch_portrait, "..."},
|
|
|
|
{witch_portrait, "bring me a starshine gem. it must carry the red and shiny traits."},
|
|
|
|
{witch_portrait, "if you can do this, i might consider you to have potential."},
|
|
|
|
}))
|
|
|
|
s.main = 6
|
|
|
|
add(letters, {
|
|
|
|
[[hey phoebe!
|
|
|
|
|
|
|
|
thanks for that bomb!
|
|
|
|
it worked a treat. my
|
|
|
|
field is clean and clear.
|
|
|
|
give a shout if there's
|
|
|
|
anything you need any
|
|
|
|
time!
|
|
|
|
|
|
|
|
- brigitte
|
|
|
|
]]
|
|
|
|
})
|
|
|
|
elseif s.main == 6 then
|
|
|
|
local crystal = player_has("starshine", 1, {"red", "shiny"})
|
|
|
|
if crystal == nil then
|
|
|
|
change_screen(screen_conversation({
|
|
|
|
{door_portrait, "starshine gem. red and shiny."}
|
|
|
|
}))
|
|
|
|
else
|
|
|
|
change_screen(screen_conversation({
|
|
|
|
{witch_portrait, "hm. this is... passable. i will help you. keep the gem."},
|
|
|
|
{witch_portrait, "my bones are too tired to keep up this fight."},
|
|
|
|
{witch_portrait, "i will teach you to make fireworks."},
|
|
|
|
{ph_p, "fireworks! the festival?!"},
|
|
|
|
{witch_portrait, "a festival is more than just a box of fireworks."},
|
|
|
|
{witch_portrait, "hm. this is a bad idea.", function()
|
|
|
|
sfx(4)
|
|
|
|
add(grimoire, library.recipes.fireworks)
|
|
|
|
toast("received recipe!")
|
|
|
|
end},
|
|
|
|
{door_portrait, "hm. this is a bad idea."},
|
|
|
|
{ph_p, "wow, she's so awful!"},
|
|
|
|
{door_portrait, "i can hear you out there."},
|
|
|
|
{ph_p, "keep it down, i'm thinking."},
|
|
|
|
{ph_p, "a fireworks festival! that would be so incredible!"},
|
|
|
|
{ph_p, "but she's right. i'll have to call in favors."},
|
|
|
|
{ph_p, "hans the charcoal seller used to run the show itself."},
|
|
|
|
{ph_p, "i have to talk to lenore about safety."},
|
|
|
|
{ph_p, "and i should ask brigitte if we can use her farm!"},
|
|
|
|
}))
|
|
|
|
s.main = 7
|
|
|
|
end
|
|
|
|
elseif s.main == 8 or s.main == 9 then
|
|
|
|
change_screen(screen_conversation({{witch_portrait, "thank you."}}))
|
|
|
|
end
|
|
|
|
end
|