Skip to content
Snippets Groups Projects
Commit 1400aa9e authored by dg's avatar dg
Browse files

Fix the transmo chest

git-svn-id: http://svn.net-core.org/repos/t-engine4@3117 51575b47-30f0-44d4-a5cc-537603b46e54
parent 6e969e1a
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@ When activated it will prompt to destroy items on the floor, if there are none i
max_power = 1000, power_regen = 1,
use_power = { name = "open a portal to send items to the Fortress core, extracting energies from it for the Fortress and sending back useless gold.", power = 0,
use = function(self, who)
local pricemod = function(o) if o.type == "gem" then return 0.40 else return 0.5 end end
local pricemod = function(o) if o.type == "gem" then return 0.40 else return 0.05 end end
-- On the floor or inventory
if game.level.map:getObjectTotal(who.x, who.y) > 0 then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment