Search found 4 matches

by Data
Thu Jan 15, 2026 5:04 am
Forum: Resolved Problems and Bugs
Topic: [2.0.72] LuaSurface::clone_area skips some trees on ore during cloning
Replies: 1
Views: 357

[2.0.72] LuaSurface::clone_area skips some trees on ore during cloning

What did you do?

Run Factorio 2.0.72, base game without mods and without Space age DLC
Single Player > New Game > Freeplay
Set seed to 4288898516 (any seed will work, but you need to find an ore patch with fair amount of trees over it)
Start the game with default settings
Skip the cutscene ...
by Data
Tue Feb 11, 2025 9:06 pm
Forum: Duplicates
Topic: [2.0.34] Non-deterministic chunk population with trees over ores during map generation
Replies: 2
Views: 729

[2.0.34] Non-deterministic chunk population with trees over ores during map generation

What did you do?

Run Factorio 2.0.34, base game without mods and without Space age DLC
Single Player > New Game > Freeplay
Set seed to 2953497924 (any seed will work, but you need to find an ore patch with trees over it outside pre-generated area and teleport to it instead)
Start the game ...
by Data
Thu Dec 19, 2024 4:02 pm
Forum: Modding help
Topic: How to access inventory of a disconnected/editor player?
Replies: 3
Views: 1212

Re: How to access inventory of a disconnected/editor player?

Pi-C wrote: Thu Dec 19, 2024 8:28 am I'd say you can't, you have to work around it. The events on_pre_player_left_game/on_player_joined_game and on_pre_player_toggled_map_editor are your friends …
Well, that's just disappointing.
Thanks for the clever workaround, might try to apply it
by Data
Thu Dec 19, 2024 7:05 am
Forum: Modding help
Topic: How to access inventory of a disconnected/editor player?
Replies: 3
Views: 1212

How to access inventory of a disconnected/editor player?

Currently the way to access inventory of a connected player is (ignoring nil checks):
-- we access inventory on the character, not the player since player has no inventory while being in remote view
if player.character then
-- player is alive
local inventory = player.character.get_main_inventory ...

Go to advanced search