Skip to content

Commit

Permalink
Alwin corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
brightrim committed Nov 6, 2023
1 parent b443017 commit 0079c21
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 38 deletions.
52 changes: 26 additions & 26 deletions npc/alwin_sommerkorn.npc
Original file line number Diff line number Diff line change
Expand Up @@ -101,44 +101,44 @@ english, "Adron" -> "What is better than drinking beer and smoking a pipe in the
"Adron" -> "Es gibt kaum etwas sch�neres als Abends bei einem Bier und einem Pfeifchen den Tag ausklingen zu lassen."

-- 1st quest
queststatus(718) = 0, english, town = Runewick, "quest", "mission" -> inform("[New quest] Relaxed fishing in Runewick I"), item(72, 1, 444, "descriptionEn" = "Alwin's old fishing rod.", "descriptionDe" = "Alwins alte Angel."), queststatus(718) = 1, "You want to learn how to fish, do you? Try to fish for ten trout. I give you my old fishing rod for that."
queststatus(718) = 0, town = Runewick, "quest", "mission" -> inform("[Neues Quest] Entspanntes Fischen in Runewick I"), item(72, 1, 444, "descriptionEn" = "Alwin's old fishing rod.", "descriptionDe" = "Alwins alte Angel."), queststatus(718) = 1, "Du willst das Angeln lernen, nich wahr? Probier mal zehn Forellen zu fangen. Hier nimm meine alte Angel daf�r."
queststatus(718) = 0, town = Runewick, "task", "adventure", "order" -> inform("[New quest] Relaxed fishing in Runewick I"), item(72, 1, 444, "descriptionEn" = "Alwin's old fishing rod.", "descriptionDe" = "Alwins alte Angel."), queststatus(718) = 1, "You want to learn how to fish, do you? Try to fish for ten trout. I give you my old fishing rod for that."
queststatus(718) = 0, town = Runewick, "Auftrag", "Aufgabe", "Abenteuer", "Befehl" -> inform("[Neues Quest] Entspanntes Fischen in Runewick I"), item(72, 1, 444, "descriptionEn" = "Alwin's old fishing rod.", "descriptionDe" = "Alwins alte Angel."), queststatus(718) = 1, "Du willst das Angeln lernen, nich wahr? Probier mal zehn Forellen zu fangen. Hier nimm meine alte Angel daf�r."
queststatus(718) = 0, english, town = Runewick, "quest", "mission" -> inform("[New quest] Relaxed fishing in Runewick I"), item(72, 1, 444, "descriptionEn" = "Alwin's old fishing rod.", "descriptionDe" = "Alwins alte Angel."), queststatus(718) = 1, "You want to learn how to fish, do you? Here, I'll give you my old fishing rod. Take it and try to catch me 10 trout from that shoal over there."
queststatus(718) = 0, town = Runewick, "quest", "mission" -> inform("[Neues Quest] Entspanntes Fischen in Runewick I"), item(72, 1, 444, "descriptionEn" = "Alwin's old fishing rod.", "descriptionDe" = "Alwins alte Angel."), queststatus(718) = 1, "Du willst das Angeln lernen, nich wahr? Probier mal zehn Forellen zu fangen. Hier nimm meine alte Angel daf�r. GERMAN TRANSLATION"
queststatus(718) = 0, town = Runewick, "task", "adventure", "order" -> inform("[New quest] Relaxed fishing in Runewick I"), item(72, 1, 444, "descriptionEn" = "Alwin's old fishing rod.", "descriptionDe" = "Alwins alte Angel."), queststatus(718) = 1, "You want to learn how to fish, do you? Here, I'll give you my old fishing rod. Take it and try to catch me 10 trout from that shoal over there."
queststatus(718) = 0, town = Runewick, "Auftrag", "Aufgabe", "Abenteuer", "Befehl" -> inform("[Neues Quest] Entspanntes Fischen in Runewick I"), item(72, 1, 444, "descriptionEn" = "Alwin's old fishing rod.", "descriptionDe" = "Alwins alte Angel."), queststatus(718) = 1, "Du willst das Angeln lernen, nich wahr? Probier mal zehn Forellen zu fangen. Hier nimm meine alte Angel daf�r.GERMAN TRANSLATION"

