forked from mtcontrib/maidroid
[UPDATE] Update core writer
This commit is contained in:
parent
998c9bd46a
commit
5e9cda5ce7
|
@ -4,8 +4,42 @@
|
||||||
------------------------------------------------------------
|
------------------------------------------------------------
|
||||||
|
|
||||||
-- register a definition of a core writer.
|
-- register a definition of a core writer.
|
||||||
minetest.register_node("maidroid_tool:core_writer", {
|
(function()
|
||||||
drawtype = "nodebox",
|
local node_box = {
|
||||||
tiles = {},
|
type = "fixed",
|
||||||
|
fixed = {
|
||||||
|
{-0.4375, -0.25, -0.4375, 0.4375, 0.1875, 0.4375},
|
||||||
|
{ 0.1875, 0.3125, 0.0625, 0.4375, 0.375, 0.125},
|
||||||
|
{ -0.375, 0.1875, -0.375, 0.375, 0.25, 0.375},
|
||||||
|
{-0.0625, -0.5, -0.0625, 0.0625, 0.375, 0.0625},
|
||||||
|
{ 0.375, 0.1875, 0.0625, 0.4375, 0.375, 0.125},
|
||||||
|
{ -0.375, -0.5, -0.375, 0.375, -0.25, 0.375},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
})
|
local tiles = {
|
||||||
|
"maidroid_tool_core_writer_top.png",
|
||||||
|
"maidroid_tool_core_writer_bottom.png",
|
||||||
|
"maidroid_tool_core_writer_right.png",
|
||||||
|
"maidroid_tool_core_writer_right.png^[transformFX",
|
||||||
|
"maidroid_tool_core_writer_front.png^[transformFX",
|
||||||
|
"maidroid_tool_core_writer_front.png",
|
||||||
|
}
|
||||||
|
|
||||||
|
minetest.register_node("maidroid_tool:core_writer", {
|
||||||
|
description = "maidroid tool : core writer",
|
||||||
|
drawtype = "nodebox",
|
||||||
|
paramtype = "light",
|
||||||
|
paramtype2 = "facedir",
|
||||||
|
groups = {cracky = 2},
|
||||||
|
is_ground_content = false,
|
||||||
|
sounds = default.node_sound_stone_defaults(),
|
||||||
|
node_box = node_box,
|
||||||
|
tiles = tiles,
|
||||||
|
})
|
||||||
|
end) ()
|
||||||
|
|
||||||
|
-- register a definition of a core entity.
|
||||||
|
(function()
|
||||||
|
|
||||||
|
end) ()
|
||||||
|
|
1
maidroid_tool/depends.txt
Normal file
1
maidroid_tool/depends.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
default
|
|
@ -7,3 +7,5 @@ maidroid_tool = {}
|
||||||
|
|
||||||
maidroid_tool.modname = "maidroid_tool"
|
maidroid_tool.modname = "maidroid_tool"
|
||||||
maidroid_tool.modpath = minetest.get_modpath(maidroid_tool.modname)
|
maidroid_tool.modpath = minetest.get_modpath(maidroid_tool.modname)
|
||||||
|
|
||||||
|
dofile(maidroid_tool.modpath .. "/core_writer.lua")
|
||||||
|
|
BIN
maidroid_tool/textures/maidroid_tool_core_writer_bottom.png
Normal file
BIN
maidroid_tool/textures/maidroid_tool_core_writer_bottom.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 225 B |
BIN
maidroid_tool/textures/maidroid_tool_core_writer_bottom.xcf
Normal file
BIN
maidroid_tool/textures/maidroid_tool_core_writer_bottom.xcf
Normal file
Binary file not shown.
BIN
maidroid_tool/textures/maidroid_tool_core_writer_front.png
Normal file
BIN
maidroid_tool/textures/maidroid_tool_core_writer_front.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 282 B |
BIN
maidroid_tool/textures/maidroid_tool_core_writer_front.xcf
Normal file
BIN
maidroid_tool/textures/maidroid_tool_core_writer_front.xcf
Normal file
Binary file not shown.
BIN
maidroid_tool/textures/maidroid_tool_core_writer_right.png
Normal file
BIN
maidroid_tool/textures/maidroid_tool_core_writer_right.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 265 B |
BIN
maidroid_tool/textures/maidroid_tool_core_writer_right.xcf
Normal file
BIN
maidroid_tool/textures/maidroid_tool_core_writer_right.xcf
Normal file
Binary file not shown.
BIN
maidroid_tool/textures/maidroid_tool_core_writer_top.png
Normal file
BIN
maidroid_tool/textures/maidroid_tool_core_writer_top.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 233 B |
BIN
maidroid_tool/textures/maidroid_tool_core_writer_top.xcf
Normal file
BIN
maidroid_tool/textures/maidroid_tool_core_writer_top.xcf
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user