(1.0) Alchemist Golem and the transmogrification chest

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
glab
Low Yeek
Posts: 7
Joined: Mon Jan 28, 2013 3:53 pm

(1.0) Alchemist Golem and the transmogrification chest

#1 Post by glab »

It's just a minor bug i found at the relation between the golem and the transmogrification chest.
What happens is that when you get any item from inside your chest and order it to be transferred to the golem, when you control the golem the item will be in his inventory, but inside a "phantom" transmogrification chest. What i mean by "phantom" is that there is no icon for the chest in the golem. But when you select the "all items tab" or the tools tab (inside the golems inventory), the items you transferred to the golem will be there, and they will show the color of items inside the chest. The thing is that they wont be transmogrified in map changes and they wont add any encumbrance to the golem or the alchemist. Thus creating the means for a infinite inventory.

Hachem_Muche
Uruivellas
Posts: 744
Joined: Thu Nov 18, 2010 6:42 pm

Re: (1.0) Alchemist Golem and the transmogrification chest

#2 Post by Hachem_Muche »

Very simple fix:

Code: Select all

Index: game/modules/tome/dialogs/PartySendItem.lua
===================================================================
--- game/modules/tome/dialogs/PartySendItem.lua	(revision 6365)
+++ game/modules/tome/dialogs/PartySendItem.lua	(working copy)
@@ -55,6 +55,7 @@
 
 	self.source:removeObject(self.inven, self.item)
 	self.source:sortInven(self.inven)
+	self.o.__transmo = nil
 	item.actor:addObject(item.actor.INVEN_INVEN, self.o)
 	item.actor:sortInven(item.actor.INVEN_INVEN)
 	game.log("You give %s to %s.", self.o:getName{do_color=true}, item.actor.name)
Author of the Infinite 500 and PlenumTooltip addons, and the joys of Scaling in ToME.

Post Reply