1
0
mirror of https://codeberg.org/tenplus1/mobs_monster.git synced 2024-12-23 01:10:26 +01:00

frost and healing tree monsters glow slightly

This commit is contained in:
tenplus1 2024-10-31 10:33:16 +00:00
parent fc1c015d73
commit ddc541f8ed

View File

@ -22,7 +22,7 @@ local tree_types = {
{name = "ethereal:frost_leaves", chance = 1, min = 1, max = 2}, {name = "ethereal:frost_leaves", chance = 1, min = 1, max = 2},
{name = "ethereal:frost_tree", chance = 2, min = 1, max = 2}, {name = "ethereal:frost_tree", chance = 2, min = 1, max = 2},
{name = "ethereal:crystal_spike", chance = 4, min = 0, max = 2} {name = "ethereal:crystal_spike", chance = 4, min = 0, max = 2}
} }, glow = 1
}, },
{ nodes = {"ethereal:yellowleaves"}, { nodes = {"ethereal:yellowleaves"},
@ -32,7 +32,7 @@ local tree_types = {
{name = "ethereal:yellowleaves", chance = 1, min = 1, max = 2}, {name = "ethereal:yellowleaves", chance = 1, min = 1, max = 2},
{name = "ethereal:yellow_tree_sapling", chance = 2, min = 0, max = 2}, {name = "ethereal:yellow_tree_sapling", chance = 2, min = 0, max = 2},
{name = "ethereal:golden_apple", chance = 3, min = 0, max = 2} {name = "ethereal:golden_apple", chance = 3, min = 0, max = 2}
} }, glow = 1
}, },
{ nodes = {"default:acacia_bush_leaves"}, { nodes = {"default:acacia_bush_leaves"},
@ -119,6 +119,8 @@ mobs:register_mob("mobs_monster:tree_monster", {
self.base_texture = tmp.skins self.base_texture = tmp.skins
self.object:set_properties({textures = tmp.skins}) self.object:set_properties({textures = tmp.skins})
if tmp.glow then self.object:set_properties({glow = tmp.glow}) end
if tmp.drops then self.drops = tmp.drops end if tmp.drops then self.drops = tmp.drops end
if tmp.explode then if tmp.explode then