That’s it! After removing all notes from my map, the item was found!
So now I have two working scripts: One for searching the tiles and one for searching the alcoves.
Thanks for the great help!
Search found 7 matches
- Wed Jul 31, 2013 6:03 pm
- Forum: Gameplay Hints
- Topic: How to find a lost item - except revisiting each tile
- Replies: 12
- Views: 23364
- Tue Jul 30, 2013 6:32 pm
- Forum: Gameplay Hints
- Topic: How to find a lost item - except revisiting each tile
- Replies: 12
- Views: 23364
Re: How to find a lost item - except revisiting each tile
Ok, I wrote now this script to search all the alcoves: for i=1,13 do for j=0,31 do for k=0,31 do for m in entitiesAt(i,j,k) do if m.containedItems~=nil then for x in m:containedItems() do if x.name=="lurker_hood" then print (x.level,x.name,m.x,m.y) end end end end end end end It works fine...
- Tue Jul 30, 2013 8:52 am
- Forum: Gameplay Hints
- Topic: How to find a lost item - except revisiting each tile
- Replies: 12
- Views: 23364
Re: How to find a lost item - except revisiting each tile
I tried the script with some other items and it seems not to work in some cases.
E.g. if an item lies in an alcove or behind an iron door it is not found.
Is it possible to adapt the script so that those places are also searched for?
E.g. if an item lies in an alcove or behind an iron door it is not found.
Is it possible to adapt the script so that those places are also searched for?
- Tue Jul 30, 2013 8:33 am
- Forum: Gameplay Hints
- Topic: How to find a lost item - except revisiting each tile
- Replies: 12
- Views: 23364
Re: How to find a lost item - except revisiting each tile
Great, it worked now! Thanks!
- Mon Jul 29, 2013 11:39 pm
- Forum: Gameplay Hints
- Topic: How to find a lost item - except revisiting each tile
- Replies: 12
- Views: 23364
Re: How to find a lost item - except revisiting each tile
Hmm, does not work for me.
It says: [string "user-input"]:1: 'then' expected near '='
...for both scripts.
It says: [string "user-input"]:1: 'then' expected near '='
...for both scripts.
- Mon Jul 29, 2013 10:08 pm
- Forum: Gameplay Hints
- Topic: How to find a lost item - except revisiting each tile
- Replies: 12
- Views: 23364
Re: How to find a lost item - except revisiting each tile
Thanks for the code!
Can I run this code directly from the console or how can I run this search script?
Thanks!
Can I run this code directly from the console or how can I run this search script?
Thanks!
- Mon Jul 29, 2013 6:42 pm
- Forum: Gameplay Hints
- Topic: How to find a lost item - except revisiting each tile
- Replies: 12
- Views: 23364
How to find a lost item - except revisiting each tile
Hi there! Seems to be a simple question, but I didn't find an answer to it with a quick search. I dropped my bone amulets... considering them worthless... somewhere... I absolutely do not remember where... . Now on level 9 I need one to open the iron door. Is there any way - e.g. by using console co...