-- 1st quest: Not enough items
queststatus(718) = 1, item(73, all) < 10, english, town = Runewick, "quest", "mission" -> "Try the places where you can see the fish. There you don't need a long time to fish for ten trout."
queststatus(718) = 1, item(73, all) < 10, english, town = Runewick, "quest", "mission" -> "Try the places where you can see the fish. There you won't need a long time to fish for ten trout."
queststatus(718) = 1, item(73, all) < 10, town = Runewick, "quest", "mission" -> "Probier die Stellen wo die Fische aus dem Wasser springen, da sind zehn Forellen schnell gefangen."
queststatus(718) = 1, item(73, all) < 10, town = Runewick, "task", "adventure", "order" -> "Try the places where you can see the fish. There you don't need a long time to fish for ten trout."
queststatus(718) = 1, item(73, all) < 10, town = Runewick, "task", "adventure", "order" -> "Try the places where you can see the fish. There you won't need a long time to fish for ten trout."
queststatus(718) = 1, item(73, all) < 10, town = Runewick,"Auftrag", "Aufgabe", "Abenteuer", "Befehl" -> "Probier die Stellen wo die Fische aus dem Wasser springen, da sind zehn Forellen schnell gefangen."

-- 1st quest solved
skill(fishing) < 90, queststatus(718) = 1, item(73, all) > 9, english, town = Runewick, ".+" -> inform("[Quest solved] You are awarded five silver coins and your fishing skill increases."), skill(fishing) + 1, money + 500, deleteItem(73, 10), queststatus(718) = 2, "Yep, those are trout. Not bad for starters. Take these coins for them. Do you want another task?"
queststatus(718) = 1, item(73, all) > 9, english, town = Runewick, ".+" -> inform("[Quest solved] You are awarded five silver coins."), money + 500, deleteItem(73, 10), queststatus(718) = 2, "Yep, those are trout. Not bad for starters. Take these coins for them. Do you want another task?"
skill(fishing) < 90, queststatus(718) = 1, item(73, all) > 9, town = Runewick, ".+" -> inform("[Quest gel�st] Du erh�ltst f�nf Silberst�cke und deine Fischereifertigkeit steigt."), skill(fishing) + 1, money + 500, deleteItem(73, 10), queststatus(718) = 2, "Yep, das sind Forellen. F�r den Anfang nicht schlecht, nimm die M�nzen daf�r. Willst du noch eine Aufgabe?"
queststatus(718) = 1, item(73, all) > 9, town = Runewick, ".+" -> inform("[Quest gel�st] Du erh�ltst f�nf Silberst�cke."), money + 500, deleteItem(73, 10), queststatus(718) = 2, "Yep, das sind Forellen. F�r den Anfang nicht schlecht, nimm die M�nzen daf�r. Willst du noch eine Aufgabe?"
skill(fishing) < 90, queststatus(718) = 1, item(73, all) > 9, english, town = Runewick, ".+" -> inform("[Quest solved] You are awarded two silver coins and fifty copper coins and your fishing skill increases."), skill(fishing) + 1, money + 250, deleteItem(73, 10), queststatus(718) = 2, "Yep, those are trout. Not bad for a rookie. Take these coins for them. Do you want another task?"
queststatus(718) = 1, item(73, all) > 9, english, town = Runewick, ".+" -> inform("[Quest solved] You are awarded two silver coins and fifty copper coins."), money + 250, deleteItem(73, 10), queststatus(718) = 2, "Yep, those are trout. Not bad for a rookie. Take these coins for them. Do you want another task?"
skill(fishing) < 90, queststatus(718) = 1, item(73, all) > 9, town = Runewick, ".+" -> inform("[Quest gel�st] Du erh�ltst GERMAN TRANSLATION Silberst�cke GERMAN TRANSLATION und deine Fischereifertigkeit steigt."), skill(fishing) + 1, money + 250, deleteItem(73, 10), queststatus(718) = 2, "Yep, das sind Forellen. F�r den Anfang nicht schlecht, nimm die M�nzen daf�r. Willst du noch eine Aufgabe?"
queststatus(718) = 1, item(73, all) > 9, town = Runewick, ".+" -> inform("[Quest gel�st] Du erh�ltst GERMAN TRANSLATION Silberst�cke GERMAN TRANSLATION."), money + 250, deleteItem(73, 10), queststatus(718) = 2, "Yep, das sind Forellen. F�r den Anfang nicht schlecht, nimm die M�nzen daf�r. Willst du noch eine Aufgabe?"

-- 2nd quest
queststatus(718) = 2, english, town = Runewick, "quest", "mission" -> inform("[New quest] Relaxed fishing in Runewick II"), queststatus(718) = 3, "Other than the trout, you can also fish for salmon, horse mackerel and rose fish. Bring me ten salmon and five horse mackerels."
queststatus(718) = 2, town = Runewick, "quest", "mission" -> inform("[Neues Quest] Entspanntes Fischen in Runewick II"), queststatus(718) = 3, "Neben Forellen gibt es auch noch Lachse, Stachelmakrelen und Rotbarsche. Fang mir doch zehn Lachse und f�nf Stachelmakrelen."
queststatus(718) = 2, town = Runewick, "task", "adventure", "order" -> inform("[New quest] Relaxed fishing in Runewick II"), queststatus(718) = 3, "Other than the trout, you can also fish for salmon, horse mackerel and rose fish. Bring me ten salmon and five horse mackerels."
queststatus(718) = 2, town = Runewick, "Auftrag", "Aufgabe", "Abenteuer", "Befehl" -> inform("[Neues Quest] Entspanntes Fischen in Runewick II"), queststatus(718) = 3, "Neben Forellen gibt es auch noch Lachse, Stachelmakrelen und Rotbarsche. Fang mir doch zehn Lachse und f�nf Stachelmakrelen."
queststatus(718) = 2, english, town = Runewick, "quest", "mission" -> inform("[New quest] Relaxed fishing in Runewick II"), queststatus(718) = 3, "Other than the trout, there are lots of other fish, one of them being the salmon you can find south of here. Go through the forest to the south and over the two bridges to the smaller island to find them, then bring me back ten salmon."
queststatus(718) = 2, town = Runewick, "quest", "mission" -> inform("[Neues Quest] Entspanntes Fischen in Runewick II"), queststatus(718) = 3, "GERMAN TRANSLATION"
queststatus(718) = 2, town = Runewick, "task", "adventure", "order" -> inform("[New quest] Relaxed fishing in Runewick II"), queststatus(718) = 3, "Other than the trout, there are lots of other fish, one of them being the salmon you can find south of here. Go through the forest to the south and over the two bridges to the smaller island to find them, then bring me back ten salmon."
queststatus(718) = 2, town = Runewick, "Auftrag", "Aufgabe", "Abenteuer", "Befehl" -> inform("[Neues Quest] Entspanntes Fischen in Runewick II"), queststatus(718) = 3, "GERMAN TRANSLATION"

-- 2nd quest solved
skill(fishing) < 90, queststatus(718) = 3, item(355, all) > 9, item(1209, all) > 4, english, town = Runewick, ".+" -> inform("[Quest solved] You are awarded ten silver coins and your fishing skill increases."), skill(fishing) + 1, money + 1000, deleteItem(355, 10), deleteItem(1209, 5), queststatus(718) = 4, "Now you can tell the different kinds of fish apart. I have some coins for you."
queststatus(718) = 3, item(355, all) > 9, item(1209, all) > 4, english, town = Runewick, ".+" -> inform("[Quest solved] You are awarded ten silver coins."), money + 1000, deleteItem(355, 10), deleteItem(1209, 5), queststatus(718) = 4, "Now you can tell the different kinds of fish apart. I have some coins for you."
skill(fishing) < 90, queststatus(718) = 3, item(355, all) > 9, item(1209, all) > 4, town = Runewick, ".+" -> inform("[Quest gel�st] Du erh�ltst zehn Silberst�cke und deine Fischereifertigkeit steigt."), skill(fishing) + 1, money + 1000, deleteItem(355, 10), deleteItem(1209, 5), queststatus(718) = 4, "Jetzt kannst du auch die einzelnen Fischarten auseinanderhalten. Ich geb dir ein paar M�nzen daf�r."
queststatus(718) = 3, item(355, all) > 9, item(1209, all) > 4, town = Runewick, ".+" -> inform("[Quest gel�st] Du erh�ltst zehn Silberst�cke."), money + 1000, deleteItem(355, 10), deleteItem(1209, 5), queststatus(718) = 4, "Jetzt kannst du auch die einzelnen Fischarten auseinanderhalten. Ich geb dir ein paar M�nzen daf�r."
skill(fishing) < 90, queststatus(718) = 3, item(355, all) > 9, item(1209, all) > 4, english, town = Runewick, ".+" -> inform("[Quest solved] You are awarded five silver coins and your fishing skill increases."), skill(fishing) + 1, money + 500, deleteItem(355, 10), deleteItem(1209, 5), queststatus(718) = 4, "You can probably tell already that different fish thrive in different environments, who knows what kind of fish you can find when you go out exploring in the future? Anyways, I have some coins for you."
queststatus(718) = 3, item(355, all) > 9, item(1209, all) > 4, english, town = Runewick, ".+" -> inform("[Quest solved] You are awarded five silver coins."), money + 500, deleteItem(355, 10), deleteItem(1209, 5), queststatus(718) = 4, "You can probably tell already that different fish thrive in different environments, who knows what kind of fish you can find when you go out exploring in the future? Anyways, I have some coins for you."
skill(fishing) < 90, queststatus(718) = 3, item(355, all) > 9, item(1209, all) > 4, town = Runewick, ".+" -> inform("[Quest gel�st] Du erh�ltst f�nf Silberst�cke und deine Fischereifertigkeit steigt."), skill(fishing) + 1, money + 500, deleteItem(355, 10), deleteItem(1209, 5), queststatus(718) = 4, "GERMAN TRANSLATION"
queststatus(718) = 3, item(355, all) > 9, item(1209, all) > 4, town = Runewick, ".+" -> inform("[Quest gel�st] Du erh�ltst f�nf Silberst�cke."), money + 500, deleteItem(355, 10), deleteItem(1209, 5), queststatus(718) = 4, "GERMAN TRANSLATION"

