mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-11-27 18:12:59 +00:00
Enable alpha for mobs
This commit is contained in:
parent
d29c045ad8
commit
393bc195fb
3 changed files with 4 additions and 0 deletions
|
@ -3712,6 +3712,7 @@ end
|
|||
|
||||
minetest.register_entity(name, {
|
||||
|
||||
use_texture_alpha = true,
|
||||
stepheight = def.stepheight or 0.6,
|
||||
name = name,
|
||||
type = def.type,
|
||||
|
|
|
@ -78,6 +78,9 @@ local slime_big = {
|
|||
attack = "green_slime_attack",
|
||||
distance = 16,
|
||||
},
|
||||
do_custom = function(self)
|
||||
ice_texture_alpha = minetest.features.object_use_texture_alpha and "blend" or true
|
||||
end,
|
||||
damage = 4,
|
||||
reach = 3,
|
||||
armor = 100,
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 992 B After Width: | Height: | Size: 2 KiB |
Loading…
Reference in a new issue