A mysterious planet, void of mineable resources. Combine botany and the arcane to produce materials that are strangely familiar. Craft powerful machines and discover biolabs with a never ending thirst.
I have found an issue with both our mods. My mod has a debug scenery which hooks on on_player_created like your mod does and creates a debug world with all ruins being spawned. It works flawless when your mod is disabled. But once I enable your mod, I end up on a Foliax world in ghost mode and my needed hook on_player_created is never executed.
Can you please check if you can do something against it?
script.on_event(defines.events.on_tick, function(event)
if event.tick == 1 and --whatever tells the script your debug setting is active-- then
local surface = game.surfaces["--whatever your surface name is--"]
local origin = { x = 0, y = 0 }