Skip to content

Commit

Permalink
Add variants support indication in LUA.
Browse files Browse the repository at this point in the history
  • Loading branch information
sfence committed Oct 6, 2023
1 parent b1b65fc commit 4a0eca2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions builtin/game/features.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ core.features = {
get_light_data_buffer = true,
mod_storage_on_disk = true,
compress_zstd = true,
texture_variants = true,
}

function core.has_feature(arg)
Expand Down
2 changes: 2 additions & 0 deletions doc/lua_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -5330,6 +5330,8 @@ Utilities
mod_storage_on_disk = true,
-- "zstd" method for compress/decompress (5.7.0)
compress_zstd = true,
-- Node/Item texture variants is supported
texture_variants = true,
}
```

Expand Down

0 comments on commit 4a0eca2

Please sign in to comment.