Move sea lantern and prismarine stuff to mcl_ocean
|
@ -424,41 +424,6 @@ minetest.register_craft({
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = 'mcl_core:sea_lantern',
|
|
||||||
recipe = {
|
|
||||||
{'mcl_core:prismarine_shard', 'mcl_core:prismarine_crystals', 'mcl_core:prismarine_shard'},
|
|
||||||
{'mcl_core:prismarine_crystals', 'mcl_core:prismarine_crystals', 'mcl_core:prismarine_crystals'},
|
|
||||||
{'mcl_core:prismarine_shard', 'mcl_core:prismarine_crystals', 'mcl_core:prismarine_shard'},
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = 'mcl_core:prismarine',
|
|
||||||
recipe = {
|
|
||||||
{'mcl_core:prismarine_shard', 'mcl_core:prismarine_shard'},
|
|
||||||
{'mcl_core:prismarine_shard', 'mcl_core:prismarine_shard'},
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = 'mcl_core:prismarine_brick',
|
|
||||||
recipe = {
|
|
||||||
{'mcl_core:prismarine_shard', 'mcl_core:prismarine_shard', 'mcl_core:prismarine_shard'},
|
|
||||||
{'mcl_core:prismarine_shard', 'mcl_core:prismarine_shard', 'mcl_core:prismarine_shard'},
|
|
||||||
{'mcl_core:prismarine_shard', 'mcl_core:prismarine_shard', 'mcl_core:prismarine_shard'},
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = 'mcl_core:prismarine_dark',
|
|
||||||
recipe = {
|
|
||||||
{'mcl_core:prismarine_shard', 'mcl_core:prismarine_shard', 'mcl_core:prismarine_shard'},
|
|
||||||
{'mcl_core:prismarine_shard', 'mcl_dye:black', 'mcl_core:prismarine_shard'},
|
|
||||||
{'mcl_core:prismarine_shard', 'mcl_core:prismarine_shard', 'mcl_core:prismarine_shard'},
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = 'mcl_core:coalblock',
|
output = 'mcl_core:coalblock',
|
||||||
recipe = {
|
recipe = {
|
||||||
|
|
|
@ -119,20 +119,6 @@ minetest.register_craftitem("mcl_core:bowl",{
|
||||||
groups = { craftitem = 1 },
|
groups = { craftitem = 1 },
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem("mcl_core:prismarine_crystals", {
|
|
||||||
description = "Prismarine Crystals",
|
|
||||||
inventory_image = "default_prismarine_crystals.png",
|
|
||||||
stack_max = 64,
|
|
||||||
groups = { craftitem = 1 },
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craftitem("mcl_core:prismarine_shard", {
|
|
||||||
description = "Prismarine Shard",
|
|
||||||
inventory_image = "default_prismarine_shard.png",
|
|
||||||
stack_max = 64,
|
|
||||||
groups = { craftitem = 1 },
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craftitem("mcl_core:apple", {
|
minetest.register_craftitem("mcl_core:apple", {
|
||||||
description = "Apple",
|
description = "Apple",
|
||||||
wield_image = "default_apple.png",
|
wield_image = "default_apple.png",
|
||||||
|
|
|
@ -463,55 +463,6 @@ minetest.register_node("mcl_core:bone_block", {
|
||||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("mcl_core:sea_lantern", {
|
|
||||||
description = "Sea Lantern",
|
|
||||||
paramtype2 = "facedir",
|
|
||||||
is_ground_content = false,
|
|
||||||
stack_max = 64,
|
|
||||||
-- Real light level: 15 (but Minetest caps at 14)
|
|
||||||
light_source = 14,
|
|
||||||
drop = {
|
|
||||||
max_items = 1,
|
|
||||||
items = {
|
|
||||||
{ items = {'mcl_core:prismarine_cry 3'}, rarity = 2 },
|
|
||||||
{ items = {'mcl_core:prismarine_cry 2'}}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
tiles = {{name="default_sea_lantern.png", animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=1.25}}},
|
|
||||||
groups = {oddly_breakable_by_hand=3, building_block=1},
|
|
||||||
sounds = mcl_sounds.node_sound_glass_defaults(),
|
|
||||||
})
|
|
||||||
|
|
||||||
-- TODO: Move to own mod
|
|
||||||
minetest.register_node("mcl_core:prismarine", {
|
|
||||||
description = "Prismarine",
|
|
||||||
stack_max = 64,
|
|
||||||
is_ground_content = false,
|
|
||||||
tiles = {{name="default_prismarine_anim.png", animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=45.0}}},
|
|
||||||
groups = {cracky=3, building_block=1},
|
|
||||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
|
||||||
})
|
|
||||||
|
|
||||||
-- TODO: Move to own mod
|
|
||||||
minetest.register_node("mcl_core:prismarine_brick", {
|
|
||||||
description = "Prismarine Bricks",
|
|
||||||
stack_max = 64,
|
|
||||||
is_ground_content = false,
|
|
||||||
tiles = {"default_prismarine_bricks.png"},
|
|
||||||
groups = {cracky=2, building_block=1},
|
|
||||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
|
||||||
})
|
|
||||||
|
|
||||||
-- TODO: Move to own mod
|
|
||||||
minetest.register_node("mcl_core:prismarine_dark", {
|
|
||||||
description = "Dark Prismarine",
|
|
||||||
stack_max = 64,
|
|
||||||
is_ground_content = false,
|
|
||||||
tiles = {"default_prismarine_dark.png"},
|
|
||||||
groups = {cracky=2, building_block=1},
|
|
||||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
|
||||||
})
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
mcl_sounds
|
||||||
|
mcl_dye
|
|
@ -0,0 +1 @@
|
||||||
|
Ocean-related blocks and items (for the ocean temple).
|
|
@ -0,0 +1,101 @@
|
||||||
|
-- Nodes
|
||||||
|
|
||||||
|
minetest.register_node("mcl_ocean:sea_lantern", {
|
||||||
|
description = "Sea Lantern",
|
||||||
|
paramtype2 = "facedir",
|
||||||
|
is_ground_content = false,
|
||||||
|
stack_max = 64,
|
||||||
|
-- Real light level: 15 (but Minetest caps at 14)
|
||||||
|
light_source = 14,
|
||||||
|
drop = {
|
||||||
|
max_items = 1,
|
||||||
|
items = {
|
||||||
|
{ items = {'mcl_ocean:prismarine_crystals 3'}, rarity = 2 },
|
||||||
|
{ items = {'mcl_ocean:prismarine_crystals 2'}}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
tiles = {{name="mcl_ocean_sea_lantern.png", animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=1.25}}},
|
||||||
|
groups = {oddly_breakable_by_hand=3, building_block=1},
|
||||||
|
sounds = mcl_sounds.node_sound_glass_defaults(),
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_node("mcl_ocean:prismarine", {
|
||||||
|
description = "Prismarine",
|
||||||
|
stack_max = 64,
|
||||||
|
is_ground_content = false,
|
||||||
|
tiles = {{name="mcl_ocean_prismarine_anim.png", animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=45.0}}},
|
||||||
|
groups = {cracky=3, building_block=1},
|
||||||
|
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_node("mcl_ocean:prismarine_brick", {
|
||||||
|
description = "Prismarine Bricks",
|
||||||
|
stack_max = 64,
|
||||||
|
is_ground_content = false,
|
||||||
|
tiles = {"mcl_ocean_prismarine_bricks.png"},
|
||||||
|
groups = {cracky=2, building_block=1},
|
||||||
|
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_node("mcl_ocean:prismarine_dark", {
|
||||||
|
description = "Dark Prismarine",
|
||||||
|
stack_max = 64,
|
||||||
|
is_ground_content = false,
|
||||||
|
tiles = {"mcl_ocean_prismarine_dark.png"},
|
||||||
|
groups = {cracky=2, building_block=1},
|
||||||
|
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||||
|
})
|
||||||
|
|
||||||
|
-- Craftitems
|
||||||
|
|
||||||
|
minetest.register_craftitem("mcl_ocean:prismarine_crystals", {
|
||||||
|
description = "Prismarine Crystals",
|
||||||
|
inventory_image = "mcl_ocean_prismarine_crystals.png",
|
||||||
|
stack_max = 64,
|
||||||
|
groups = { craftitem = 1 },
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craftitem("mcl_ocean:prismarine_shard", {
|
||||||
|
description = "Prismarine Shard",
|
||||||
|
inventory_image = "mcl_ocean_prismarine_shard.png",
|
||||||
|
stack_max = 64,
|
||||||
|
groups = { craftitem = 1 },
|
||||||
|
})
|
||||||
|
|
||||||
|
-- Crafting
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = 'mcl_ocean:sea_lantern',
|
||||||
|
recipe = {
|
||||||
|
{'mcl_ocean:prismarine_shard', 'mcl_ocean:prismarine_crystals', 'mcl_ocean:prismarine_shard'},
|
||||||
|
{'mcl_ocean:prismarine_crystals', 'mcl_ocean:prismarine_crystals', 'mcl_ocean:prismarine_crystals'},
|
||||||
|
{'mcl_ocean:prismarine_shard', 'mcl_ocean:prismarine_crystals', 'mcl_ocean:prismarine_shard'},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = 'mcl_ocean:prismarine',
|
||||||
|
recipe = {
|
||||||
|
{'mcl_ocean:prismarine_shard', 'mcl_ocean:prismarine_shard'},
|
||||||
|
{'mcl_ocean:prismarine_shard', 'mcl_ocean:prismarine_shard'},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = 'mcl_ocean:prismarine_brick',
|
||||||
|
recipe = {
|
||||||
|
{'mcl_ocean:prismarine_shard', 'mcl_ocean:prismarine_shard', 'mcl_ocean:prismarine_shard'},
|
||||||
|
{'mcl_ocean:prismarine_shard', 'mcl_ocean:prismarine_shard', 'mcl_ocean:prismarine_shard'},
|
||||||
|
{'mcl_ocean:prismarine_shard', 'mcl_ocean:prismarine_shard', 'mcl_ocean:prismarine_shard'},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = 'mcl_ocean:prismarine_dark',
|
||||||
|
recipe = {
|
||||||
|
{'mcl_ocean:prismarine_shard', 'mcl_ocean:prismarine_shard', 'mcl_ocean:prismarine_shard'},
|
||||||
|
{'mcl_ocean:prismarine_shard', 'mcl_dye:black', 'mcl_ocean:prismarine_shard'},
|
||||||
|
{'mcl_ocean:prismarine_shard', 'mcl_ocean:prismarine_shard', 'mcl_ocean:prismarine_shard'},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
name = mcl_ocean
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 366 B After Width: | Height: | Size: 366 B |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 8.4 KiB After Width: | Height: | Size: 8.4 KiB |
|
@ -30,7 +30,7 @@ minetest.register_craft({
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "mcl_core:prismarine_shard",
|
output = "mcl_ocean:prismarine_shard",
|
||||||
recipe = {
|
recipe = {
|
||||||
{ "mcl_core:glass_cyan", },
|
{ "mcl_core:glass_cyan", },
|
||||||
}
|
}
|
||||||
|
@ -38,8 +38,8 @@ minetest.register_craft({
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
output = "mcl_core:prismarine_crystals",
|
output = "mcl_ocean:prismarine_crystals",
|
||||||
recipe = { "mcl_core:prismarine_shard", "mcl_core:prismarine_shard", "mcl_core:prismarine_shard", "mcl_core:emerald" },
|
recipe = { "mcl_ocean:prismarine_shard", "mcl_ocean:prismarine_shard", "mcl_ocean:prismarine_shard", "mcl_core:emerald" },
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
|
|