diff --git a/scripts/devel/migrants-now.lua b/scripts/devel/migrants-now.lua deleted file mode 100644 index 8eb4b0c8f..000000000 --- a/scripts/devel/migrants-now.lua +++ /dev/null @@ -1,9 +0,0 @@ --- Force a migrants event in next 10 ticks. - -df.global.timed_events:insert('#',{ - new = true, - type = df.timed_event_type.Migrants, - season = df.global.cur_season, - season_ticks = df.global.cur_season_tick+1, - entity = df.historical_entity.find(df.global.ui.civ_id) -}) diff --git a/scripts/migrants-now.lua b/scripts/migrants-now.lua index b2f08e9f9..b38e38115 100644 --- a/scripts/migrants-now.lua +++ b/scripts/migrants-now.lua @@ -1,11 +1,16 @@ -- Force a migrant wave (only works after hardcoded waves) ---@alias = 'devel/migrants-now' --[[=begin migrants-now ============ Forces an immediate migrant wave. Only works after migrants have -arrived naturally. Alias for ``devel/migrants-now``; equivalent to -`modtools/force` ``-eventType migrants`` +arrived naturally. Equivalent to `modtools/force` ``-eventType migrants`` =end]] +df.global.timed_events:insert('#',{ + new = true, + type = df.timed_event_type.Migrants, + season = df.global.cur_season, + season_ticks = df.global.cur_season_tick+1, + entity = df.historical_entity.find(df.global.ui.civ_id) +})