Types/SpriteFlags

From Official Factorio Wiki
Revision as of 12:30, 23 May 2019 by Lovely santa (talk | contribs) (Updated SpriteFlags; Added new flags as game state v0.17.42; Updated layout and added example as is with Types/EntityPrototypeFlags)
Jump to navigation Jump to search

Array (Types/table) of strings. The possible strings are listed below.

"none"

When no flags, or when an invalid flag (such as "compressed") is set.

"no-crop"

The sprite won't be automatically cropped.

"not-compressed"

"always-compressed"

"mipmap"

"linear-minification"

"linear-magnification"

"linear-mip-level"

"alpha-mask"

"no-scale"

"mask"

"icon"

When this flag is set, it will automaticaly set these flags:

  • "no-crop"
  • "not-compressed"
  • "mipmap"
  • "linear-minification"
  • "linear-magnification"
  • "linear-mip-level"
  • "no-scale"

"light"

"terrain"

"shadow"

"smoke"

"decal"

"low-object"

"trilinear-filtering"

Example

   flags = {"icon", "no-crop"}