I have lost an item that I need, a power gem.
I have gone to all the Gem locations but I collected them all.
I must have dropped it somewhere.
I've looked all over the maps (exept for where the Gem is obviously!) and looked in boxes that I've left, but cannot find it!
I could just spawn a new one but is that cheating too much?
Is there a console comand to find items?
Lost item
- Zo Kath Ra
- Posts: 931
- Joined: Sat Apr 21, 2012 9:57 am
- Location: Germany
Re: Lost item
If the power gem isn't inside a container somewhere, you can use this console script:FennerMachine wrote:Is there a console comand to find items?
Code: Select all
for i = 1, Dungeon.getMaxLevels() do
local map = Dungeon.getMap(i)
for entity in map:allEntities() do
if (string.find(entity.name, "power_gem") ~= nil) then
print(entity.name .. " @ " .. "map = " .. entity.map:getName() .. " / x = " .. entity.x .. " / " .. "y = " .. entity.y .. " / " .. "elevation = " .. entity.elevation)
end
end
end
-
- Posts: 55
- Joined: Tue Dec 23, 2014 4:11 pm
Re: Lost item
Thanks!
I'll give that a go.
I've been able to use the party in a mod even though I've not completed the original campain fully so all is not lost.
Working better than my last attempt at Mystrock.
I'll give that a go.
I've been able to use the party in a mod even though I've not completed the original campain fully so all is not lost.
Working better than my last attempt at Mystrock.