Right-clicking a map square and choosing "Inspect Creature" works even if you can't see the creature. It's very, very tempting to use this to find that accursed dreadmaster who's hiding in the walls, for example.
Because I've been working on LOS and FOV for my own module - what's the proper way to fix this? It looks like you want to check for player:canSee(a) and game.level.map.seens(a.x, any). Is that right?
Right-click -> Inspect unseen foes
Moderator: Moderator
-
- Sher'Tul Godslayer
- Posts: 2402
- Joined: Tue Jun 18, 2013 10:46 pm
- Location: Ambush!
Re: Right-click -> Inspect unseen foes
Another issue which you might want to fix is that invisible / stealthed NPCs can change state on mouse-over.
So if there's a Rogue which I can see, then I mouse over him, suddenly he's gone... the ability to inspect him currently works around that bug, but if you fix that, please also fix the other one to lock visibility state for the round.
So if there's a Rogue which I can see, then I mouse over him, suddenly he's gone... the ability to inspect him currently works around that bug, but if you fix that, please also fix the other one to lock visibility state for the round.
Re: Right-click -> Inspect unseen foes
While we're on visibility issues:
When blinded and fighting foes you know must be adjacent, anyways, you can tell when they die because the drops appear underneath where they were, even if you do not then move into the square. You can tell everything about the drops, even though logically you should not unless you've moved into that square and have had an opportunity to "feel around"
When blinded and fighting foes you know must be adjacent, anyways, you can tell when they die because the drops appear underneath where they were, even if you do not then move into the square. You can tell everything about the drops, even though logically you should not unless you've moved into that square and have had an opportunity to "feel around"
-
- Sher'Tul Godslayer
- Posts: 2402
- Joined: Tue Jun 18, 2013 10:46 pm
- Location: Ambush!
Re: Right-click -> Inspect unseen foes
Also while blind you get zero information about things which you ought to know, like "you punch something", even if you're not sure what you punched, or "something hits you for 50 cold damage".
Re: Right-click -> Inspect unseen foes
Actually that one seems perfectly legit. You punch something. You're blind, you can't be sure what you punched, be it friend or foe. That kind of feedback is what the rest of these comments all want being blind to be like: No information except very basic stuff. No special knowledge of anything that would involve sight in any way. In other words: BLIND.
-
- Sher'Tul Godslayer
- Posts: 2402
- Joined: Tue Jun 18, 2013 10:46 pm
- Location: Ambush!
Re: Right-click -> Inspect unseen foes
Currently you don't even get the information that you punched something.Jeoshua wrote:Actually that one seems perfectly legit. You punch something. You're blind, you can't be sure what you punched, be it friend or foe. That kind of feedback is what the rest of these comments all want being blind to be like: No information except very basic stuff. No special knowledge of anything that would involve sight in any way. In other words: BLIND.
Nor do you get the information that you are on fire, which many people are able to notice even without the use of their sight.
Maybe you have some rare neural disorder which makes your body entirely numb?
Re: Right-click -> Inspect unseen foes
Ah, I see what you're saying. I'd never noticed that. Yes, valid, and I hadn't noticed that (although I should have... maybe I'm blind)