mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 04:21:07 +01:00
Stone Cutter
Adds the stonecutter block.
This commit is contained in:
parent
a930f3a814
commit
d9a25552d8
7 changed files with 64 additions and 0 deletions
57
mods/ITEMS/mcl_stonecutter/init.lua
Normal file
57
mods/ITEMS/mcl_stonecutter/init.lua
Normal file
|
@ -0,0 +1,57 @@
|
|||
--|||||||||||||||||||||||
|
||||
--||||| STONECUTTER |||||
|
||||
--|||||||||||||||||||||||
|
||||
|
||||
-- TO-DO:
|
||||
-- * Add GUI
|
||||
|
||||
local S = minetest.get_translator(minetest.get_current_modname())
|
||||
|
||||
minetest.register_node("mcl_stonecutter:stonecutter", {
|
||||
description = S("Stone Cutter"),
|
||||
_tt_help = S("Used to cut stone like materials."),
|
||||
_doc_items_longdesc = S("Stonecutters are used to create stairs and slabs from stone like materials. It is also the jobsite for the Stone Mason Villager."),
|
||||
tiles = {
|
||||
"mcl_stonecutter_top.png",
|
||||
"mcl_stonecutter_bottom.png",
|
||||
"mcl_stonecutter_side.png",
|
||||
"mcl_stonecutter_side.png",
|
||||
{name="mcl_stonecutter_saw.png",
|
||||
animation={
|
||||
type="vertical_frames",
|
||||
aspect_w=16,
|
||||
aspect_h=16,
|
||||
length=1
|
||||
}},
|
||||
{name="mcl_stonecutter_saw.png",
|
||||
animation={
|
||||
type="vertical_frames",
|
||||
aspect_w=16,
|
||||
aspect_h=16,
|
||||
length=1
|
||||
}}
|
||||
},
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
groups = { pickaxey=1, material_stone=1 },
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-0.5, -0.5, -0.5, 0.5, 0.0625, 0.5}, -- NodeBox1
|
||||
{-0.4375, 0.0625, 0, 0.4375, 0.5, 0}, -- NodeBox2
|
||||
}
|
||||
},
|
||||
_mcl_blast_resistance = 3.5,
|
||||
_mcl_hardness = 3.5,
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mcl_stonecutter:stonecutter",
|
||||
recipe = {
|
||||
{ "", "", "" },
|
||||
{ "", "mcl_core:iron_ingot", "" },
|
||||
{ "mcl_core:stone", "mcl_core:stone", "mcl_core:stone" },
|
||||
}
|
||||
})
|
3
mods/ITEMS/mcl_stonecutter/locale/template.txt
Normal file
3
mods/ITEMS/mcl_stonecutter/locale/template.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
Stone Cutter=
|
||||
Used to cut stone like materials.=
|
||||
Stonecutters are used to create stairs and slabs from stone like materials. It is also the jobsite for the Stone Mason Villager.=
|
4
mods/ITEMS/mcl_stonecutter/mod.conf
Normal file
4
mods/ITEMS/mcl_stonecutter/mod.conf
Normal file
|
@ -0,0 +1,4 @@
|
|||
name = mcl_stonecutter
|
||||
author = PrairieWind
|
||||
description = This mod adds a stonecutter, which is used to cut stone like materials, and used as the jobsite for the Stone Mason Villager.
|
||||
depends = mcl_sounds
|
BIN
mods/ITEMS/mcl_stonecutter/textures/mcl_stonecutter_bottom.png
Normal file
BIN
mods/ITEMS/mcl_stonecutter/textures/mcl_stonecutter_bottom.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 405 B |
BIN
mods/ITEMS/mcl_stonecutter/textures/mcl_stonecutter_saw.png
Normal file
BIN
mods/ITEMS/mcl_stonecutter/textures/mcl_stonecutter_saw.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 809 B |
BIN
mods/ITEMS/mcl_stonecutter/textures/mcl_stonecutter_side.png
Normal file
BIN
mods/ITEMS/mcl_stonecutter/textures/mcl_stonecutter_side.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 452 B |
BIN
mods/ITEMS/mcl_stonecutter/textures/mcl_stonecutter_top.png
Normal file
BIN
mods/ITEMS/mcl_stonecutter/textures/mcl_stonecutter_top.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 514 B |
Loading…
Reference in a new issue