mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Damage texture modifier (#9833)
Adds a new object property "damage_texture_modifier"
This commit is contained in:
parent
6e1372bd89
commit
9ba24f89f5
5 changed files with 18 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue