Allow gathering of items after completing Arena-unlock quest

All development conversation and discussion takes place here

Moderator: Moderator

Post Reply
Message
Author
tiger_eye
Perspiring Physicist
Posts: 889
Joined: Thu Feb 17, 2011 5:20 am

Allow gathering of items after completing Arena-unlock quest

#1 Post 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)
Last edited by tiger_eye on Sat Mar 12, 2011 1:42 am, edited 1 time in total.

Canderel
Sher'Tul
Posts: 1252
Joined: Mon Nov 24, 2003 2:31 pm
Location: South Africa

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

#2 Post 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.

tiger_eye
Perspiring Physicist
Posts: 889
Joined: Thu Feb 17, 2011 5:20 am

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

#3 Post 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.

tiger_eye
Perspiring Physicist
Posts: 889
Joined: Thu Feb 17, 2011 5:20 am

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

#4 Post 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.
Attachments
get_loot_arena_zigur.txt
(4.06 KiB) Downloaded 177 times

darkgod
Master of Eyal
Posts: 10750
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

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

#5 Post by darkgod »

applied
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Post Reply