Added a new setting, xset autocon, to enable automatically doing a consider when travelling to a room with nx or go. If your current target is not found it will then perform a scan. Any mobs found in the current room are added to the mobs database.
Tag mobs in scan and consider with [GQ] when part of a gquest, [CP] when part of a campaign, and [Q] when part of a quest
If autocon is disabled, it will now perform a full scan instead of a quick scan. The new tags should make this more informative.
Play a sound when your current target is found in the current room (via scan or consider), a different sound when a non-active target is found in the current room, and a third sound if a target is found nearby according to scan. Toggled with xset sound and expects soundpack to be enabled for full functionality.
Dev changes:
No more using mob deaths to add mobs to the database. On the one hand, it will miss noscan mobs when autocon is turned off, and it will miss aggro mobs that attack before you have a chance to scan/con. On the plus side, one hit kills won't be a problem. I figured removing it was the safer option so it doesn't double count.
Added a debug mode and (so far) a DebugNote function. It can be enabled via xtest debug. DebugNote will only output messages when debug mode is on.
User-facing changes:
xset autocon
, to enable automatically doing a consider when travelling to a room withnx
orgo
. If your current target is not found it will then perform a scan. Any mobs found in the current room are added to the mobs database.[GQ]
when part of a gquest,[CP]
when part of a campaign, and[Q]
when part of a questxset sound
and expects soundpack to be enabled for full functionality.Dev changes:
DebugNote
function. It can be enabled viaxtest debug
.DebugNote
will only output messages when debug mode is on.