Have to bring this up again. In G2 old world Mitten is automatically talking to the player at first meeting if in close distance. But this is happening through a wall when Milten is in the right room and player in the left room in old mage building. Can be tested with -w oldworld.zen and goto pos 0 0 0.
Cause is this line in Npc::canSenseNpc
if(isNoisy) {
// no need to be in same room: https://github.com/Try/OpenGothic/issues/420
ret = ret | SensesBit::SENSE_HEAR;
}
Thesneak check could be removed because ASSESSQUIETSOUND isn't sent in that case. Is this special treatment for QUIETSOUND/ENTERROOM as immediate perc needed at all? Is there a difference in executing immediately or later in the same tick together with other passive percs?
Have to bring this up again. In G2 old world Mitten is automatically talking to the player at first meeting if in close distance. But this is happening through a wall when Milten is in the right room and player in the left room in old mage building. Can be tested with
-w oldworld.zen
andgoto pos 0 0 0
.Cause is this line in
Npc::canSenseNpc
Commenting out works.
Two open points from https://github.com/Try/OpenGothic/issues/604
My suggestion was
I'm asking because this was part of rejected https://github.com/Try/OpenGothic/pull/589 and hasn't been moved to https://github.com/Try/OpenGothic/commit/fccda5bec4afede9d31d90889eec4c99e80fc2d6.
Secon question was
This is blocked by the sneak check
Thesneak check could be removed because
ASSESSQUIETSOUND
isn't sent in that case. Is this special treatment forQUIETSOUND/ENTERROOM
as immediate perc needed at all? Is there a difference in executing immediately or later in the same tick together with other passive percs?