mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +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
|
@ -39,6 +39,7 @@ struct ObjectProperties
|
|||
std::string mesh = "";
|
||||
v3f visual_size = v3f(1, 1, 1);
|
||||
std::vector<std::string> textures;
|
||||
std::string damage_texture_modifier = "^[brighten";
|
||||
std::vector<video::SColor> colors;
|
||||
v2s16 spritediv = v2s16(1, 1);
|
||||
v2s16 initial_sprite_basepos;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue