Resonating Diamonds stack and Zemekkys consumes them both

Where bugs go to lie down and rest

Moderator: Moderator

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

Resonating Diamonds stack and Zemekkys consumes them both

#1 Post by tiger_eye »

I encountered a minor bug with the Resonating Diamonds ("RD" henceforth), and it should be very easy to fix: explicitely make them unstackable, 'stacking = nil', which is necessary because 'base = "BASE_GEM"', which is stackable.

I acquired both east and west RD before opening any east-west portals. I transported west after winning, then went back east through Reknor (thus getting RD-west and Athame-west) to finish the "Back and there again" quest. I got the other RD from Briagh, and the RDs stacked in the inventory. When I had Zemekkys make the portal, he consumed both RDs. Hence, I could no longer have Tannen make the other portal.

The RDs are stackeble because they are derived from the base "BASE_GEM", which is stackable. The fix may be as simple as making them unstackable when declared in "/data/general/objects/objects-far-east.lua" (and west). Alternatively, perhaps they could remain stackable and only remove one RD in the file "game/modules/tome/data/chats/zemekkys.lua" by changing

Code: Select all

local function remove_materials(npc, player)
        local gem_o, gem_item, gem_inven_id = player:findInAllInventories("Resonating Diamond")
        player:removeObject(gem_inven_id, gem_item, true)
        gem_o:removed()
to

Code: Select all

local function remove_materials(npc, player)
        local gem_o, gem_item, gem_inven_id = player:findInAllInventories("Resonating Diamond")
        player:removeObject(gem_inven_id, gem_item, false)
        gem_o:removed()
(third argument true to false in third line)

Oh, and this is my first time glancing at the code... and I don't know Lua...

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

Re: Resonating Diamonds stack and Zemekkys consumes them bot

#2 Post by darkgod »

Oh my I did not see *that* one coming :)
Fixed! thanks
[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 ;)

PowerWyrm
Sher'Tul
Posts: 1106
Joined: Thu Nov 21, 2002 9:53 pm

Re: Resonating Diamonds stack and Zemekkys consumes them bot

#3 Post by PowerWyrm »

Hmm I think this is not the way to fix the problem. The good way is to disable the portal in Reknor once you've completed the Sliders achievement. The whole portal quest has no meaning if you still can use the Reknor portal to go back east...

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

Re: Resonating Diamonds stack and Zemekkys consumes them bot

#4 Post by darkgod »

Well doing the quets nets you:
- bosses => exp
- loot
- a much quicker method to go back east (because trudging through reknor each time will probably get boring *FAST*)
[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