easter egg enhancements

This commit is contained in:
tchncs 2019-04-13 17:11:40 +02:00 committed by Milan
parent da2d3ee5df
commit 3179ab9494
2 changed files with 59 additions and 63 deletions

View File

@ -65,8 +65,8 @@ mobs:register_mob("illuna:event_egg", {
type = "animal",
passive = true,
reach = 1,
hp_min = 50,
hp_max = 130,
hp_min = 80,
hp_max = 170,
armor = 600,
collisionbox = {-0.1, -0.12, -0.1, 0.1, 0.12, 0.1},
visual = "mesh",
@ -79,14 +79,17 @@ mobs:register_mob("illuna:event_egg", {
makes_footstep_sound = false,
runaway = true,
jump = true,
walk_chance = 0,
walk_velocity = 2,
walk_chance = 20,
walk_velocity = .4,
run_velocity = 2,
runaway_from = "player",
glow = 4,
stepheight = 0.6,
jump_chance = 5,
jump_chance = 18,
water_damage = 0,
lava_damage = 50,
light_damage = 0,
fear_height = 5,
fear_height = 8,
view_range = 8,
drops = {
{name = "bows:arrow_rainbow", chance = 1, min = 2, max = 15},
@ -95,6 +98,5 @@ mobs:register_mob("illuna:event_egg", {
},
})
-- TODO: doublecheck the spawnchance
mobs:register_spawn("illuna:event_egg", {"default:grass_5"}, 20, 10, 700, 2, 31000, true)
mobs:register_egg("illuna:event_egg", "Event Egg", "event_egg_item.png", 0)

View File

@ -1,66 +1,60 @@
register_stair_slab_panel_micro("stone_block", "block", "default:stone_block",
{cracky=3},
{"default_stone_block.png"},
"Stone Block",
"block",
0
)
stairsplus:register_all("default", "stone_block", "default:stone_block", {
description = "Stone Block",
tiles = {"default_stone_block.png"},
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
})
register_stair_slab_panel_micro("destert_stone_block", "block", "default:desert_stone_block",
{cracky=3},
{"default_desert_stone_block.png"},
"Desert Stone Block",
"block",
0
)
stairsplus:register_all("mordefaulteblocks", "desert_stone_block", "default:desert_stone_block", {
description = "Desert Stone Block",
tiles = {"default_desert_stone_block.png"},
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
})
register_stair_slab_panel_micro("sandstone_block", "block", "default:sandstone_block",
{cracky=3},
{"default_sandstone_block.png"},
"Sandstone Block",
"block",
0
)
stairsplus:register_all("default", "sandstone_block", "default:sandstone_block", {
description = "Sandstone Block",
tiles = {"default_sandstone_block.png"},
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
})
register_stair_slab_panel_micro("obsidian_block", "block", "default:obsidian_block",
{cracky=3},
{"default_obsidian_block.png"},
"Obsidian Block",
"block",
0
)
stairsplus:register_all("default", "obsidian_block", "default:obsidian_block", {
description = "Obsidian Block",
tiles = {"default_obsidian_block.png"},
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
})
register_stair_slab_panel_micro("tinblock", "block", "default:tinblock",
{cracky=3},
{"default_tin_block.png"},
"Tin Block",
"block",
0
)
stairsplus:register_all("default", "tinblock", "default:tinblock", {
description = "Tin Block",
tiles = {"default_tinblock.png"},
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
})
register_stair_slab_panel_micro("twigs", "block", "trunks:twigs",
{cracky=3},
{"trunks_twigs.png"},
"Twigs Block",
"block",
0
)
stairsplus:register_all("trunks", "twigs", "trunks:twigs", {
description = "Twigs",
tiles = {"trunks_twigs.png"},
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
})
register_stair_slab_panel_micro("illuna_stonebrick", "block", "illuna:stonebrick",
{cracky=3},
{"default_stone_brick.png"},
"Stonebrick",
"block",
3
)
stairsplus:register_all("illuna", "stonebrick", "illuna:stonebrick", {
description = "Illuna Stonebrick",
tiles = {"default_stone_brick.png"},
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
glow = 3,
})
register_stair_slab_panel_micro("ethereal_willow_trunk", "block", "ethereal:willow_trunk",
{cracky=3},
{"willow_trunk.png"},
"Willow Trunk",
"block",
3
)
stairsplus:register_all("ethereal", "willow_trunk", "ethereal:willow_trunk", {
description = "Willow Trunk",
tiles = {"willow_trunk.png"},
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
glow = 3,
})
local name = {"red", "green", "white", "black", "blue", "brown", "cyan",
"grey", "dark_green", "dark_grey", "magenta", "orange", "pink",