Wishing for a piece of the relic?
Moderator: Moderator
Wishing for a piece of the relic?
Does that actually work? I failed the fourth quest because of mixup with the automatizer (the relic piece wasn't inscribed with quest for some reason), and now I'm wondering if I can salvage this. On a related note, can I get the last quest using potions of lose memories?
Re: Wishing for a piece of the relic?
If you don't find the relic piece, there is nothing you can do to salvage that (at least nothing I know of). Yeah, drink a potion of lose memories (you won't remember me giving you this bad advice!
).... no, kidding, don't.

-The Bigfoot
I really do exist.
I really do exist.
Re: Wishing for a piece of the relic?
Now lib/scpt/god.lua provides three possible statuses for quest(GOD_QUEST).status.
If your god says, 'Thou art a fool! I told thee to look carefully for the relic. It appears thou has missed the opportunity...', then the status becomes QUEST_STATUS_FAILED, and all relic pieces become useless, with the wish being a waste because your god ignores the relic piece. Your god only says this if you enter a level of the lost temple after you miss the relic. So if you lose the relic piece, and you recall out of (or leave) the lost temple without entering any more levels of the lost temple, and you stay out of the lost temple, then you might still be at QUEST_STATUS_TAKEN.
You can probably press Ctrl+Q to check your quest status. If the god quest is not in the list, then you are at QUEST_STATUS_UNTAKEN. This happens after you get the relic.
About potions of lose memories, and other ways to lose experience: the Lua code is careful to give only one chance per character level for a god quest.
In the code, god_quest.dun_minplev remembers your maximum character level. You never get a god quest unless you exceed that maximum. (You must also have no current god quest, have never failed a quest, and be outside the god temple.) So the regaining of levels gives no quests, but the delaying of levels might give a quest.
So this is what you would do:
There is perhaps an easier way. You can edit lib/scpt/god.lua to somehow give you a free relic piece. This is cheating, but you can justify the cheat because your automatizer destroyed the relic piece.
- QUEST_STATUS_UNTAKEN: You might get a god quest when you gain a character level.
- QUEST_STATUS_TAKEN: You have a god quest. You might get a piece of the relic at a lost temple.
- QUEST_STATUS_FAILED: You missed the relic!
If your god says, 'Thou art a fool! I told thee to look carefully for the relic. It appears thou has missed the opportunity...', then the status becomes QUEST_STATUS_FAILED, and all relic pieces become useless, with the wish being a waste because your god ignores the relic piece. Your god only says this if you enter a level of the lost temple after you miss the relic. So if you lose the relic piece, and you recall out of (or leave) the lost temple without entering any more levels of the lost temple, and you stay out of the lost temple, then you might still be at QUEST_STATUS_TAKEN.
You can probably press Ctrl+Q to check your quest status. If the god quest is not in the list, then you are at QUEST_STATUS_UNTAKEN. This happens after you get the relic.
About potions of lose memories, and other ways to lose experience: the Lua code is careful to give only one chance per character level for a god quest.
Code: Select all
-- roll for chance of quest
local give_god_quest = magik(god_quest.CHANCE_OF_GOD_QUEST)
-- check player is worshipping a god, not already on a god quest.
if (player.astral ~= FALSE) or (player.pgod <= 0)
or (quest(GOD_QUEST).status == QUEST_STATUS_TAKEN) or (quest(GOD_QUEST).status == QUEST_STATUS_FAILED)
or (god_quest.quests_given >= god_quest.MAX_NUM_GOD_QUESTS) or (give_god_quest == FALSE)
or ((current_dungeon_idx == god_quest.DUNGEON_GOD) and (dun_level > 0)) or (player.lev <= god_quest.dun_minplev) then
-- Don't let a player get quests with trickery
if player.lev > god_quest.dun_minplev then
god_quest.dun_minplev = player.lev
end
So this is what you would do:
- After the automatizer destroys the relic piece, you recall out of the lost temple.
- Stay out of the lost temple! You MUST NOT get the failure message from your god!
- Never gain any new character levels! Drain your experience to avoid new character levels. You probably need an equipment or a junkart that drains experience.
- Find a wish.
- Wish for 'Piece of the Relic of Melkor' (or whomever is your god). I assume that such wish is possible.
- Start gaining levels to get the last god quest.
There is perhaps an easier way. You can edit lib/scpt/god.lua to somehow give you a free relic piece. This is cheating, but you can justify the cheat because your automatizer destroyed the relic piece.
Re: Wishing for a piece of the relic?
I cannot imagine using a wish to get a relic piece. That would come way, way down on my list.
Re: Wishing for a piece of the relic?
I know nothing about Lua, or C for that matter, but I just added this to the beginning of add_quest, started up the game, deleted this, restarted......and it seems to have let me take the quest again with no errors. I backed up my save file in case this screws it up or is considered cheating, but I'd still like to see what other people think before I try playing. Would you consider this ethical? I don't know why, but the relic piece was not inscribed with quest. I cast Vision, examined the little purple tilde, and it said Piece of the Relic of Melkor, so I Recalled it to me. But there was no {quest} inscription, so my automatizer killed it. I seems like kind of gray area, but I am sure that that was the relic. I stupidly forgot to note it (is there any way to access messages beyond ^P?), but I am certain that was it.
Code: Select all
quest(GOD_QUEST).status = QUEST_STATUS_TAKEN
Re: Wishing for a piece of the relic?
I believe that ^P shows all available messages. If you set compress_savefile to no in Efficiency Options (press '=' then '4'), then the game will include the ^P messages in the save file. There is still some limit; I opened my save file and the ^P screen has only 2047 lines.Ithulta wrote:is there any way to access messages beyond ^P?