Page 1 of 1

Allow gathering of items after completing Arena-unlock quest

Posted: Fri Mar 11, 2011 9:34 pm
by tiger_eye
Instead of immediately teleporting back to Derth after completing the arena-unlock quest, create a world map icon that allows you to teleport to Derth when you wish to. This let's you collect any loot that may have fallen.

EDIT: updated patch to include antimagic quest in reply below.

Trivial patch:

Code: Select all

Index: game/modules/tome/data/chats/arena-unlock.lua
===================================================================
--- game/modules/tome/data/chats/arena-unlock.lua	(revision 2998)
+++ game/modules/tome/data/chats/arena-unlock.lua	(working copy)
@@ -77,7 +77,11 @@
 ]],
 	answers = {
 		{ "I will. Farewell for now.", action = function (self, player)
-			game:changeLevel(1, "town-derth")
+			local g = game.zone:makeEntityByName(game.level, "terrain", "SAND_UP_WILDERNESS")
+			g.change_level = 1
+			g.change_zone = "town-derth"
+			game.zone:addEntity(game.level, g, "terrain", player.x, player.y)
+
 			player.unused_generics = player.unused_generics + 2
 			game:setAllowedBuild("campaign_arena", true)
 			game.player:setQuestStatus("arena-unlock", engine.Quest.COMPLETED)

Re: Allow gathering of items after completing Arena-unlock q

Posted: Sat Mar 12, 2011 12:14 am
by Canderel
Could you do that for the antimagic fight too? Though it's not "back to world map" it's just remove something out of the cage.

Re: Allow gathering of items after completing Arena-unlock q

Posted: Sat Mar 12, 2011 12:20 am
by tiger_eye
Canderel wrote:Could you do that for the antimagic fight too? Though it's not "back to world map" it's just remove something out of the cage.
Oh yeah, that would also make sense. Perhaps the arena area could have a "terrain/sealed_door.png" (like the doors in arena-unlock quest) that opens to "terrain/sealed_door_cracked.png" when you've completed the antimagic fight. I'll look into doing this.

Re: Allow gathering of items after completing Arena-unlock q

Posted: Sat Mar 12, 2011 1:40 am
by tiger_eye
Players may now collect loot from both the arena-unlock quest in Derth and the antimagic quest in Zigur.

Updated patch attached.

Re: Allow gathering of items after completing Arena-unlock q

Posted: Sat Mar 12, 2011 7:21 pm
by darkgod
applied