mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-23 02:51:06 +01:00
Player damage texture modifier
This commit is contained in:
parent
fbd4a3a516
commit
2bc5a281f5
1 changed files with 1 additions and 0 deletions
|
@ -59,6 +59,7 @@ function mcl_player.player_set_model(player, model_name)
|
||||||
textures = player_textures[name] or model.textures,
|
textures = player_textures[name] or model.textures,
|
||||||
visual = "mesh",
|
visual = "mesh",
|
||||||
visual_size = model.visual_size or {x=1, y=1},
|
visual_size = model.visual_size or {x=1, y=1},
|
||||||
|
damage_texture_modifier = "^[colorize:red:130",
|
||||||
})
|
})
|
||||||
mcl_player.player_set_animation(player, "stand")
|
mcl_player.player_set_animation(player, "stand")
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue