[Rseding91] [2.0.28][Modding] Hidden player characters shown in factoriopedia Planted by
Posted: Sun Dec 22, 2024 7:39 pm
With the below new Character added to the game, the hidden flag works in most cases for the Factoriopedia, but still shows the entity under any seed's "Planted By" section.
Other places like "Made In" and the default spot in the Environment do hide the entity though.
Code: Select all
local fakePlayer = util.table.deepcopy(data.raw["character"]["character"])
fakePlayer.name = "fake-player"
fakePlayer.hidden = true
data:extend ({ fakePlayer })