1
0
Fork 0

Add monster egg help

objects
Wuzzy 2017-07-06 00:16:11 +02:00
parent 20bd869738
commit bd076dcb69
2 changed files with 2 additions and 0 deletions

View File

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

View File

@ -25,6 +25,7 @@ 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."),
_mcl_hardness = 0.75, _mcl_hardness = 0.75,
_mcl_blast_resistance = 3.75, _mcl_blast_resistance = 3.75,
}) })