Skip to content

Commit 4f0a2ca

Browse files
authored
Merge pull request #1380 from Crystalwarrior/fix-convo
Fix df.talk_choice_type def not being up to date for internal/convo.lua
2 parents ce8efb4 + 791096c commit 4f0a2ca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

changelog.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ Template for new versions:
2727
# Future
2828

2929
## New Tools
30-
3130
- `autocheese`: automatically make cheese using barrels that have accumulated sufficient milk
3231

3332
## New Features
3433

3534
## Fixes
35+
- `advtools`: fix dfhack-added conversation options not appearing in the ask whereabouts conversation tree
3636

3737
## Misc Improvements
3838
- `assign-preferences`: new ``--show`` option to display the preferences of the selected unit

internal/advtools/convo.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ local function addWhereaboutsChoice(race, name, target_id, heard_of)
8181
if heard_of then
8282
title = title .. " (Heard of)"
8383
end
84-
local choice = new_choice(df.talk_choice_type.AskWhereabouts, title, dfhack.translation.translateName(name):split())
84+
local choice = new_choice(df.talk_choice_type.AskForDirectionsToHF, title, dfhack.translation.translateName(name):split())
8585
-- insert before the last choice, which is usually "back"
8686
adventure.conversation.conv_choice_info:insert(#adventure.conversation.conv_choice_info-1, choice)
8787
choice.choice.invocation_target_hfid = target_id

0 commit comments

Comments
 (0)