diff --git a/map_gen/maps/turkey.lua b/map_gen/maps/turkey.lua index 0c37b53f3..4ba683664 100644 --- a/map_gen/maps/turkey.lua +++ b/map_gen/maps/turkey.lua @@ -10,6 +10,7 @@ local turkey_message_random = require 'resources.turkey_messages' RS.set_map_gen_settings( { + MGSP.ore_oil_none, MGSP.cliff_none } ) @@ -146,17 +147,14 @@ local ore_grid = b.grid_pattern_full_overlap(ore_pattern, 50, 50, 96, 96) ore_grid = b.translate(ore_grid, -60, -20) --spews a random turkey fact in chat every 10 minutes. -Event.add( - defines.events.on_tick, - function(event) - if event.tick % 36000 == 0 then + +Event.on_nth_tick(36000, + function() local message = turkey_message_random[math.random(#turkey_message_random)] game.print('[color=yellow][font=compi]' .. message .. '[/font][/color]') - end end ) - pic = b.decompress(pic) --idk why this works but it does, played whack a mole/whack a variable to get it to clear all errors