mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-25 10:52:25 +01:00
Player damage texture modifier
This commit is contained in:
parent
fbd4a3a516
commit
2bc5a281f5
@ -59,6 +59,7 @@ function mcl_player.player_set_model(player, model_name)
|
||||
textures = player_textures[name] or model.textures,
|
||||
visual = "mesh",
|
||||
visual_size = model.visual_size or {x=1, y=1},
|
||||
damage_texture_modifier = "^[colorize:red:130",
|
||||
})
|
||||
mcl_player.player_set_animation(player, "stand")
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user