forked from VoxeLibre/VoxeLibre
Format file
This commit is contained in:
parent
2d05f9bc89
commit
489d3b7da6
|
@ -15,15 +15,15 @@ mcl_mobs.register_mob("mobs_mc:silverfish", {
|
||||||
hp_max = 8,
|
hp_max = 8,
|
||||||
xp_min = 5,
|
xp_min = 5,
|
||||||
xp_max = 5,
|
xp_max = 5,
|
||||||
armor = {fleshy = 100, arthropod = 100},
|
armor = { fleshy = 100, arthropod = 100 },
|
||||||
collisionbox = {-0.4, -0.01, -0.4, 0.4, 0.44, 0.4},
|
collisionbox = { -0.4, -0.01, -0.4, 0.4, 0.44, 0.4 },
|
||||||
visual = "mesh",
|
visual = "mesh",
|
||||||
mesh = "mobs_mc_silverfish.b3d",
|
mesh = "mobs_mc_silverfish.b3d",
|
||||||
textures = {
|
textures = {
|
||||||
{"mobs_mc_silverfish.png"},
|
{ "mobs_mc_silverfish.png" },
|
||||||
},
|
},
|
||||||
pathfinding = 1,
|
pathfinding = 1,
|
||||||
visual_size = {x=3, y=3},
|
visual_size = { x = 3, y = 3 },
|
||||||
sounds = {
|
sounds = {
|
||||||
random = "mobs_mc_silverfish_idle",
|
random = "mobs_mc_silverfish_idle",
|
||||||
death = "mobs_mc_silverfish_death",
|
death = "mobs_mc_silverfish_death",
|
||||||
|
@ -36,12 +36,12 @@ mcl_mobs.register_mob("mobs_mc:silverfish", {
|
||||||
jump = true,
|
jump = true,
|
||||||
fear_height = 4,
|
fear_height = 4,
|
||||||
replace_what = {
|
replace_what = {
|
||||||
{"mcl_core:stone", "mcl_monster_eggs:monster_egg_stone", -1},
|
{ "mcl_core:stone", "mcl_monster_eggs:monster_egg_stone", -1 },
|
||||||
{"mcl_core:cobble", "mcl_monster_eggs:monster_egg_cobble", -1},
|
{ "mcl_core:cobble", "mcl_monster_eggs:monster_egg_cobble", -1 },
|
||||||
{"mcl_core:stonebrick", "mcl_monster_eggs:monster_egg_stonebrick", -1},
|
{ "mcl_core:stonebrick", "mcl_monster_eggs:monster_egg_stonebrick", -1 },
|
||||||
{"mcl_core:stonebrickmossy", "mcl_monster_eggs:monster_egg_stonebrickmossy", -1},
|
{ "mcl_core:stonebrickmossy", "mcl_monster_eggs:monster_egg_stonebrickmossy", -1 },
|
||||||
{"mcl_core:stonebrickcracked", "mcl_monster_eggs:monster_egg_stonebrickcracked", -1},
|
{ "mcl_core:stonebrickcracked", "mcl_monster_eggs:monster_egg_stonebrickcracked", -1 },
|
||||||
{"mcl_core:stonebrickcarved", "mcl_monster_eggs:monster_egg_stonebrickcarved", -1},
|
{ "mcl_core:stonebrickcarved", "mcl_monster_eggs:monster_egg_stonebrickcarved", -1 },
|
||||||
},
|
},
|
||||||
replace_rate = 2,
|
replace_rate = 2,
|
||||||
animation = {
|
animation = {
|
||||||
|
@ -67,8 +67,8 @@ if minetest.get_modpath("default") and mobs_mc.create_monster_egg_nodes then
|
||||||
end
|
end
|
||||||
minetest.register_node("mobs_mc:monster_egg_stone", {
|
minetest.register_node("mobs_mc:monster_egg_stone", {
|
||||||
description = "Stone Monster Egg",
|
description = "Stone Monster Egg",
|
||||||
tiles = {"default_stone.png"},
|
tiles = { "default_stone.png" },
|
||||||
groups = {oddly_breakable_by_hand = 2, spawns_silverfish = 1},
|
groups = { oddly_breakable_by_hand = 2, spawns_silverfish = 1 },
|
||||||
drop = '',
|
drop = '',
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
|
@ -77,9 +77,9 @@ if minetest.get_modpath("default") and mobs_mc.create_monster_egg_nodes then
|
||||||
|
|
||||||
minetest.register_node("mobs_mc:monster_egg_cobble", {
|
minetest.register_node("mobs_mc:monster_egg_cobble", {
|
||||||
description = "Cobblestone Monster Egg",
|
description = "Cobblestone Monster Egg",
|
||||||
tiles = {"default_cobble.png"},
|
tiles = { "default_cobble.png" },
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = {oddly_breakable_by_hand = 2, spawns_silverfish = 1},
|
groups = { oddly_breakable_by_hand = 2, spawns_silverfish = 1 },
|
||||||
drop = '',
|
drop = '',
|
||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
after_dig_node = spawn_silverfish,
|
after_dig_node = spawn_silverfish,
|
||||||
|
@ -87,9 +87,9 @@ if minetest.get_modpath("default") and mobs_mc.create_monster_egg_nodes then
|
||||||
|
|
||||||
minetest.register_node("mobs_mc:monster_egg_mossycobble", {
|
minetest.register_node("mobs_mc:monster_egg_mossycobble", {
|
||||||
description = "Mossy Cobblestone Monster Egg",
|
description = "Mossy Cobblestone Monster Egg",
|
||||||
tiles = {"default_mossycobble.png"},
|
tiles = { "default_mossycobble.png" },
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = {oddly_breakable_by_hand = 2, spawns_silverfish = 1},
|
groups = { oddly_breakable_by_hand = 2, spawns_silverfish = 1 },
|
||||||
drop = '',
|
drop = '',
|
||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
after_dig_node = spawn_silverfish,
|
after_dig_node = spawn_silverfish,
|
||||||
|
@ -99,9 +99,9 @@ if minetest.get_modpath("default") and mobs_mc.create_monster_egg_nodes then
|
||||||
description = "Stone Brick Monster Egg",
|
description = "Stone Brick Monster Egg",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
place_param2 = 0,
|
place_param2 = 0,
|
||||||
tiles = {"default_stone_brick.png"},
|
tiles = { "default_stone_brick.png" },
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = {oddly_breakable_by_hand = 2, spawns_silverfish = 1},
|
groups = { oddly_breakable_by_hand = 2, spawns_silverfish = 1 },
|
||||||
drop = '',
|
drop = '',
|
||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
after_dig_node = spawn_silverfish,
|
after_dig_node = spawn_silverfish,
|
||||||
|
@ -109,9 +109,9 @@ if minetest.get_modpath("default") and mobs_mc.create_monster_egg_nodes then
|
||||||
|
|
||||||
minetest.register_node("mobs_mc:monster_egg_stone_block", {
|
minetest.register_node("mobs_mc:monster_egg_stone_block", {
|
||||||
description = "Stone Block Monster Egg",
|
description = "Stone Block Monster Egg",
|
||||||
tiles = {"default_stone_block.png"},
|
tiles = { "default_stone_block.png" },
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = {oddly_breakable_by_hand = 2, spawns_silverfish = 1},
|
groups = { oddly_breakable_by_hand = 2, spawns_silverfish = 1 },
|
||||||
drop = '',
|
drop = '',
|
||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
after_dig_node = spawn_silverfish,
|
after_dig_node = spawn_silverfish,
|
||||||
|
|
Loading…
Reference in New Issue