2017-02-08 17:54:56 +00:00
minetest.register_node ( " mcl_nether:glowstone " , {
description = " Glowstone " ,
2017-03-11 18:26:32 +00:00
_doc_items_longdesc = " Glowstone is a naturally-glowing block which is home to the Nether. " ,
2017-02-08 17:54:56 +00:00
tiles = { " mcl_nether_glowstone.png " } ,
is_ground_content = true ,
stack_max = 64 ,
2017-03-11 04:34:58 +00:00
groups = { handy = 1 , building_block = 1 , material_glass = 1 } ,
2017-02-08 17:54:56 +00:00
drop = {
max_items = 1 ,
items = {
{ items = { ' mcl_nether:glowstone_dust 4 ' } , rarity = 3 } ,
{ items = { ' mcl_nether:glowstone_dust 3 ' } , rarity = 3 } ,
{ items = { ' mcl_nether:glowstone_dust 2 ' } } ,
}
} ,
2017-06-13 12:46:21 +00:00
paramtype = " light " ,
sunlight_propagates = true ,
2017-02-08 17:54:56 +00:00
-- Real light level: 15 (but Minetest caps at 14)
light_source = 14 ,
2017-02-11 17:46:23 +00:00
sounds = mcl_sounds.node_sound_glass_defaults ( ) ,
2017-02-22 15:03:59 +00:00
_mcl_blast_resistance = 1.5 ,
2017-02-27 00:40:30 +00:00
_mcl_hardness = 0.3 ,
2017-02-08 17:54:56 +00:00
} )
minetest.register_node ( " mcl_nether:quartz_ore " , {
description = " Nether Quartz Ore " ,
2017-03-11 18:26:32 +00:00
_doc_items_longdesc = " Nether quartz ore is an ore containing nether quartz. It is commonly found around netherrack in the Nether. " ,
2017-02-08 17:54:56 +00:00
stack_max = 64 ,
2017-02-08 18:52:04 +00:00
tiles = { " mcl_nether_quartz_ore.png " } ,
2017-02-08 18:00:41 +00:00
is_ground_content = true ,
2017-03-11 04:34:58 +00:00
groups = { pickaxey = 1 , building_block = 1 , material_stone = 1 } ,
2017-02-08 18:01:58 +00:00
drop = ' mcl_nether:quartz ' ,
2017-02-11 17:46:23 +00:00
sounds = mcl_sounds.node_sound_stone_defaults ( ) ,
2017-02-22 15:03:59 +00:00
_mcl_blast_resistance = 15 ,
2017-02-27 00:40:30 +00:00
_mcl_hardness = 3 ,
2017-02-08 17:54:56 +00:00
} )
2017-02-08 18:52:04 +00:00
minetest.register_node ( " mcl_nether:netherrack " , {
description = " Netherrack " ,
2017-07-26 20:08:20 +00:00
_doc_items_longdesc = " Netherrack is a stone-like block home to the Nether. Starting a fire on this block will create an eternal fire. " ,
2017-02-08 18:52:04 +00:00
stack_max = 64 ,
tiles = { " mcl_nether_netherrack.png " } ,
is_ground_content = true ,
2017-07-05 18:14:37 +00:00
groups = { pickaxey = 1 , building_block = 1 , material_stone = 1 , enderman_takable = 1 } ,
2017-02-11 17:46:23 +00:00
sounds = mcl_sounds.node_sound_stone_defaults ( ) ,
2017-02-22 15:03:59 +00:00
_mcl_blast_resistance = 2 ,
2017-02-27 00:40:30 +00:00
_mcl_hardness = 0.4 ,
2017-02-08 18:52:04 +00:00
} )
2017-02-08 23:51:43 +00:00
minetest.register_node ( " mcl_nether:magma " , {
description = " Magma Block " ,
2017-07-26 20:08:20 +00:00
_doc_items_longdesc = " Magma blocks are hot solid blocks which hurt anyone standing on it, unless they have fire resistance. Starting a fire on this block will create an eternal fire. " ,
2017-02-08 23:51:43 +00:00
stack_max = 64 ,
tiles = { { name = " mcl_nether_magma.png " , animation = { type = " vertical_frames " , aspect_w = 32 , aspect_h = 32 , length = 1.5 } } } ,
is_ground_content = true ,
light_source = 3 ,
2017-02-10 03:31:02 +00:00
sunlight_propagates = false ,
2017-03-11 04:34:58 +00:00
groups = { pickaxey = 1 , building_block = 1 , material_stone = 1 } ,
2017-02-11 17:46:23 +00:00
sounds = mcl_sounds.node_sound_stone_defaults ( ) ,
2017-02-08 23:51:43 +00:00
-- From walkover mod
on_walk_over = function ( loc , nodeiamon , player )
-- Hurt players standing on top of this block
2017-07-24 17:20:06 +00:00
if player : get_hp ( ) > 0 then
mcl_death_messages.player_damage ( player , string.format ( " %s stood too long on a magma block. " , player : get_player_name ( ) ) )
player : set_hp ( player : get_hp ( ) - 1 )
end
2017-02-08 23:51:43 +00:00
end ,
2017-02-22 15:03:59 +00:00
_mcl_blast_resistance = 2.5 ,
2017-02-27 00:40:30 +00:00
_mcl_hardness = 0.5 ,
2017-02-08 23:51:43 +00:00
} )
2017-02-09 00:56:55 +00:00
minetest.register_node ( " mcl_nether:soul_sand " , {
description = " Soul Sand " ,
2017-03-10 03:59:36 +00:00
_doc_items_longdesc = " Soul sand is a block from the Nether. One can only slowly walk on soul sand. The slowing effect is amplified when the soul sand is on top of ice, packed ice or a slime block. " ,
2017-02-09 00:56:55 +00:00
stack_max = 64 ,
tiles = { " mcl_nether_soul_sand.png " } ,
is_ground_content = true ,
2017-03-11 04:34:58 +00:00
groups = { handy = 1 , shovely = 1 , building_block = 1 , soil_nether_wart = 1 , material_sand = 1 } ,
2017-02-09 00:56:55 +00:00
collision_box = {
type = " fixed " ,
fixed = { - 0.5 , - 0.5 , - 0.5 , 0.5 , 0.5 - 2 / 16 , 0.5 } ,
} ,
2017-02-11 17:46:23 +00:00
sounds = mcl_sounds.node_sound_sand_defaults ( ) ,
2017-02-22 15:03:59 +00:00
_mcl_blast_resistance = 2.5 ,
2017-02-27 00:40:30 +00:00
_mcl_hardness = 0.5 ,
2017-05-22 22:52:31 +00:00
-- Movement handling is done in mcl_playerplus mod
2017-02-09 00:56:55 +00:00
} )
2017-02-08 18:52:04 +00:00
minetest.register_node ( " mcl_nether:nether_brick " , {
-- Original name: Nether Brick
description = " Nether Brick Block " ,
2017-03-18 17:01:28 +00:00
_doc_items_longdesc = doc.sub . items.temp . build ,
2017-02-08 18:52:04 +00:00
stack_max = 64 ,
tiles = { " mcl_nether_nether_brick.png " } ,
is_ground_content = false ,
2017-03-11 04:34:58 +00:00
groups = { pickaxey = 1 , building_block = 1 , material_stone = 1 } ,
2017-02-11 17:46:23 +00:00
sounds = mcl_sounds.node_sound_stone_defaults ( ) ,
2017-02-22 15:03:59 +00:00
_mcl_blast_resistance = 30 ,
2017-02-27 00:40:30 +00:00
_mcl_hardness = 2 ,
2017-02-08 18:52:04 +00:00
} )
minetest.register_node ( " mcl_nether:red_nether_brick " , {
-- Original name: Red Nether Brick
description = " Red Nether Brick Block " ,
2017-03-18 17:01:28 +00:00
_doc_items_longdesc = doc.sub . items.temp . build ,
2017-02-08 18:52:04 +00:00
stack_max = 64 ,
tiles = { " mcl_nether_red_nether_brick.png " } ,
is_ground_content = false ,
2017-03-11 04:34:58 +00:00
groups = { pickaxey = 1 , building_block = 1 , material_stone = 1 } ,
2017-02-11 17:46:23 +00:00
sounds = mcl_sounds.node_sound_stone_defaults ( ) ,
2017-02-22 15:03:59 +00:00
_mcl_blast_resistance = 30 ,
2017-02-27 00:40:30 +00:00
_mcl_hardness = 2 ,
2017-02-08 18:52:04 +00:00
} )
2017-02-08 19:07:54 +00:00
minetest.register_node ( " mcl_nether:nether_wart_block " , {
description = " Nether Wart Block " ,
2017-03-11 18:26:32 +00:00
_doc_items_longdesc = " A nether wart block is a purely decorational block made from nether wart. " ,
2017-02-08 19:07:54 +00:00
stack_max = 64 ,
tiles = { " mcl_nether_nether_wart_block.png " } ,
is_ground_content = false ,
2017-02-27 00:40:30 +00:00
groups = { handy = 1 , building_block = 1 } ,
2017-02-11 17:46:23 +00:00
sounds = mcl_sounds.node_sound_leaves_defaults (
2017-02-08 19:07:54 +00:00
{
footstep = { name = " default_dirt_footstep " , gain = 0.7 } ,
dug = { name = " default_dirt_footstep " , gain = 1.5 } ,
}
) ,
2017-02-22 15:03:59 +00:00
_mcl_blast_resistance = 5 ,
2017-03-20 19:33:20 +00:00
_mcl_hardness = 1 ,
2017-02-08 19:07:54 +00:00
} )
2017-02-08 17:54:56 +00:00
minetest.register_node ( " mcl_nether:quartz_block " , {
description = " Block of Quartz " ,
2017-03-18 17:01:28 +00:00
_doc_items_longdesc = doc.sub . items.temp . build ,
2017-02-08 17:54:56 +00:00
stack_max = 64 ,
2017-02-08 18:00:41 +00:00
is_ground_content = false ,
2017-02-08 17:54:56 +00:00
tiles = { " mcl_nether_quartz_block_top.png " , " mcl_nether_quartz_block_bottom.png " , " mcl_nether_quartz_block_side.png " } ,
2017-03-11 04:34:58 +00:00
groups = { pickaxey = 1 , quartz_block = 1 , building_block = 1 , material_stone = 1 } ,
2017-02-11 17:46:23 +00:00
sounds = mcl_sounds.node_sound_stone_defaults ( ) ,
2017-02-22 15:03:59 +00:00
_mcl_blast_resistance = 4 ,
2017-02-27 00:40:30 +00:00
_mcl_hardness = 0.8 ,
2017-02-08 17:54:56 +00:00
} )
minetest.register_node ( " mcl_nether:quartz_chiseled " , {
description = " Chiseled Quartz Block " ,
2017-03-18 17:01:28 +00:00
_doc_items_longdesc = doc.sub . items.temp . build ,
2017-02-08 17:54:56 +00:00
stack_max = 64 ,
is_ground_content = false ,
tiles = { " mcl_nether_quartz_chiseled_top.png " , " mcl_nether_quartz_chiseled_top.png " , " mcl_nether_quartz_chiseled_side.png " } ,
2017-03-11 04:34:58 +00:00
groups = { pickaxey = 1 , quartz_block = 1 , building_block = 1 , material_stone = 1 } ,
2017-02-11 17:46:23 +00:00
sounds = mcl_sounds.node_sound_stone_defaults ( ) ,
2017-02-22 15:03:59 +00:00
_mcl_blast_resistance = 4 ,
2017-02-27 00:40:30 +00:00
_mcl_hardness = 0.8 ,
2017-02-08 17:54:56 +00:00
} )
minetest.register_node ( " mcl_nether:quartz_pillar " , {
description = " Pillar Quartz Block " ,
2017-03-18 17:01:28 +00:00
_doc_items_longdesc = doc.sub . items.temp . build ,
2017-02-08 17:54:56 +00:00
stack_max = 64 ,
paramtype2 = " facedir " ,
2017-02-08 18:00:41 +00:00
is_ground_content = false ,
2017-02-11 03:37:14 +00:00
on_place = mcl_util.rotate_axis ,
2017-02-08 17:54:56 +00:00
tiles = { " mcl_nether_quartz_pillar_top.png " , " mcl_nether_quartz_pillar_top.png " , " mcl_nether_quartz_pillar_side.png " } ,
2017-03-11 04:34:58 +00:00
groups = { pickaxey = 1 , quartz_block = 1 , building_block = 1 , material_stone = 1 } ,
2017-02-11 17:46:23 +00:00
sounds = mcl_sounds.node_sound_stone_defaults ( ) ,
2017-02-22 15:03:59 +00:00
_mcl_blast_resistance = 4 ,
2017-02-27 00:40:30 +00:00
_mcl_hardness = 0.8 ,
2017-02-08 17:54:56 +00:00
} )
minetest.register_craftitem ( " mcl_nether:glowstone_dust " , {
description = " Glowstone Dust " ,
2017-03-11 18:26:32 +00:00
_doc_items_longdesc = " Glowstone dust is the dust which comes out of broken glowstones. It is mainly used in crafting and brewing. " ,
2017-02-08 17:54:56 +00:00
inventory_image = " mcl_nether_glowstone_dust.png " ,
stack_max = 64 ,
groups = { craftitem = 1 } ,
} )
minetest.register_craftitem ( " mcl_nether:quartz " , {
description = " Nether Quartz " ,
2017-03-11 18:26:32 +00:00
_doc_items_longdesc = " Nether quartz is a versatile crafting ingredient. " ,
2017-02-08 17:54:56 +00:00
inventory_image = " mcl_nether_quartz.png " ,
stack_max = 64 ,
groups = { craftitem = 1 } ,
} )
2017-02-08 18:52:04 +00:00
minetest.register_craftitem ( " mcl_nether:netherbrick " , {
description = " Nether Brick " ,
2017-03-11 18:26:32 +00:00
_doc_items_longdesc = " Nether bricks are the main crafting ingredient for crafting nether brick blocks and nether fences. " ,
2017-02-08 18:52:04 +00:00
inventory_image = " mcl_nether_netherbrick.png " ,
stack_max = 64 ,
groups = { craftitem = 1 } ,
} )
2017-02-08 17:54:56 +00:00
minetest.register_craft ( {
type = " cooking " ,
output = " mcl_nether:quartz " ,
recipe = " mcl_nether:quartz_ore " ,
cooktime = 10 ,
} )
minetest.register_craft ( {
output = ' mcl_nether:quartz_block ' ,
recipe = {
{ ' mcl_nether:quartz ' , ' mcl_nether:quartz ' } ,
{ ' mcl_nether:quartz ' , ' mcl_nether:quartz ' } ,
}
} )
2017-02-08 18:52:04 +00:00
2017-02-08 17:54:56 +00:00
minetest.register_craft ( {
output = ' mcl_nether:quartz_pillar 2 ' ,
recipe = {
{ ' mcl_nether:quartz_block ' } ,
{ ' mcl_nether:quartz_block ' } ,
}
} )
minetest.register_craft ( {
output = " mcl_nether:glowstone " ,
recipe = {
{ ' mcl_nether:glowstone_dust ' , ' mcl_nether:glowstone_dust ' } ,
{ ' mcl_nether:glowstone_dust ' , ' mcl_nether:glowstone_dust ' } ,
}
} )
2017-02-08 23:51:43 +00:00
minetest.register_craft ( {
output = " mcl_nether:magma " ,
recipe = {
{ ' mcl_mobitems:magma_cream ' , ' mcl_mobitems:magma_cream ' } ,
{ ' mcl_mobitems:magma_cream ' , ' mcl_mobitems:magma_cream ' } ,
}
} )
2017-02-08 18:52:04 +00:00
minetest.register_craft ( {
type = " cooking " ,
output = " mcl_nether:netherbrick " ,
recipe = " mcl_nether:netherrack " ,
cooktime = 10 ,
} )
minetest.register_craft ( {
output = " mcl_nether:nether_brick " ,
recipe = {
{ ' mcl_nether:netherbrick ' , ' mcl_nether:netherbrick ' } ,
{ ' mcl_nether:netherbrick ' , ' mcl_nether:netherbrick ' } ,
}
} )
minetest.register_craft ( {
output = " mcl_nether:red_nether_brick " ,
recipe = {
2017-02-10 03:15:14 +00:00
{ ' mcl_nether:nether_wart_item ' , ' mcl_nether:netherbrick ' } ,
{ ' mcl_nether:netherbrick ' , ' mcl_nether:nether_wart_item ' } ,
2017-02-08 18:52:04 +00:00
}
} )
minetest.register_craft ( {
output = " mcl_nether:red_nether_brick " ,
recipe = {
2017-02-10 03:15:14 +00:00
{ ' mcl_nether:netherbrick ' , ' mcl_nether:nether_wart_item ' } ,
{ ' mcl_nether:nether_wart_item ' , ' mcl_nether:netherbrick ' } ,
2017-02-08 18:52:04 +00:00
}
} )
2017-02-08 19:07:54 +00:00
minetest.register_craft ( {
output = " mcl_nether:nether_wart_block " ,
recipe = {
2017-02-10 03:15:14 +00:00
{ ' mcl_nether:nether_wart_item ' , ' mcl_nether:nether_wart_item ' , ' mcl_nether:nether_wart_item ' } ,
{ ' mcl_nether:nether_wart_item ' , ' mcl_nether:nether_wart_item ' , ' mcl_nether:nether_wart_item ' } ,
{ ' mcl_nether:nether_wart_item ' , ' mcl_nether:nether_wart_item ' , ' mcl_nether:nether_wart_item ' } ,
2017-02-08 19:07:54 +00:00
}
} )
2017-02-08 18:52:04 +00:00
2017-02-10 03:15:14 +00:00
dofile ( minetest.get_modpath ( minetest.get_current_modname ( ) ) .. " /nether_wart.lua " )