Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old April 6, 2020, 06:13   #1
backwardsEric
Apprentice
 
Join Date: Aug 2019
Posts: 67
backwardsEric is on a distinguished road
Sensing/detecting objects and forgetting

If @ triggers an object sensing effect and detects nothing at a location, should that be enough to scrub the memory of something being at that location?

Should an object detection effect be treated the same in that regard or differently?

From what I see in effect_handler_SENSE_OBJECTS and effect_handler_DETECT_OBJECTS, both skip over locations where there's nothing. So they don't update @'s memory if that did have something there. I can see a certain logic behind that: "the absence of evidence is not evidence of absence.".
backwardsEric is offline   Reply With Quote
Old April 6, 2020, 07:21   #2
Sky
Veteran
 
Join Date: Oct 2016
Location: London-ish
Age: 47
Posts: 1,592
Sky is on a distinguished road
wut?

if you detect and there's nothing to be detected in that area, then, there's nothing in that area. you can't fail a detect, nor can object appear after the dungeon has been generated.
The detect effect does not persist, if that's what you are asking. So if you kill long-range something that you cant see and it drops and object where you previously casted detect, then you would not become aware of it.
__________________
"i can take this dracolich"
Sky is offline   Reply With Quote
Old April 6, 2020, 07:40   #3
backwardsEric
Apprentice
 
Join Date: Aug 2019
Posts: 67
backwardsEric is on a distinguished road
I had in mind this scenario:
  1. @ uses a scroll of detect object
  2. Now there's a detected unknown item.
  3. Scruffy-looking hobbit takes that unknown item.
  4. @ uses another scroll of detect object and the original detected location is in range.
  5. Should the unknown item shown on the map go away?
backwardsEric is offline   Reply With Quote
Old April 6, 2020, 17:56   #4
Derakon
Prophet
 
Derakon's Avatar
 
Join Date: Dec 2009
Posts: 9,023
Derakon is on a distinguished road
Makes sense to me. The lack of signal should be a sufficient clue that something you previously thought was there no longer is.
Derakon is offline   Reply With Quote
Old April 6, 2020, 21:43   #5
DavidMedley
Knight
 
Join Date: Oct 2019
Posts: 671
DavidMedley is on a distinguished road
I'm sure someone was just trying to save a few cycles long ago.
DavidMedley is offline   Reply With Quote
Old April 6, 2020, 23:06   #6
Sky
Veteran
 
Join Date: Oct 2016
Location: London-ish
Age: 47
Posts: 1,592
Sky is on a distinguished road
ah, no then. those treasure markers are what your character writes on their map, but once the spell has ended, you no longer receive info from the objects.
__________________
"i can take this dracolich"
Sky is offline   Reply With Quote
Old April 6, 2020, 23:27   #7
Derakon
Prophet
 
Derakon's Avatar
 
Join Date: Dec 2009
Posts: 9,023
Derakon is on a distinguished road
Quote:
Originally Posted by Sky View Post
ah, no then. those treasure markers are what your character writes on their map, but once the spell has ended, you no longer receive info from the objects.
In the given example, the spell is used twice, and the object is removed after the first casting. The character ought to be able to say "according to my notes, there should be an object there, but when I cast the spell the second time, I did not detect an object there. It must have been moved or destroyed." Consequently they can remove the mark from their map.
Derakon is offline   Reply With Quote
Old April 7, 2020, 15:50   #8
DavidMedley
Knight
 
Join Date: Oct 2019
Posts: 671
DavidMedley is on a distinguished road
Come to think of it, I noticed in the code or one of the change logs that the player has his own complete map anyway. So it wouldn't even take that long (in processor time) to remove the in-range *s and then apply new ones.
DavidMedley is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sil: Do you like the Mewlip forgetting effect? half Sil 23 August 8, 2013 08:54
Why inscribe objects? joelsanda Vanilla 14 October 27, 2011 20:59
changing sensing to imply knowing flag count PowerDiver Development 3 June 21, 2011 00:34
always m7a before detecting on new level PowerDiver Vanilla 10 December 9, 2009 06:13
[FA] Changes to wieldable objects Nick Variants 6 January 22, 2009 06:23


All times are GMT +1. The time now is 18:16.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.