-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31 from Bia10/master
add q21000s, q21001s, aranDirection
- Loading branch information
Showing
12 changed files
with
115 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
mapFields = require "lib/mapFields" | ||
|
||
if target.field == mapFields.getID("AranScene") then | ||
target.direction_mode = true | ||
target.reserved_effect(mapEffects.getReservedEffect("scene0")) | ||
elseif target.field == mapFields.getID("AranScene1") then | ||
target.reserved_effect(mapEffects.getReservedEffect("scene1").. target.gender) | ||
elseif target.field == mapFields.getID("AranScene2") then | ||
target.reserved_effect(mapEffects.getReservedEffect("scene2") .. target.gender) | ||
elseif target.field == mapFields.getID("AranScene3") then | ||
target.reserved_effect(mapEffects.getReservedEffect("scene3")) | ||
elseif target.field == mapFields.getID("AranHandedPoleArmScene") then | ||
target.direction_mode = true | ||
target.reserved_effect(mapEffects.getReservedEffect("handedPoleArm") .. target.gender) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
mapQuests = require "lib/mapQuests" | ||
mapFields = require "lib/mapFields" | ||
charInventory = require "lib/charInventory" | ||
|
||
quest = target.get_quest(mapQuests.getID("MissingChild2")) | ||
athena = self.as_speaker(npcSpeakers.getID("AthenaPierceAranTut")) | ||
|
||
if self.ask_yes_no("*Sniff sniff* I was so scared... Please take me to Athena Pierce.") then | ||
charInventory.giveLostChild() | ||
quest.accept() | ||
target.transfer_field(mapFields.getID("DeadEndForest"), 0) | ||
else | ||
self.say("*Sob* Aran has declined my request!") | ||
end | ||
|
||
if athena.ask_yes_no("You made it back safely! What about the child?! Did you bring the child with you?!") then | ||
athena.say("Oh, what a relief. I'm so glad...") | ||
target.say("Hurry and board the ship! We don't have much time!") | ||
athena.say("We don't have any time to waste. The Black Mage's forces are getting closer and closer! We're doomed if we don't leave right right this moment!") | ||
target.say("Leave, now!") | ||
athena.say("Aran, please! I know you want to stay and fight the Black Mage, but it's too late! Leave it to the others and come to Victoria Island with us!") | ||
target.say("No, I can't!") | ||
target.say("Athena Pierce, why don't you leave for Victoria Island first? I promise I'll come for you later. I'll be alright. I must fight the Black Mage with the other heroes!") | ||
|
||
charInventory.removeLostChild() | ||
-- qm.removeEquipFromSlot(-11); | ||
quest.complete() | ||
target.transfer_field(mapFields.getID("AranScene"), 0) | ||
else | ||
athena.say("What about the child? Please give me the child!") | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
mapQuests = require "lib/mapQuests" | ||
mapEffects = require "lib/mapEffects" | ||
|
||
quest = target.get_quest(mapQuests.getID("MissingChild")) | ||
|
||
if self.ask_yes_no("Oh, no! I think there's still a child in the forest! Aran, I'm very sorry, but could you rescue the child? I know you're injured, but I don't have anyone else to ask!") then | ||
quest.accept() | ||
|
||
self.say("#bThe child is probably lost deep inside the forest!#k We have to escape before the Black Mage finds us. You must rush into the forest and bring the child back with you!") | ||
self.say("Don't panic, Aran. If you wish to check the status of the \r\nquest, press #bQ#k and view the Quest window.") | ||
self.say("Please, Aran! I'm begging you. I can't bear to lose another person to the Black Mage!") | ||
|
||
target.avatar_oriented_effect(mapEffects.getAvatarOrientedEffect("tutorialArrow1")) | ||
else | ||
self.say("No, Aran... We can't leave a kid behind. I know it's a lot to ask, but please reconsider. Please!") | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,24 @@ | ||
mapQuests = require "lib/mapQuests" | ||
mapEffects = require "lib/mapEffects" | ||
npcSpeakers = require "lib/npcSpeakers" | ||
|
||
athena = self.as_speaker(npcSpeakers.getID("AthenaPierceAranTut")) | ||
quest = target.get_quest(mapQuests.getID("AranTut")) | ||
|
||
self.say("Aran, you're awake! How are you feeling? Hm? You want to know what's been going on?") | ||
self.say("We're almost done preparing for the escape. You don't have to worry. Everyone I could possibly find has boarded the ark, and Shinsoo has agreed to guide the way. We'll head to Victoria Island as soon as we finish the remaining preparations.") | ||
self.say("The other heroes? They've left to fight the Black Mage. They're buying us time to escape. What? You want to fight with them? No! You can't! You're hurt. You must leave with us!") | ||
self.say ({ | ||
athena.get_speech("Aran, you're awake! How are you feeling? Hm? You want to know what's been going on?"), | ||
athena.get_speech("We're almost done preparing for the escape. You don't have to worry. Everyone I could possibly find has boarded the ark, and Shinsoo has agreed to guide the way. We'll head to Victoria Island as soon as we finish the remaining preparations."), | ||
athena.get_speech("The other heroes? They've left to fight the Black Mage. They're buying us time to escape. What? You want to fight with them? No! You can't! You're hurt. You must leave with us!") | ||
}) | ||
|
||
quest.accept() | ||
quest.update("1") | ||
target.reserved_effect(mapEffects.getReservedEffect("trio")) | ||
|
||
if quest.state == mapQuests.getState("Perform") then | ||
self.say("We're in a dire situation. What would you like to know? \r\n#b#L0#About the Black Mage#l \r\n#b#L1#About the preparations for the escape#l \r\n#b#L2#About the other heroes#l") | ||
self.say("I hear the Black Mage is very close. We can't even go into the forest because the dragons serving the Black Mage are there. That's why we're taking this route. We don't have any choice but to fly to Victoria Island, Aran...") | ||
self.say("We're almost ready to go. We can head over to Victoria Island as soon as the remaining few people board the ark. Shinsoo says there isn't anyone left in Ereve he needs to protect, so he's agreed to guide us.") | ||
self.say("The other heroes... They've already left to fight the Black Mage. They're slowing the Black Mage down so the rest of us can escape. They didn't want to take you with them because you were injured. Escape with us, Aran, as soon as we rescue the child!") | ||
end | ||
--if quest.state == mapQuests.getState("Perform") then | ||
--self.say ({ | ||
--athena.get_speech("We're in a dire situation. What would you like to know? \r\n#b#L0#About the Black Mage#l \r\n#b#L1#About the preparations for the escape#l \r\n#b#L2#About the other heroes#l"), | ||
--athena.get_speech("I hear the Black Mage is very close. We can't even go into the forest because the dragons serving the Black Mage are there. That's why we're taking this route. We don't have any choice but to fly to Victoria Island, Aran..."), | ||
--athena.get_speech("We're almost ready to go. We can head over to Victoria Island as soon as the remaining few people board the ark. Shinsoo says there isn't anyone left in Ereve he needs to protect, so he's agreed to guide us."), | ||
--athena.get_speech("The other heroes... They've already left to fight the Black Mage. They're slowing the Black Mage down so the rest of us can escape. They didn't want to take you with them because you were injured. Escape with us, Aran, as soon as we rescue the child!") | ||
--}) | ||
--end |