Wishing for a piece of the relic?

Anything that has spoilers in it should go in here

Moderator: Moderator

Post Reply
Message
Author
Ithulta
Halfling
Posts: 112
Joined: Sun Dec 20, 2009 7:21 pm

Wishing for a piece of the relic?

#1 Post by Ithulta »

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?

bigfoot
Thalore
Posts: 120
Joined: Thu Aug 20, 2009 3:26 pm

Re: Wishing for a piece of the relic?

#2 Post by bigfoot »

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! :D ).... no, kidding, don't.
-The Bigfoot

I really do exist.

Kernigh
Wayist
Posts: 23
Joined: Sun Jan 31, 2010 3:55 pm

Re: Wishing for a piece of the relic?

#3 Post by Kernigh »

Now lib/scpt/god.lua provides three possible statuses for quest(GOD_QUEST).status.
  • 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!
There is a hook for HOOK_GET (getting an item). To get your reward, the item is a piece of the relic of the correct god, and the status must be QUEST_STATUS_TAKEN.

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
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:
  1. After the automatizer destroys the relic piece, you recall out of the lost temple.
  2. Stay out of the lost temple! You MUST NOT get the failure message from your god!
  3. 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.
  4. Find a wish.
  5. Wish for 'Piece of the Relic of Melkor' (or whomever is your god). I assume that such wish is possible.
  6. Start gaining levels to get the last god quest.
This might not be the correct way; I might misunderstand lib/scpt/god.lua. The Lua code seems to inscribe every relic piece with {quest}, but you have said otherwise.

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.

Yottle
Reaper
Posts: 1753
Joined: Sun Jan 26, 2003 11:49 pm
Location: West Virginia

Re: Wishing for a piece of the relic?

#4 Post by Yottle »

I cannot imagine using a wish to get a relic piece. That would come way, way down on my list.

Ithulta
Halfling
Posts: 112
Joined: Sun Dec 20, 2009 7:21 pm

Re: Wishing for a piece of the relic?

#5 Post by Ithulta »

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...

Code: Select all

quest(GOD_QUEST).status = QUEST_STATUS_TAKEN
...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.

Kernigh
Wayist
Posts: 23
Joined: Sun Jan 31, 2010 3:55 pm

Re: Wishing for a piece of the relic?

#6 Post by Kernigh »

Ithulta wrote:is there any way to access messages beyond ^P?
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.

Post Reply