Page 1 of 1

Slight offsetting of resource graphics for no reason

Posted: Sat May 20, 2023 4:30 pm
by Honktown
Having a resource without shift or anything results in graphically shifted autoplace entities

Example:

Code: Select all

local stages = data.raw.resource["crude-oil"].stages
stages.sheet = {
	width = 124,
	height = 132,
	filename = "__base__/graphics/entity/crash-site-spaceship/spaceship-wreck-big-2.png",
	variation_count = 1,
}
resourcesx5.png
resourcesx5.png (251.35 KiB) Viewed 774 times
What I expected: the same graphics for each entity

Re: Slight offsetting of resource graphics for no reason

Posted: Sat May 20, 2023 4:42 pm
by Rseding91
Thanks for the report. That is working correctly. Resources randomize their render position to break up the visual pattern. You can set https://wiki.factorio.com/Prototype/Res ... l_position to false on the prototype if you don’t want that behavior.