diff --git a/scripts/modtools/item-trigger.lua b/scripts/modtools/item-trigger.lua index 255dd6e59..27bb165bc 100644 --- a/scripts/modtools/item-trigger.lua +++ b/scripts/modtools/item-trigger.lua @@ -46,7 +46,7 @@ function processTrigger(command) command2[i] = arg end end - print(dfhack.run_command(table.unpack(command2))) + dfhack.run_command(table.unpack(command2)) end function fillTable(table1,table2) diff --git a/scripts/modtools/reaction-trigger.lua b/scripts/modtools/reaction-trigger.lua index 275896f64..c3214e241 100644 --- a/scripts/modtools/reaction-trigger.lua +++ b/scripts/modtools/reaction-trigger.lua @@ -96,7 +96,7 @@ eventful.onJobCompleted.reactionTrigger = function(job) local didSomething if action.command then local processed = processCommand(job, worker, worker, building, action.command) - print(dfhack.run_command(table.unpack(processed))) + dfhack.run_command(table.unpack(processed)) end if action.syndrome then didSomething = syndromeUtil.infectWithSyndromeIfValidTarget(worker, action.syndrome, action.resetPolicy) or didSomething diff --git a/scripts/modtools/skillroll.lua b/scripts/modtools/skillroll.lua index 8a5567694..e3a73f510 100644 --- a/scripts/modtools/skillroll.lua +++ b/scripts/modtools/skillroll.lua @@ -48,8 +48,7 @@ repeat if args[i]~='\\SKILL_UNIT_ID' then table.insert(command,args[i]) else table.insert(command,args[1]) end end until i>#args or args[i]:find('DICEROLL') - local out = dfhack.run_command(table.unpack(command)) - print(out) + dfhack.run_command(table.unpack(command)) scriptIsFinished=true else i=i+1