added mcl_lanterns mod

This commit is contained in:
PrairieAstronomer 2022-02-22 00:08:48 +00:00
parent fd893ed99d
commit 84fc0e7bc3
3 changed files with 64 additions and 0 deletions

View File

@ -0,0 +1,13 @@
# Blackstone Mod
This mod is made for the Minetest Subgame Mineclone2.
It adds new Blocks: Blackstone, Basalt, Soul Fire, Soul Torch etc.
## Version:
Its version 1.0.2
## License
CC BY-SA 4.0

View File

@ -0,0 +1,7 @@
mcl_core
screwdriver
mcl_stairs
mclx_stairs
mcl_walls
mclx_fences
mcl_torches

View File

@ -0,0 +1,44 @@
local S = minetest.get_translator("mcl_lanterns")
local N = function(s) return s end
minetest.register_node("mcl_lanterns:lantern", {
tiles = {
"lantern_top.png",
"lantern_bottom.png",
"lantern.png",
"lantern.png",
"lantern.png",
"lantern.png",
},
groups = {pickaxey=3},
inventory_image = "lantern.png",
light_source = 15,
description = S("Lantern"),
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
_mcl_hardness = 1,
node_box = {
type = "fixed",
fixed = {
{-0.1875, -0.5000, -0.1875, 0.1875, -0.06250, 0.1875},
{-0.1250, -0.06250, -0.1250, 0.1250, 0.06250, 0.1250},
{-0.06250, 0.1250, -0.006250, 0.06250, 0.1875, 0.006250},
{-0.06250, 0.06250, -0.006250, -0.03125, 0.1250, 0.006250},
{0.03125, 0.06250, -0.006250, 0.06250, 0.1250, 0.006250},
}
},
stack_max = 64,
})
minetest.register_craft({
type = "shaped",
output = "mcl_lanterns:lantern",
recipe = {
{"mcl_core:iron_nugget", "mcl_core:iron_nugget","mcl_core:iron_nugget"},
{"mcl_core:iron_nugget", "mcl_core:torch", "mcl_core:iron_nugget"},
{"mcl_core:iron_nugget", "mcl_core:iron_nugget", "mcl_core:iron_nugget"}
}
})