Use spider eyes in a separate texture
Currently uses a dummy texture
This commit is contained in:
parent
85fcaafcd0
commit
29b2684952
@ -27,7 +27,7 @@ local spider = {
|
||||
visual = "mesh",
|
||||
mesh = "mobs_mc_spider.b3d",
|
||||
textures = {
|
||||
{"mobs_mc_spider.png"},
|
||||
{"mobs_mc_spider.png^(mobs_mc_spider_eyes.png^[makealpha:0,0,0)"},
|
||||
},
|
||||
visual_size = {x=3, y=3},
|
||||
makes_footstep_sound = false,
|
||||
@ -62,7 +62,7 @@ mobs:register_mob("mobs_mc:spider", spider)
|
||||
|
||||
-- Cave spider
|
||||
local cave_spider = table.copy(spider)
|
||||
cave_spider.textures = { {"mobs_mc_cave_spider.png"} }
|
||||
cave_spider.textures = { {"mobs_mc_cave_spider.png^(mobs_mc_spider_eyes.png^[makealpha:0,0,0)"} }
|
||||
-- TODO: Poison damage
|
||||
-- TODO: Revert damage to 2
|
||||
cave_spider.damage = 3 -- damage increased to undo non-existing poison
|
||||
|
BIN
textures/mobs_mc_spider_eyes.png
Normal file
BIN
textures/mobs_mc_spider_eyes.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 117 B |
Loading…
x
Reference in New Issue
Block a user