Skip to content

Commit 1a0228d

Browse files
committed
Apply initial pre-commit config
1 parent 67f36b8 commit 1a0228d

Some content is hidden

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

47 files changed

+21
-53
lines changed

deathcause.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,3 @@ def display_death_unit(u)
8181
}
8282
end
8383
end
84-

devel/annc-monitor.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,3 @@ function eventful.onReport.annc_monitor(id)
7171
log(annc.text, color)
7272
end
7373
end
74-

devel/luacov.lua

100755100644
File mode changed.

devel/make-dt.pl

100644100755
File mode changed.

devel/prepare-save.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,4 +98,3 @@ dfhack.persistent.save{
9898
-- Save
9999

100100
dfhack.run_script('quicksave')
101-

devel/print-args2.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,3 @@ print("print-args")
1414
for _,arg in ipairs(args) do
1515
print("'"..arg.."'")
1616
end
17-

devel/query.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ Usage examples::
208208
Disables printing. Might be useful if you are debugging
209209
this script. Or to see if a query will crash (faster) but
210210
not sure what else you could use it for.
211-
211+
212212
``-debug <value>``
213213
Enables debug log lines equal to or less than the value provided.
214214

devel/watch-minecarts.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,3 @@ if cmd == 'start' then
8181
elseif cmd == 'stop' then
8282
dfhack.timeout_active(timeout_id, nil)
8383
end
84-

do-job-now.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ local function getUnitName(unit)
2727
if language_name.has_name then
2828
return dfhack.df2console(dfhack.TranslateName( language_name ))
2929
end
30-
30+
3131
-- animals
3232
return dfhack.units.getProfessionName(unit)
3333
end
@@ -114,7 +114,7 @@ end
114114

115115
local function doPlantJobNow(plant)
116116
--print('This will attempt to make a job with a plant a top priority')
117-
117+
118118
for _link, job in utils.listpairs(df.global.world.jobs.list) do
119119
if plant.pos.x == job.pos.x
120120
and plant.pos.y == job.pos.y
@@ -124,7 +124,7 @@ local function doPlantJobNow(plant)
124124
return
125125
end
126126
end
127-
127+
128128
print("Couldn't find any job involving this plant.")
129129
end
130130

@@ -137,7 +137,7 @@ local function doWorkOrderJobsNow(order)
137137
cnt = cnt + 1
138138
end
139139
end
140-
140+
141141
if cnt > 0 then
142142
print("Found " .. cnt .. " jobs for this work order.")
143143
else

emigration.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,4 +135,3 @@ end
135135
if dfhack.isMapLoaded() then
136136
dfhack.onStateChange.loadEmigration(SC_MAP_LOADED)
137137
end
138-

0 commit comments

Comments
 (0)