Types/SpriteFlags

From Official Factorio Wiki
Revision as of 12:39, 23 May 2019 by Bilka (talk | contribs) (so more info)
Jump to navigation Jump to search

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

"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 automatically set these flags:

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

"light"

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

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

"terrain"

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

  • "no-crop"
  • "mipmap"
  • "linear-minification"
  • "linear-mip-level"

"shadow"

"smoke"

"decal"

"low-object"

"trilinear-filtering"

"compressed"

Deprecated flag that does nothing but is kept to prevent "unknown sprite flag" errors.

Example

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