Page 1 of 1

Right-click -> Inspect unseen foes

Posted: Sat Sep 28, 2013 2:26 am
by Castler
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?

Re: Right-click -> Inspect unseen foes

Posted: Sat Sep 28, 2013 1:18 pm
by Doctornull
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.

Re: Right-click -> Inspect unseen foes

Posted: Sat Sep 28, 2013 1:44 pm
by Jeoshua
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"

Re: Right-click -> Inspect unseen foes

Posted: Sun Sep 29, 2013 2:20 pm
by Doctornull
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

Posted: Sun Sep 29, 2013 3:44 pm
by Jeoshua
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.

Re: Right-click -> Inspect unseen foes

Posted: Sun Sep 29, 2013 3:57 pm
by Doctornull
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.
Currently you don't even get the information that you punched something.

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

Posted: Sun Sep 29, 2013 4:44 pm
by Jeoshua
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)