Skip to content
Merged
Changes from all commits
Commits
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
5 changes: 4 additions & 1 deletion mods/sbz_progression/questbook.lua
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,10 @@ label[7.35,12.25;%s]
formspec = formspec ..
hypertext:format(minetest.formspec_escape("<big>" .. selected_quest.title .. "</big>"),
(is_quest_available(player_name, selected_quest.title) and minetest.formspec_escape(selected_quest.text) or "Complete " .. combineWithAnd(selected_quest.requires) .. " to unlock."),
(is_achievement_unlocked(player_name, selected_quest.title) and "✔Shhh... don't tell anyone :)" or "You have not completed this Quest.")
(is_achievement_unlocked(player_name, selected_quest.title) and (
selected_quest.type == "secret" and "✔Shhh... don't tell anyone :)"
or "✔You have completed this Quest."
) or "You have not completed this Quest.")
)
elseif selected_quest.type == "secret" and is_achievement_unlocked(player_name, selected_quest.title) == false then
formspec = formspec ..
Expand Down