Right-click -> Inspect unseen foes

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Castler
Thalore
Posts: 153
Joined: Mon Mar 25, 2013 10:09 pm

Right-click -> Inspect unseen foes

#1 Post 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?
Qi Daozei (QDZ) - an Oriental-themed fantasy game for T-Engine. ToME Tips - auto-generated spoilers for ToME.

Doctornull
Sher'Tul Godslayer
Posts: 2402
Joined: Tue Jun 18, 2013 10:46 pm
Location: Ambush!

Re: Right-click -> Inspect unseen foes

#2 Post 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.
Check out my addons: Nullpack (classes), Null Tweaks (items & talents), and New Gems fork.

Jeoshua
Cornac
Posts: 37
Joined: Sat Sep 14, 2013 2:08 pm

Re: Right-click -> Inspect unseen foes

#3 Post 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"

Doctornull
Sher'Tul Godslayer
Posts: 2402
Joined: Tue Jun 18, 2013 10:46 pm
Location: Ambush!

Re: Right-click -> Inspect unseen foes

#4 Post 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".
Check out my addons: Nullpack (classes), Null Tweaks (items & talents), and New Gems fork.

Jeoshua
Cornac
Posts: 37
Joined: Sat Sep 14, 2013 2:08 pm

Re: Right-click -> Inspect unseen foes

#5 Post 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.

Doctornull
Sher'Tul Godslayer
Posts: 2402
Joined: Tue Jun 18, 2013 10:46 pm
Location: Ambush!

Re: Right-click -> Inspect unseen foes

#6 Post 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?
Check out my addons: Nullpack (classes), Null Tweaks (items & talents), and New Gems fork.

Jeoshua
Cornac
Posts: 37
Joined: Sat Sep 14, 2013 2:08 pm

Re: Right-click -> Inspect unseen foes

#7 Post 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)

Post Reply