constants.lua 429 B

1234567891011121314151617
  1. -- Minetest: builtin/constants.lua
  2. --
  3. -- Constants values for use with the Lua API
  4. --
  5. -- Built-in Content IDs (for use with VoxelManip API)
  6. core.CONTENT_UNKNOWN = 125
  7. core.CONTENT_AIR = 126
  8. core.CONTENT_IGNORE = 127
  9. -- Block emerge status constants (for use with core.emerge_area)
  10. core.EMERGE_CANCELLED = 0
  11. core.EMERGE_ERRORED = 1
  12. core.EMERGE_FROM_MEMORY = 2
  13. core.EMERGE_FROM_DISK = 3
  14. core.EMERGE_GENERATED = 4