|
|
|
@ -198,6 +198,8 @@ end
|
|
|
|
|
|
|
|
|
|
scriptArgs={...}
|
|
|
|
|
|
|
|
|
|
utils=require('utils')
|
|
|
|
|
|
|
|
|
|
validArgs = validArgs or utils.invert({
|
|
|
|
|
'startup',
|
|
|
|
|
'all',
|
|
|
|
@ -206,8 +208,6 @@ validArgs = validArgs or utils.invert({
|
|
|
|
|
'multi'
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
utils=require('utils')
|
|
|
|
|
|
|
|
|
|
args = utils.processArgs({...}, validArgs)
|
|
|
|
|
|
|
|
|
|
eventful=require('plugins.eventful')
|
|
|
|
@ -220,4 +220,4 @@ else
|
|
|
|
|
if not reaction.code:find('DFHACK_WISH') then return nil end
|
|
|
|
|
hackWish(unit)
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|