forked from VoxeLibre/VoxeLibre
Merge pull request 'Implement #2312: Add grindstones' (#2342) from TheRandomLegoBrick/MineClone2:grindstone into master
Reviewed-on: MineClone2/MineClone2#2342 Reviewed-by: PrairieWind <prairie.astronomer1@gmail.com>
This commit is contained in:
commit
b925ebb087
|
@ -427,7 +427,7 @@ local professions = {
|
||||||
"mobs_mc_villager_weaponsmith.png",
|
"mobs_mc_villager_weaponsmith.png",
|
||||||
"mobs_mc_villager_weaponsmith.png",
|
"mobs_mc_villager_weaponsmith.png",
|
||||||
},
|
},
|
||||||
jobsite = "mcl_furnaces:furnace", --FIXME: grindstone
|
jobsite = "mcl_grindstone:grindstone",
|
||||||
trades = {
|
trades = {
|
||||||
{
|
{
|
||||||
{ { "mcl_core:coal_lump", 15, 15 }, E1 },
|
{ { "mcl_core:coal_lump", 15, 15 }, E1 },
|
||||||
|
|
|
@ -0,0 +1,39 @@
|
||||||
|
local S = minetest.get_translator(minetest.get_current_modname())
|
||||||
|
|
||||||
|
minetest.register_node("mcl_grindstone:grindstone", {
|
||||||
|
description = S("Grindstone"),
|
||||||
|
_tt_help = S("Used to disenchant/fix tools"),
|
||||||
|
_doc_items_longdesc = S("This is currently a decorative block which serves as the weapon smith's work station. In minecraft this is used to disenchant/fix tools howerver this has not yet been implemented"),
|
||||||
|
tiles = {
|
||||||
|
"grindstone_top.png",
|
||||||
|
"grindstone_top.png",
|
||||||
|
"grindstone_side.png",
|
||||||
|
"grindstone_side.png",
|
||||||
|
"grindstone_front.png",
|
||||||
|
"grindstone_front.png"
|
||||||
|
},
|
||||||
|
drawtype = "nodebox",
|
||||||
|
paramtype2 = "facedir",
|
||||||
|
node_box = {
|
||||||
|
type = "fixed",
|
||||||
|
-- created with nodebox editor
|
||||||
|
fixed = {
|
||||||
|
{-0.25, -0.25, -0.375, 0.25, 0.5, 0.375},
|
||||||
|
{-0.375, -0.0625, -0.1875, -0.25, 0.3125, 0.1875},
|
||||||
|
{0.25, -0.0625, -0.1875, 0.375, 0.3125, 0.1875},
|
||||||
|
{0.25, -0.5, -0.125, 0.375, -0.0625, 0.125},
|
||||||
|
{-0.375, -0.5, -0.125, -0.25, -0.0625, 0.125},
|
||||||
|
}
|
||||||
|
},
|
||||||
|
groups = {pickaxey = 1, deco_block = 1},
|
||||||
|
_mcl_blast_resistance = 6,
|
||||||
|
_mcl_hardness = 2
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "mcl_grindstone:grindstone",
|
||||||
|
recipe = {
|
||||||
|
{ "mcl_core:stick", "mcl_stairs:slab_stone_rough", "mcl_core:stick"},
|
||||||
|
{ "group:wood", "", "group:wood"},
|
||||||
|
}
|
||||||
|
})
|
|
@ -0,0 +1,3 @@
|
||||||
|
name = mcl_grindstone
|
||||||
|
author = TheRandomLegoBrick
|
||||||
|
description = Adds a cool looking block for the weaponsmiths jobsite
|
Binary file not shown.
After Width: | Height: | Size: 420 B |
Binary file not shown.
After Width: | Height: | Size: 416 B |
Binary file not shown.
After Width: | Height: | Size: 339 B |
Loading…
Reference in New Issue