OpenGothic icon indicating copy to clipboard operation
OpenGothic copied to clipboard

Some of Khorinis towers are not locked

Open Dehela opened this issue 3 years ago • 5 comments

I was debating if it a bug or my memory being fuzzy but a bit of info search implies a possible bug.

So, there are six towers in Khorinis. By default those are supposed to be locked, and keys for those are distributed among some of militia soldiers. But for some reason, I have at least two of those being wide open. If I start a new game and visit the city, only one of them is open (at main gate), so I guess another one gets unlocked at some point later.

Dehela avatar Sep 18 '22 19:09 Dehela

https://user-images.githubusercontent.com/122894/192343312-505122d9-44f0-41f0-8cf4-e6cc065007d0.mp4

Try avatar Sep 26 '22 17:09 Try

Huh, so some guards come from towers, I wouldn't expect that. Though it's still hard to say why original game doesn't suffer from that. Could it be that in original game NPCs can close doors (tbh, I don't remember), or somehow those guards were spawned in wrong place in OpenGothic, or something totally different.

Dehela avatar Sep 26 '22 18:09 Dehela

It seems the main issue is: opengothic inserts npc, at point requested by script. This is controversial to say, but in vanilla original point means very little, as its far away from player.

When npc is far from player daily_routine takes over, and position is gonna be determinated by it.

Related to #295

Try avatar Sep 26 '22 20:09 Try

f457148

OK, that was one thing, another issue: npc can open door if they walk pass it. So in theory it's possible to force one of hotel customer to open the basement-door, just by standing on their way

Try avatar Sep 26 '22 20:09 Try

Would it be doable to add a check for door, if one requires a key and if yes, if fitting key is present in inventory of particular NPC?

Dehela avatar Sep 27 '22 05:09 Dehela