summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLars Müller <34514239+appgurueu@users.noreply.github.com>2020-05-11 21:41:36 +0200
committerGitHub <noreply@github.com>2020-05-11 21:41:36 +0200
commit9ba24f89f5846de6a8f0d7e01c89acfee1254704 (patch)
tree868e0cee87d50271c4fe088d87aa2cb10a849f7f /doc
parent6e1372bd894d955300c40d69e5c882e9cc7d7523 (diff)
downloadminetest-9ba24f89f5846de6a8f0d7e01c89acfee1254704.tar.gz
minetest-9ba24f89f5846de6a8f0d7e01c89acfee1254704.tar.bz2
minetest-9ba24f89f5846de6a8f0d7e01c89acfee1254704.zip
Damage texture modifier (#9833)
Adds a new object property "damage_texture_modifier"
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 4078e21a1..db13f4224 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -6589,6 +6589,9 @@ Player properties need to be saved manually.
-- deleted when the block gets unloaded.
-- The get_staticdata() callback is never called then.
-- Defaults to 'true'.
+
+ damage_texture_modifier = "^[brighten",
+ -- Texture modifier to be applied for a short duration when object is hit
}
Entity definition