-- 2nd quest: Not enough items
queststatus(718) = 3, item(355, all) < 10, english, town = Runewick, "quest", "mission" -> "#me pushes his straw hat out of his face, 'I'm awaiting ten salmon and five horse mackerels'."
queststatus(718) = 3, item(355, all) < 10, town = Runewick, "quest", "mission" -> "#me schiebt den Hut aus dem Gesicht 'Ich warte auf die zehn Lachse und die f�nf Stachelmakrelen'."
queststatus(718) = 3, item(355, all) < 10, town = Runewick, "task", "adventure", "order" -> "#me pushes his straw hat out of his face, 'I'm awaiting ten salmon and five horse mackerels'."
queststatus(718) = 3, item(355, all) < 10, town = Runewick, "Auftrag", "Aufgabe", "Abenteuer", "Befehl" -> "#me schiebt den Hut aus dem Gesicht 'Ich warte auf die zehn Lachse und die f�nf Stachelmakrelen'."
queststatus(718) = 3, item(1209, all) <5, english, town = Runewick, "quest", "mission" -> "#me pushes his straw hat out of his face, 'I'm awaiting ten salmon and five horse mackerels'."
queststatus(718) = 3, item(1209, all) <5, town = Runewick, "quest", "mission" -> "#me schiebt den Hut aus dem Gesicht 'Ich warte auf die zehn Lachse und die f�nf Stachelmakrelen'."
queststatus(718) = 3, item(1209, all) <5, town = Runewick, "task", "adventure", "order" -> "#me pushes his straw hat out of his face, 'I'm awaiting ten salmon and five horse mackerels'."
queststatus(718) = 3, item(1209, all) <5, town = Runewick, "Auftrag", "Aufgabe", "Abenteuer", "Befehl" -> "#me schiebt den Hut aus dem Gesicht 'Ich warte auf die zehn Lachse und die f�nf Stachelmakrelen'."
queststatus(718) = 3, item(355, all) < 10, english, town = Runewick, "quest", "mission" -> "#me pushes his straw hat out of his face, 'I'm awaiting ten salmon'."
queststatus(718) = 3, item(355, all) < 10, town = Runewick, "quest", "mission" -> "#me schiebt den Hut aus dem Gesicht 'Ich warte auf die zehn Lachse'."
queststatus(718) = 3, item(355, all) < 10, town = Runewick, "task", "adventure", "order" -> "#me pushes his straw hat out of his face, 'I'm awaiting ten salmon'."
queststatus(718) = 3, item(355, all) < 10, town = Runewick, "Auftrag", "Aufgabe", "Abenteuer", "Befehl" -> "#me schiebt den Hut aus dem Gesicht 'Ich warte auf die zehn Lachse'."
queststatus(718) = 3, item(1209, all) <5, english, town = Runewick, "quest", "mission" -> "#me pushes his straw hat out of his face, 'I'm awaiting ten salmon'."
queststatus(718) = 3, item(1209, all) <5, town = Runewick, "quest", "mission" -> "#me schiebt den Hut aus dem Gesicht 'Ich warte auf die zehn Lachse'."
queststatus(718) = 3, item(1209, all) <5, town = Runewick, "task", "adventure", "order" -> "#me pushes his straw hat out of his face, 'I'm awaiting ten salmon'."
queststatus(718) = 3, item(1209, all) <5, town = Runewick, "Auftrag", "Aufgabe", "Abenteuer", "Befehl" -> "#me schiebt den Hut aus dem Gesicht 'Ich warte auf die zehn Lachse'."

