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 Dec 9, 2023
1 parent 2e58b5c commit a7e1b70
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 @@ -29,6 +29,7 @@ core.features = {
compress_zstd = true,
sound_params_start_time = true,
physics_overrides_v2 = 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 @@ -5341,6 +5341,8 @@ Utilities
-- liquid_fluidity, liquid_fluidity_smooth, liquid_sink,
-- acceleration_default, acceleration_air (5.8.0)
physics_overrides_v2 = true,
-- Node/Item texture variants is supported (5.9.0)
texture_variants = true,
}
```

Expand Down

0 comments on commit a7e1b70

Please sign in to comment.