Page 1 of 1

Quatorio-scene-3 sim_planet

Posted: Mon Oct 20, 2025 3:07 pm
by Artenchink
Quatorio-scene-3 doesnt show other planet surface. Its showing only black screen with error. How to fix it??? :cry:

Code: Select all

menu_simulations["quatorio-scene-3"] = {
  checkboard = false,
  save = "__Quatorio__/menu-simulations/Quatorioscene3.zip",
  length = 60 * 20,
  init = [[
    local sim_planet = game.simulation["gleba"]
    game.simulation.camera_surface_index = sim_planet.index
    game.simulation.camera_position = {47, 224}
    game.simulation.camera_zoom = 1
    game.tick_paused = false
    sim_planet.daytime = 0.5
  ]],
  update = [[
    local dx = 0
    local dy = 0
    if game.tick % 3000 < 1000 then
      dx = 0.01
    elseif game.tick % 3000 < 2000 then
      dx = -0.01
    end
    if (game.tick + 1500) % 3000 < 1000 then
      dy = 0.01
    elseif (game.tick + 1500) % 3000 < 2000 then
      dy = -0.01
    end
    game.simulation.camera_position = {game.simulation.camera_position.x + dx*0, game.simulation.camera_position.y + dy*0}
  ]]
}
What I need to do? :?