Page 1 of 1

[1.1.110] Crash using game.camera_player in tips and tips simulation

Posted: Fri Aug 30, 2024 1:37 pm
by micromario
08-30-2024, 08-30-58.png
08-30-2024, 08-30-58.png (809.94 KiB) Viewed 146 times
To replicate, simply insert the following prototype code into maraxsis 1.0.5 and open tips-and-tricks.
The provided save file is the simulation save file.

https://mods.factorio.com/mod/maraxsis/downloads

Code: Select all

data:extend{{
    type = 'tips-and-tricks-item',
    name = 'h2o-maraxsis',
    category = 'maraxsis',
    tag = '[technology=h2o-maraxsis]',
    indent = 0,
    trigger = {
        type = 'research',
        technology = 'h2o-maraxsis'
    },
    simulation = {
        save = '__maraxsis__/prototypes/tips-and-tricks/maraxsis.zip',
        mods = {},
        generate_map = false,
        init = 'game.camera_player = game.get_player(1)',
        checkboard = false
    },
    is_title = true
}}

Re: [1.1.110] Crash using game.camera_player in tips and tips simulation

Posted: Fri Aug 30, 2024 1:47 pm
by micromario
By the way, the following command works for visiting the planet

Code: Select all

/c __maraxsis__ teleport_to_maraxsis()