mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-28 13:53:45 +01:00
Add grindstones
This commit is contained in:
parent
855b18ee30
commit
99469ff1c5
@ -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 },
|
||||||
|
39
mods/ITEMS/mcl_grindstone/init.lua
Normal file
39
mods/ITEMS/mcl_grindstone/init.lua
Normal file
@ -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"},
|
||||||
|
}
|
||||||
|
})
|
3
mods/ITEMS/mcl_grindstone/mod.conf
Normal file
3
mods/ITEMS/mcl_grindstone/mod.conf
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
name = mcl_grindstone
|
||||||
|
author = TheRandomLegoBrick
|
||||||
|
description = Adds a cool looking block for the weaponsmiths jobsite
|
BIN
mods/ITEMS/mcl_grindstone/textures/grindstone_front.png
Normal file
BIN
mods/ITEMS/mcl_grindstone/textures/grindstone_front.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 420 B |
BIN
mods/ITEMS/mcl_grindstone/textures/grindstone_side.png
Normal file
BIN
mods/ITEMS/mcl_grindstone/textures/grindstone_side.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 416 B |
BIN
mods/ITEMS/mcl_grindstone/textures/grindstone_top.png
Normal file
BIN
mods/ITEMS/mcl_grindstone/textures/grindstone_top.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 339 B |
Loading…
Reference in New Issue
Block a user