Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: quests from version 12 revised #3042

Merged
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
ac4309e
The Dream Courts Quest - part 1
htc16 Oct 31, 2024
3a864da
Lua code format - (Stylua)
github-actions[bot] Oct 31, 2024
9f44e80
The Dream Courts Quest - part 2
htc16 Nov 1, 2024
4104ade
Lua code format - (Stylua)
github-actions[bot] Nov 1, 2024
61915ce
The Dream Courts Quest - part 3
htc16 Nov 2, 2024
c12c262
Lua code format - (Stylua)
github-actions[bot] Nov 2, 2024
fd08328
The Dream Courts Quest - part 4
htc16 Nov 2, 2024
89fb651
Update globalevents_dream_courts_worldchange.lua
htc16 Nov 2, 2024
fa5db16
The Dream Courts Quest - End
htc16 Nov 2, 2024
9d395bd
Grave Danger Quest
htc16 Nov 6, 2024
540424b
Lua code format - (Stylua)
github-actions[bot] Nov 6, 2024
ffb3afb
Hand of the Inquisition Outfits Quest
htc16 Nov 6, 2024
4ea316a
Lua code format - (Stylua)
github-actions[bot] Nov 6, 2024
c500a98
Golden Outfits Quest
htc16 Nov 6, 2024
eead3e8
Kilmaresh Quest - Fafnar's Wrath and Organization Storages
htc16 Nov 7, 2024
7a3c297
Lua code format - (Stylua)
github-actions[bot] Nov 7, 2024
5e45061
Update storages.lua
htc16 Nov 7, 2024
f125d97
More organization
htc16 Nov 8, 2024
eab60ef
converted the lever logic to the new bossLever() pattern
Glatharth Nov 9, 2024
04053f3
Lua code format - (Stylua)
github-actions[bot] Nov 9, 2024
c56a77b
KilmareshQuest - freequest
htc16 Nov 19, 2024
90c4320
Fix The Secret Library Quest
htc16 Nov 21, 2024
94bd54f
Merge branch 'main' into fix-quests-from-version-12-revised
majestyotbr Dec 29, 2024
ae1972d
Merge branch 'main' into fix-quests-from-version-12-revised
majestyotbr Jan 9, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 70 additions & 2 deletions data-otservbr-global/lib/core/quests.lua
Original file line number Diff line number Diff line change
@@ -6343,12 +6343,12 @@ if not Quests then
},
[47] = {
name = "Grave Danger",
startStorageId = Storage.Quest.U12_20.GraveDanger.QuestLine,
startStorageId = Storage.Quest.U12_20.GraveDanger.Questline,
startStorageValue = 1,
missions = {
[1] = {
name = "* Grave Danger - The Lich Knights",
storageId = Storage.Quest.U12_20.GraveDanger.QuestLine,
storageId = Storage.Quest.U12_20.GraveDanger.Questline,
missionId = 10437,
startValue = 1,
endValue = 2,
@@ -6633,5 +6633,73 @@ if not Quests then
},
},
},
[50] = {
name = "The Dream Courts",
startStorageId = Storage.Quest.U12_00.TheDreamCourts.Main.Questline,
startStorageValue = 1,
missions = {
[1] = {
name = "The Dream Courts",
storageId = Storage.Quest.U12_00.TheDreamCourts.WardStones.Questline,
missionId = 10457,
startValue = 1,
endValue = 3,
states = {
[1] = function(player)
return string.format("You already got %d/8 energized ward stones.", math.max(player:getStorageValue(Storage.Quest.U12_00.TheDreamCourts.WardStones.Count), 0))
end,
[2] = "You must kill the Nightmare Beast.",
[3] = "By defeating the dreadful Nightmare Beast you did the Winter Court and the Summer Court alike a great favor. From now on, the dream elves will regard you as a friend.",
},
},
[2] = {
name = "Unsafe Release",
storageId = Storage.Quest.U12_00.TheDreamCourts.UnsafeRelease.Questline,
missionId = 10458,
startValue = 1,
endValue = 3,
states = {
[1] = "Part I",
[2] = "Part II",
[3] = "Andre was happy to hear that the compass works as intendend. From now on it is possible that he will charge your compass again. It can be used to give acess to mystical chests once a day.",
},
},
[3] = {
name = "Haunted House",
storageId = Storage.Quest.U12_00.TheDreamCourts.HauntedHouse.Questline,
missionId = 10459,
startValue = 1,
endValue = 6,
states = {
[1] = function(player)
return string.format(
"A tormented soul trusted you with the secret of this house: join the passages to the three dungeons it connects to reveal a hidden portal within!\n\nCellar %d/1\nTemple %d/1\nTomb %d/1",
math.max(player:getStorageValue(Storage.Quest.U12_00.TheDreamCourts.HauntedHouse.Cellar), 0),
math.max(player:getStorageValue(Storage.Quest.U12_00.TheDreamCourts.HauntedHouse.Temple), 0),
math.max(player:getStorageValue(Storage.Quest.U12_00.TheDreamCourts.HauntedHouse.Tomb), 0)
)
end,
[2] = "Part I - burried catedral",
[3] = "Part II - puzzle dos livros",
[4] = "Part III - bosses",
[5] = "Part IV - last stone",
[6] = "Activating the ward stone after defeating the Faceless Bane has gained you acess to the deepest mysteries of the dream courts.",
},
},
[4] = {
name = "The Seven Keys",
storageId = Storage.Quest.U12_00.TheDreamCourts.TheSevenKeys.Questline,
missionId = 10460,
startValue = 1,
endValue = 2,
states = {
[1] = function(player)
return string.format("You already got %d/7 secret keys.", math.max(player:getStorageValue(Storage.Quest.U12_00.TheDreamCourts.TheSevenKeys.Count), 0))
end,
[2] = "You found the seven keys to unlock the Seven Dream Doors in the Labyrinth of Summer's and Winter's Dreams.",
},
},
},
},
}
end
Loading