Move all Nether stuff to new mod mcl_nether

This commit is contained in:
Wuzzy 2017-02-08 18:54:56 +01:00
parent 73800f34a5
commit 2ba067be86
24 changed files with 129 additions and 142 deletions

View File

@ -116,7 +116,7 @@ minetest.register_craft({
minetest.register_craft({
type = "shapeless",
output = 'mcl_core:granite',
recipe = {'mcl_core:diorite', 'mcl_core:quartz_crystal'},
recipe = {'mcl_core:diorite', 'mcl_nether:quartz'},
})
minetest.register_craft({
@ -128,15 +128,15 @@ minetest.register_craft({
minetest.register_craft({
output = 'mcl_core:diorite 2',
recipe = {
{'mcl_core:cobble', 'mcl_core:quartz_crystal'},
{'mcl_core:quartz_crystal', 'mcl_core:cobble'},
{'mcl_core:cobble', 'mcl_nether:quartz'},
{'mcl_nether:quartz', 'mcl_core:cobble'},
}
})
minetest.register_craft({
output = 'mcl_core:diorite 2',
recipe = {
{'mcl_core:quartz_crystal', 'mcl_core:cobble'},
{'mcl_core:cobble', 'mcl_core:quartz_crystal'},
{'mcl_nether:quartz', 'mcl_core:cobble'},
{'mcl_core:cobble', 'mcl_nether:quartz'},
}
})
@ -648,21 +648,6 @@ minetest.register_craft({
}
})
minetest.register_craft({
output = "mcl_core:glowstone",
recipe = {
{'mcl_core:glowstone_dust', 'mcl_core:glowstone_dust'},
{'mcl_core:glowstone_dust', 'mcl_core:glowstone_dust'},
}
})
minetest.register_craft({
output = 'mcl_core:glowstone_dust 4',
recipe = {
{'mcl_core:glowstone'},
}
})
minetest.register_craft({
output = "mcl_core:apple_gold",
recipe = {
@ -702,30 +687,6 @@ minetest.register_craft({
}
})
minetest.register_craft({
output = 'mcl_core:quartz_block',
recipe = {
{'mcl_core:quartz_crystal', 'mcl_core:quartz_crystal'},
{'mcl_core:quartz_crystal', 'mcl_core:quartz_crystal'},
}
})
minetest.register_craft({
output = 'mcl_core:quartz_chiseled 2',
recipe = {
{'stairs:slab_quartzblock'},
{'stairs:slab_quartzblock'},
}
})
minetest.register_craft({
output = 'mcl_core:quartz_pillar 2',
recipe = {
{'mcl_core:quartz_block'},
{'mcl_core:quartz_block'},
}
})
--
-- Crafting (tool repair)
@ -774,13 +735,6 @@ minetest.register_craft({
cooktime = 10,
})
minetest.register_craft({
type = "cooking",
output = "mcl_core:quartz_crystal",
recipe = "mcl_core:quartz_ore",
cooktime = 10,
})
minetest.register_craft({
type = "cooking",
output = "mcl_core:brick",

View File

@ -104,12 +104,6 @@ minetest.register_craftitem("mcl_core:gunpowder", {
groups = { craftitem=1 },
})
minetest.register_craftitem("mcl_core:glowstone_dust", {
description = "Glowstone Dust",
inventory_image = "default_glowstone_dust.png",
stack_max = 64,
groups = { craftitem=1 },
})
minetest.register_craftitem("mcl_core:sugar", {
description = "Sugar",
@ -139,13 +133,6 @@ minetest.register_craftitem("mcl_core:prismarine_shard", {
groups = { craftitem = 1 },
})
minetest.register_craftitem("mcl_core:quartz_crystal", {
description = "Nether Quartz",
inventory_image = "default_quartz_crystal.png",
stack_max = 64,
groups = { craftitem = 1 },
})
minetest.register_craftitem("mcl_core:apple", {
description = "Apple",
wield_image = "default_apple.png",

View File

@ -259,22 +259,6 @@ minetest.register_ore({
y_max = -50,
})
--
-- Glowstone
--
minetest.register_ore({
ore_type = "scatter",
ore = "mcl_core:glowstone",
wherein = "mcl_core:stone",
clust_scarcity = 50000,
clust_num_ores = 10,
clust_size = 5,
y_min = -59,
y_max = -0,
})
function mcl_core.generate_ore(name, wherein, minp, maxp, seed, chunks_per_volume, chunk_size, ore_per_chunk, y_min, y_max)
minetest.log('action', "WARNING: mcl_core.generate_ore is deprecated")

View File

@ -953,44 +953,6 @@ minetest.register_node("mcl_core:reeds", {
})
minetest.register_node("mcl_core:quartz_ore", {
description = "Nether Quartz Ore",
stack_max = 64,
tiles = {"default_quartz_ore.png"},
is_ground_content = false,
groups = {cracky=3,building_block=1},
drop = 'mcl_core:quartz_crystal',
sounds = mcl_core.node_sound_stone_defaults(),
})
minetest.register_node("mcl_core:quartz_block", {
description = "Block of Quartz",
stack_max = 64,
tiles = {"default_quartz_block_top.png", "default_quartz_block_bottom.png", "default_quartz_block_side.png"},
groups = {snappy=1,cracky=1,level=2,quartz_block=1,building_block=1},
sounds = mcl_core.node_sound_stone_defaults(),
})
minetest.register_node("mcl_core:quartz_chiseled", {
description = "Chiseled Quartz Block",
stack_max = 64,
is_ground_content = false,
tiles = {"default_quartz_chiseled_top.png", "default_quartz_chiseled_top.png", "default_quartz_chiseled_side.png"},
groups = {snappy=1,cracky=1,level=2,quartz_block=1,building_block=1},
sounds = mcl_core.node_sound_stone_defaults(),
})
minetest.register_node("mcl_core:quartz_pillar", {
description = "Pillar Quartz Block",
stack_max = 64,
paramtype2 = "facedir",
is_ground_content = true,
on_place = minetest.rotate_node,
tiles = {"default_quartz_pillar_top.png", "default_quartz_pillar_top.png", "default_quartz_pillar_side.png"},
groups = {snappy=1,cracky=1,level=2,quartz_block=1,building_block=1},
sounds = mcl_core.node_sound_stone_defaults(),
})
minetest.register_node("mcl_core:bedrock", {
description = "Bedrock",
tiles = {"default_bedrock.png"},
@ -1443,25 +1405,6 @@ minetest.register_node("mcl_core:grass", {
end
})
minetest.register_node("mcl_core:glowstone", {
description = "Glowstone",
tiles = {"default_glowstone.png"},
is_ground_content = true,
stack_max = 64,
groups = {oddly_breakable_by_hand=3,building_block=1},
drop = {
max_items = 1,
items = {
{items = {'mcl_core:glowdust 4'},rarity = 3},
{items = {'mcl_core:glowdust 3'},rarity = 3},
{items = {'mcl_core:glowdust 2'}},
}
},
-- Real light level: 15 (but Minetest caps at 14)
light_source = 14,
sounds = mcl_core.node_sound_glass_defaults(),
})
minetest.register_node("mcl_core:sponge", {
description = "Sponge",
drawtype = "normal",

View File

@ -22,6 +22,7 @@ local group_stereotypes = {
wood_stairs = "stairs:stairs_wood",
coal = "mcl_core:coal_lump",
shulker_box = "mcl_chests:violet_shulker_box",
quartz_block = "mcl_nether:quartz_block",
mesecon_conductor_craftable = "mesecons:wire_00000000_off",
}

View File

@ -0,0 +1 @@
mcl_core

114
mods/mcl_nether/init.lua Normal file
View File

@ -0,0 +1,114 @@
minetest.register_node("mcl_nether:glowstone", {
description = "Glowstone",
tiles = {"mcl_nether_glowstone.png"},
is_ground_content = true,
stack_max = 64,
groups = {oddly_breakable_by_hand=3,building_block=1},
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'}},
}
},
-- Real light level: 15 (but Minetest caps at 14)
light_source = 14,
sounds = mcl_core.node_sound_glass_defaults(),
})
minetest.register_node("mcl_nether:quartz_ore", {
description = "Nether Quartz Ore",
stack_max = 64,
tiles = {"mcl_nether_quartz_ore.png"},
is_ground_content = false,
groups = {cracky=3,building_block=1},
drop = 'mcl_nether:quartz_crystal',
sounds = mcl_core.node_sound_stone_defaults(),
})
minetest.register_node("mcl_nether:quartz_block", {
description = "Block of Quartz",
stack_max = 64,
tiles = {"mcl_nether_quartz_block_top.png", "mcl_nether_quartz_block_bottom.png", "mcl_nether_quartz_block_side.png"},
groups = {snappy=1,cracky=1,level=2,quartz_block=1,building_block=1},
sounds = mcl_core.node_sound_stone_defaults(),
})
minetest.register_node("mcl_nether:quartz_chiseled", {
description = "Chiseled Quartz Block",
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"},
groups = {snappy=1,cracky=1,level=2,quartz_block=1,building_block=1},
sounds = mcl_core.node_sound_stone_defaults(),
})
minetest.register_node("mcl_nether:quartz_pillar", {
description = "Pillar Quartz Block",
stack_max = 64,
paramtype2 = "facedir",
is_ground_content = true,
on_place = minetest.rotate_node,
tiles = {"mcl_nether_quartz_pillar_top.png", "mcl_nether_quartz_pillar_top.png", "mcl_nether_quartz_pillar_side.png"},
groups = {snappy=1,cracky=1,level=2,quartz_block=1,building_block=1},
sounds = mcl_core.node_sound_stone_defaults(),
})
minetest.register_craftitem("mcl_nether:glowstone_dust", {
description = "Glowstone Dust",
inventory_image = "mcl_nether_glowstone_dust.png",
stack_max = 64,
groups = { craftitem=1 },
})
minetest.register_craftitem("mcl_nether:quartz", {
description = "Nether Quartz",
inventory_image = "mcl_nether_quartz.png",
stack_max = 64,
groups = { craftitem = 1 },
})
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'},
}
})
minetest.register_craft({
output = 'mcl_nether:quartz_chiseled 2',
recipe = {
{'stairs:slab_quartzblock'},
{'stairs:slab_quartzblock'},
}
})
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'},
}
})

1
mods/mcl_nether/mod.conf Normal file
View File

@ -0,0 +1 @@
name = mcl_nether

View File

Before

Width:  |  Height:  |  Size: 475 B

After

Width:  |  Height:  |  Size: 475 B

View File

Before

Width:  |  Height:  |  Size: 237 B

After

Width:  |  Height:  |  Size: 237 B

View File

Before

Width:  |  Height:  |  Size: 473 B

After

Width:  |  Height:  |  Size: 473 B

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 923 B

After

Width:  |  Height:  |  Size: 923 B

View File

Before

Width:  |  Height:  |  Size: 948 B

After

Width:  |  Height:  |  Size: 948 B

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 390 B

After

Width:  |  Height:  |  Size: 390 B

View File

Before

Width:  |  Height:  |  Size: 797 B

After

Width:  |  Height:  |  Size: 797 B

View File

@ -130,7 +130,7 @@ minetest.register_craft({
})
minetest.register_craft({
output = "mcl_core:quartz_crystal",
output = "mcl_nether:quartz",
recipe = {
{"group:sand", "group:sand", "group:sand"},
{"group:sand", "group:sand", "group:sand"},

View File

@ -32,7 +32,7 @@ minetest.register_craft({
output = "node mesecons_lightstone:lightstone_off",
recipe = {
{'',"mesecons:redstone",''},
{"mesecons:redstone",'mcl_core:glowstone',"mesecons:redstone"},
{"mesecons:redstone",'mcl_nether:glowstone',"mesecons:redstone"},
{'','mesecons:redstone',''},
}
})

View File

@ -63,7 +63,7 @@ minetest.register_craft({
output = 'mesecons_solarpanel:solar_panel_off',
recipe = {
{'mcl_core:glass', 'mcl_core:glass', 'mcl_core:glass'},
{'mcl_core:quartz_crystal', 'mcl_core:quartz_crystal', 'mcl_core:quartz_crystal'},
{'mcl_nether:quartz', 'mcl_nether:quartz', 'mcl_nether:quartz'},
{'group:wood_slab', 'group:wood_slab', 'group:wood_slab'},
}
})

View File

@ -1 +1,3 @@
mcl_core
mcl_nether
mcl_end

View File

@ -336,10 +336,10 @@ stairs.register_stair_and_slab("stonebrick", "group:stonebrick",
stairs.register_stair_and_slab("quartzblock", "group:quartz_block",
{snappy=1,cracky=1,level=2},
{"default_quartz_block_top.png", "default_quartz_block_bottom.png", "default_quartz_block_side.png"},
{"mcl_nether_quartz_block_top.png", "mcl_nether_quartz_block_bottom.png", "mcl_nether_quartz_block_side.png"},
"Quartz Stairs",
"Quartz Slab",
mcl_core.node_sound_stone_defaults(), nil, "mcl_core:quartz_block"
mcl_core.node_sound_stone_defaults(), nil, "mcl_nether:quartz_block"
)
stairs.register_stair_and_slab("purpur_block", "mcl_end:purpur_block",