sapientCrow wrote: ↑Tue Jul 11, 2023 8:41 pm
Yes i did find that one. just no others for droid.
What was the output of that command when holding the disk you found?
When holding the found disk use this in the console
print(getMouseItem().go.id)
Does it output another name than disk_data_droid ?
Ok, I took that droid disk located and the place on the pic and it gave me answer for command: LVL54disk_data_droid_1
Its not numeric. I spawned potion_wisdom too, but for this it shows number.
sapientCrow wrote: ↑Tue Jul 11, 2023 8:41 pm
Yes i did find that one. just no others for droid.
What was the output of that command when holding the disk you found?
When holding the found disk use this in the console
print(getMouseItem().go.id)
Does it output another name than disk_data_droid ?
Ok, I took that droid disk located and the place on the pic and it gave me answer for command: LVL54disk_data_droid_1
Its not numeric. I spawned potion_wisdom too, but for this it shows number.
Was it that what you were looking for?
yah exactly what I needed and sadly it returns nothing as there is no other disk with that name.
I wonder if it is another level and needs the level too
sapientCrow wrote: ↑Tue Jul 11, 2023 8:41 pm
Yes i did find that one. just no others for droid.
What was the output of that command when holding the disk you found?
When holding the found disk use this in the console
print(getMouseItem().go.id)
Does it output another name than disk_data_droid ?
Ok, I took that droid disk located and the place on the pic and it gave me answer for command: LVL54disk_data_droid_1
Its not numeric. I spawned potion_wisdom too, but for this it shows number.
Was it that what you were looking for?
yah exactly what I needed and sadly it returns nothing as there is no other disk with that name.
I wonder if it is another level and needs the level too
olavimuff.ee wrote: ↑Tue Jul 11, 2023 8:54 pm
Ok, I took that droid disk located and the place on the pic and it gave me answer for command: LVL54disk_data_droid_1
Its not numeric. I spawned potion_wisdom too, but for this it shows number.
Was it that what you were looking for?
yah exactly what I needed and sadly it returns nothing as there is no other disk with that name.
I wonder if it is another level and needs the level too
sigh and uggh
Hmm, didnt you try disk 2?
Can you share which command you use?
yes and yes tried the 2 up to 5 and also all the levels in ARC 53 54 55 and 64
this command checks entire mod for an item though
just change local_item_id to what you want the name to be
below I am looking for the 4th Gem of the Moon I am missing
I did find it but locked behind a chest and i dont know where key is
Did you happen to find some key named Aldan Maric key?
do
local_item_id = "gm_gem_green_feanor_4"
for index = 1, Dungeon:getMaxLevels() do
for item in Dungeon.getMap(index):allEntities() do
if item.id == local_item_id then
hudPrint("A matching item was found in "..item.map:getName().." ".."(level "..item.level..") @ tile X:"..tostring(item.x)..",Y:"..tostring(item.y))
playSound("secret") party:spawn('blob')
return
end
end
end
hudPrint("No matching item was found")
end
basically it will chime for you and show where x y the item is located and what map
however for items spawned or items that return numeric IDs it will not find the item.
Numeric IDs seem to store the name but it is not accessible and the numeric ID is just a item number for when it was found so they will be different for everyone I think
do
local_item_id = "gm_gem_green_feanor_4"
for index = 1, Dungeon:getMaxLevels() do
for item in Dungeon.getMap(index):allEntities() do
if item.id == local_item_id then
hudPrint("A matching item was found in "..item.map:getName().." ".."(level "..item.level..") @ tile X:"..tostring(item.x)..",Y:"..tostring(item.y))
playSound("secret") party:spawn('blob')
return
end
end
end
hudPrint("No matching item was found")
end
Good code.
What happen if you change "if item.id ==" to "if item.name ==" ?
olavimuff.ee wrote: ↑Tue Jul 11, 2023 11:32 pm
I reloaded previous save to find out jean bart letter 7 which was not digged up yet. That code didnt find it until I digged it up.
So digging will create item, not teleporting these from below or something. Such thing may happen with other items too in other conditions.
the Jean Bart items are numerical so they cant be found sadly. it sucks.
the chest is out on Guagamiel fields on the side with red barrier in corner.
according to the search code the last gem of the moon is in it
olavimuff.ee wrote: ↑Tue Jul 11, 2023 11:32 pm
I reloaded previous save to find out jean bart letter 7 which was not digged up yet. That code didnt find it until I digged it up.
So digging will create item, not teleporting these from below or something. Such thing may happen with other items too in other conditions.
the Jean Bart items are numerical so they cant be found sadly. it sucks.
the chest is out on Guagamiel fields on the side with red barrier in corner.
according to the search code the last gem of the moon is in it
OO, I wonder how did you found it. I have searched all sides previously, but somehow I skipped that edge there.
Next mysterious key needed, maybe digging up whole area to find it.
I think you cant find buried things. Or you managed to find that gem before you digged up this chest?