Skip to content

Commit 6c98c34

Browse files
authored
Merge branch 'master' into gui/tooltips/1
2 parents 5ec1e54 + cc421f0 commit 6c98c34

File tree

133 files changed

+2948
-1386
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

133 files changed

+2948
-1386
lines changed

.github/pull_request_template.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
If this PR makes an externally-visible change in behavior, please add an appropriate line to `changelog.txt`.

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ repos:
2020
args: ['--fix=lf']
2121
- id: trailing-whitespace
2222
- repo: https://github.com/python-jsonschema/check-jsonschema
23-
rev: 0.30.0
23+
rev: 0.31.1
2424
hooks:
2525
- id: check-github-workflows
2626
- repo: https://github.com/Lucas-C/pre-commit-hooks

add-thought.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function addEmotionToUnit(unit,thought,emotion,severity,strength,subthought)
1414
local properThought = tonumber(thought) or df.unit_thought_type[thought]
1515
local properSubthought = tonumber(subthought)
1616
if not properThought or not df.unit_thought_type[properThought] then
17-
for _,syn in ipairs(df.global.world.raws.syndromes.all) do
17+
for _,syn in ipairs(df.global.world.raws.mat_table.syndromes.all) do
1818
if syn.syn_name == thought then
1919
properThought = df.unit_thought_type.Syndrome
2020
properSubthought = syn.id

advtools.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
--@ module=true
22

33
local convo = reqscript('internal/advtools/convo')
4+
local fastcombat = reqscript('internal/advtools/fastcombat')
45
local party = reqscript('internal/advtools/party')
56

67
OVERLAY_WIDGETS = {
78
conversation=convo.AdvRumorsOverlay,
9+
fastcombat=fastcombat.AdvCombatOverlay,
810
}
911

1012
if dfhack_flags.module then

armoks-blessing.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ end
233233
-- ---------------------------------------------------------------------------
234234
function adjust_all_dwarves(skillname)
235235
for _,v in ipairs(dfhack.units.getCitizens()) do
236-
print("Adjusting "..dfhack.df2console(dfhack.TranslateName(dfhack.units.getVisibleName(v))))
236+
print("Adjusting "..dfhack.df2console(dfhack.units.getReadableName(v)))
237237
brainwash_unit(v)
238238
elevate_attributes(v)
239239
rejuvenate.rejuvenate(v, true)

0 commit comments

Comments
 (0)