summaryrefslogtreecommitdiff
path: root/scripts/devel/migrants-now.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/devel/migrants-now.lua')
-rw-r--r--scripts/devel/migrants-now.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/devel/migrants-now.lua b/scripts/devel/migrants-now.lua
new file mode 100644
index 00000000..8eb4b0c8
--- /dev/null
+++ b/scripts/devel/migrants-now.lua
@@ -0,0 +1,9 @@
+-- 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)
+})