Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0006457Dwarf FortressAdventure Mode -- AIpublic2014-03-18 09:202014-07-15 07:29
Toady One 
0006457: Adventurers from entities with LOCAL_BANDITRY token can attack peaceful villagers without confirmation
The LOCAL_BANDITRY, in addition to making NPCs with the token hostile to visiting adventurers (as intended), has unexpected effects when given to a playable entity.

Locals will be peaceful towards these adventurers by default, but attempting to move into the space they're standing in will result in a move-attack, whereas an adventurer from the human, elven, or dwarven civilizations will harmless waste a turn trying to move into that space without attacking the villager present. Humans, elves, and dwarves instead have to make an aimed attack, then enter yes in the confirmation prompt.

In addition, making an aimed attack against a villager in this situation will likewise bypass the normal confirmation prompt.

Unknown if this effect is an intended consequence of the token, as normally entities with this token aren't playable.
1. Add [ADVENTURE_TIER:4] to the goblin entity's tokens.
2. Generate a new world with this modification in effect.
3. Start an adventurer from the modded civilization.
4. Upon appearing in town, converse with the locals to verify they are initially peaceful.
5. Attempt to move-attack the locals. Cue getting mobbed.
5a. Alternatively, attempt an aimed attack against said locals, and observe that it doesn't ask you if you're sure. Cue getting mobbed again.
Thread wherein this was discovered: http://www.bay12forums.com/smf/index.php?topic=137188.0 [^]
0.34.11, adventurer mode, fixed, Fixed in 0.40.01?, LOCAL_BANDITRY, modding
Issue History
2014-03-18 09:20chaosvoltNew Issue
2014-03-18 09:22chaosvoltTag Attached: 0.34.11
2014-03-18 09:22chaosvoltTag Attached: adventurer mode
2014-03-18 09:22chaosvoltTag Attached: modding
2014-03-18 09:22chaosvoltTag Attached: LOCAL_BANDITRY
2014-03-19 18:59FootkerchiefTag Attached: Fixed in 0.34.12?
2014-03-20 12:33chaosvoltNote Added: 0024611
2014-03-20 14:10FootkerchiefSummaryAdventurers from entities with LOCAL_BANDITRY token can attack peacegul villagers without confirmation => Adventurers from entities with LOCAL_BANDITRY token can attack peaceful villagers without confirmation
2014-03-20 14:11FootkerchiefNote Added: 0024612
2014-03-20 23:16chaosvoltNote Added: 0024613
2014-07-07 22:23FootkerchiefTag RenamedFixed in 0.34.12? => Fixed in 0.40.01?
2014-07-15 01:57thvazNote Added: 0026441
2014-07-15 01:58thvazTag Attached: fixed
2014-07-15 07:29FootkerchiefNote Added: 0026467
2014-07-15 07:29FootkerchiefStatusnew => resolved
2014-07-15 07:29FootkerchiefFixed in Version => 0.40.01
2014-07-15 07:29FootkerchiefResolutionopen => fixed
2014-07-15 07:29FootkerchiefAssigned To => Toady One

2014-03-20 12:33   
Uncertain if this is actually liable to be fixed in .34.12, as Footkerchief noted. If plans for the next release include making goblins and/or kobolds adventurer-playable by default, then it would be reasonable to assume this issue will be fixed, if it's been noticed.
2014-03-20 14:11   
Yeah, it doesn't mean anything definite, just tagging the report for post-release checks.
2014-03-20 23:16   
Ah. Here's hoping goblins and kobolds will get to be adventurers, since that gives the greatest chance of this bug getting fixed. o3o
2014-07-15 01:57   
I tested this bug in 34.03.

The goblins were at peace with the dwarves. I went to a hillock and talked with the peasants there, walked towards them without attacking.
I didn't tested in case you are at war, when I imagine we can expect that they would attack or run.
So I think this one was fixed in 0.40.01
2014-07-15 07:29   
Thanks! Please PM me if it turns out not to be fixed.