aboutsummaryrefslogtreecommitdiff
path: root/doc/texture_packs.txt
diff options
context:
space:
mode:
authorSmallJoker <SmallJoker@users.noreply.github.com>2022-08-13 08:52:16 +0200
committerGitHub <noreply@github.com>2022-08-13 08:52:16 +0200
commit023a1c2427fa34d5a87e7234c0c322d56765082b (patch)
tree2a24ab5e2838452959d225b1015292350b1a0d57 /doc/texture_packs.txt
parent8bf1609cccba24e2516ecb98dbf694b91fe697bf (diff)
downloadminetest-023a1c2427fa34d5a87e7234c0c322d56765082b.tar.xz
Textures: introduce world-align overrides (#12540)
Many games do not care about world align textures, however texture packs should have the capabilities to change that if they have suitable textures. This commmit now introduces a node property override for world-align in particular to force a certain scale on the selected override tiles.
Diffstat (limited to 'doc/texture_packs.txt')
-rw-r--r--doc/texture_packs.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/texture_packs.txt b/doc/texture_packs.txt
index f738032b6..2e92e56f2 100644
--- a/doc/texture_packs.txt
+++ b/doc/texture_packs.txt
@@ -204,10 +204,13 @@ Here are targets you can choose from:
| special6 | The sixth entry in the special_tiles list |
| inventory | The inventory texture |
| wield | The texture used when held by the player |
+| align_world=N | Overrides the "world align" behaviour of tiles ¹ |
Nodes support all targets, but other items only support 'inventory'
and 'wield'.
+¹ : `N` is an integer [0,255]. Sets align_style = "world" and scale = N on the tile, refer to lua_api.txt for details.
+
### Using the special targets
The special* targets only apply to specific drawtypes: