De-alias migrants-now

develop
PeridexisErrant 2015-11-04 23:13:52 +11:00
parent 23b02ebcf2
commit 58e6ef6524
2 changed files with 8 additions and 12 deletions

@ -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)
})

@ -1,11 +1,16 @@
-- Force a migrant wave (only works after hardcoded waves) -- Force a migrant wave (only works after hardcoded waves)
--@alias = 'devel/migrants-now'
--[[=begin --[[=begin
migrants-now migrants-now
============ ============
Forces an immediate migrant wave. Only works after migrants have Forces an immediate migrant wave. Only works after migrants have
arrived naturally. Alias for ``devel/migrants-now``; equivalent to arrived naturally. Equivalent to `modtools/force` ``-eventType migrants``
`modtools/force` ``-eventType migrants``
=end]] =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)
})