1
0
Fork 0

Rename monster egg to “infested” blocks

This commit is contained in:
Wuzzy 2017-12-11 01:28:53 +01:00
parent ea649b7e71
commit 2c9b686885
2 changed files with 8 additions and 8 deletions

View File

@ -1 +1 @@
Adds “monster eggs”. These are blocks which disguise themselves as stone blocks and spawn a silverfish when broken. Adds infested blocks: Blocks which which disguise themselves as stone blocks and spawn a silverfish when broken.

View File

@ -25,18 +25,18 @@ local register_block = function(subname, description, tiles, is_ground_content)
is_ground_content = false, is_ground_content = false,
sounds = mcl_sounds.node_sound_stone_defaults(), sounds = mcl_sounds.node_sound_stone_defaults(),
after_dig_node = spawn_silverfish, after_dig_node = spawn_silverfish,
_doc_items_longdesc = S("A monster egg is a block from which a silverfish will pop out when it is broken. It looks identical to its normal counterpart."), _doc_items_longdesc = S("An infested block is a block from which a silverfish will pop out when it is broken. It looks identical to its normal counterpart."),
_mcl_hardness = 0.75, _mcl_hardness = 0.75,
_mcl_blast_resistance = 3.75, _mcl_blast_resistance = 3.75,
}) })
end end
-- Register all the monster egg blocks -- Register all the monster egg blocks
register_block("stone", S("Stone Monster Egg"), {"default_stone.png"}, true) register_block("stone", S("Infested Stone"), {"default_stone.png"}, true)
register_block("cobble", S("Cobblestone Monster Egg"), {"default_cobble.png"}) register_block("cobble", S("Infested Cobblestone"), {"default_cobble.png"})
register_block("stonebrick", S("Stone Bricks Monster Egg"), {"default_stone_brick.png"}) register_block("stonebrick", S("Infested Stone Bricks"), {"default_stone_brick.png"})
register_block("stonebrickcracked", S("Cracked Stone Bricks Monster Egg"), {"mcl_core_stonebrick_cracked.png"}) register_block("stonebrickcracked", S("Infested Cracked Stone Bricks"), {"mcl_core_stonebrick_cracked.png"})
register_block("stonebrickmossy", S("Mossy Stone Bricks Monster Egg"), {"mcl_core_stonebrick_mossy.png"}) register_block("stonebrickmossy", S("Infested Mossy Stone Bricks"), {"mcl_core_stonebrick_mossy.png"})
register_block("stonebrickcarved", S("Chiseled Stone Bricks Monster Egg"), {"mcl_core_stonebrick_carved.png"}) register_block("stonebrickcarved", S("Infested Chiseled Stone Bricks"), {"mcl_core_stonebrick_carved.png"})