-- 3rd quest
queststatus(718) = 4, english, town = Runewick, "quest", "mission" -> inform("[New quest] Relaxed fishing in Runewick III"), queststatus(718) = 5, "Go to town and smoke the salmons, so they don't get stinky. Bring me five smoked salmons."
Expand Down
24 changes: 12 additions & 12 deletions quest/alwin_sommerkorn_718_runewick.lua
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ Description[GERMAN][1] = "Besorge zehn Forellen und bringe sie Alwin Sommerkorn.
Description[ENGLISH][1] = "Obtain ten trout and take them back to Alwin Sommerkorn. To fish, place yourself next to a shoal and use a fishing rod."
Description[GERMAN][2] = "Geh zu Alwin Sommerkorn, der sich im Eibenthal aufhält. Er hat bestimmt noch eine Aufgabe für dich."
Description[ENGLISH][2] = "Go back to Alwin Sommerkorn in Yewdale, he will certainly have another task for you."
Description[GERMAN][3] = "Besorge zehn Lachse und fünf Stachelmakrelen und bringe sie Alwin Sommerkorn. Stelle dich ans Wasser an einem Fischschwarm und benutze die Angel um Fische zu fangen."
Description[ENGLISH][3] = "Obtain ten salmon and five horse mackerels and take them back to Alwin Sommerkorn. To fish, place yourself next to a shoal and use a fishing rod."
Description[GERMAN][3] = "Besorge zehn Lachse und bringe sie Alwin Sommerkorn. GERMAN TRANSLATION Stelle dich ans Wasser an einem Fischschwarm und benutze die Angel um Fische zu fangen."
Description[ENGLISH][3] = "Obtain ten salmon and take them back to Alwin Sommerkorn. He told you about an island full of salmon that is past the forest just south of Runewick's fields. To fish, place yourself next to a shoal and use a fishing rod."
Description[GERMAN][4] = "Geh zu Alwin Sommerkorn, der sich im Eibenthal aufhält. Er hat bestimmt noch eine Aufgabe für dich."
Description[ENGLISH][4] = "Go back to Alwin Sommerkorn in Yewdale, he will certainly have another task for you."
Description[GERMAN][5] = "Besorge fünf geräucherte Lachse und bringe sie Alwin Sommerkorn. Stelle dich vor eine Räucherhütte und benutze diese."
Expand All @@ -51,19 +51,19 @@ Description[GERMAN][8] = "Du hast alle Aufgaben von Alwin Sommerkorn erf
Description[ENGLISH][8] = "You have fulfilled all the tasks for Alwin Sommerkorn."

-- Insert the position of the quest start here (probably the position of an NPC or item)
local Start = {759, 819, 0}
local Start = {824, 840, 0}


-- For each status insert a list of positions where the quest will continue, i.e. a new status can be reached there
local QuestTarget = {}
QuestTarget[1] = {position(759, 819, 0), position(761, 821, 0)} -- Angelplatz
QuestTarget[2] = {position(759, 819, 0)}
QuestTarget[3] = {position(759, 819, 0), position(761, 821, 0)} -- Angelplatz
QuestTarget[4] = {position(759, 819, 0)}
QuestTarget[5] = {position(759, 819, 0), position(963, 841, 0)} -- smoke oven
QuestTarget[6] = {position(759, 819, 0)}
QuestTarget[7] = {position(759, 819, 0), position(952, 835, 0), position(948, 816, 0)} -- Händler, Spinnrad
QuestTarget[8] = {position(759, 819, 0)}
QuestTarget[1] = {position(821, 842, 0), position(824, 840, 0)} -- Trout shoal, Alwin
QuestTarget[2] = {position(824, 840, 0)} -- Return to Alwin
QuestTarget[3] = {position(901, 932, 0), position(824, 840, 0)} -- Salmon shoal, Alwin
QuestTarget[4] = {position(824, 840, 0)} -- Return to Alwin
QuestTarget[5] = {position(963, 841, 0), position(824, 840, 0)} -- smoke oven, Alwin
QuestTarget[6] = {position(824, 840, 0)} -- Return to Alwin
QuestTarget[7] = {position(952, 835, 0), position(948, 816, 0), position(824, 840, 0)} -- Tailoring merchant, spinning wheel, Alwin
QuestTarget[8] = {position(824, 840, 0)} -- Return to Alwin

-- Insert the quest status which is reached at the end of the quest
local FINAL_QUEST_STATUS = 8
Expand Down Expand Up @@ -100,4 +100,4 @@ function M.QuestAvailability(user, status)
end
end

return M
return M

0 comments on commit 0079c21

Please sign in to comment.