From c5cc8ec993bee4473af8c2e03c0f92ec0dc9453d Mon Sep 17 00:00:00 2001 From: h-v-smacker Date: Mon, 23 Jul 2018 02:42:41 +0300 Subject: first stuff --- README.md | 1 + books.lua | 7 +++++++ depends.txt | 2 ++ init.lua | 5 +++++ textures/errata_xpanes_black.png | Bin 0 -> 172 bytes textures/errata_xpanes_pane_half_obsidian.png | Bin 0 -> 169 bytes xpanes.lua | 12 ++++++++++++ 7 files changed, 27 insertions(+) create mode 100644 README.md create mode 100644 books.lua create mode 100644 depends.txt create mode 100644 textures/errata_xpanes_black.png create mode 100644 textures/errata_xpanes_pane_half_obsidian.png create mode 100644 xpanes.lua diff --git a/README.md b/README.md new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ + diff --git a/books.lua b/books.lua new file mode 100644 index 0000000..d82bbf2 --- /dev/null +++ b/books.lua @@ -0,0 +1,7 @@ +-- allow erasing the books + +minetest.register_craft({ + type = "shapeless", + output = "default:book", + recipe = {"default:book_written", "default:paper"} +}) diff --git a/depends.txt b/depends.txt new file mode 100644 index 0000000..ddc201b --- /dev/null +++ b/depends.txt @@ -0,0 +1,2 @@ +default +xpanes diff --git a/init.lua b/init.lua index e69de29..5254b75 100644 --- a/init.lua +++ b/init.lua @@ -0,0 +1,5 @@ +local modpath = minetest.get_modpath("minetest_errata") + +dofile(modpath.."/books.lua") + +dofile(modpath.."/xpanes.lua") \ No newline at end of file diff --git a/textures/errata_xpanes_black.png b/textures/errata_xpanes_black.png new file mode 100644 index 0000000..98e835e Binary files /dev/null and b/textures/errata_xpanes_black.png differ diff --git a/textures/errata_xpanes_pane_half_obsidian.png b/textures/errata_xpanes_pane_half_obsidian.png new file mode 100644 index 0000000..2b3ce56 Binary files /dev/null and b/textures/errata_xpanes_pane_half_obsidian.png differ diff --git a/xpanes.lua b/xpanes.lua new file mode 100644 index 0000000..c271a5c --- /dev/null +++ b/xpanes.lua @@ -0,0 +1,12 @@ +xpanes.register_pane("obsidian_pane", { + description = "Obsidian Pane", + textures = {"default_obsidian_glass.png","errata_xpanes_pane_half_obsidian.png","errata_xpanes_black.png"}, + inventory_image = "default_obsidian_glass.png", + wield_image = "default_obsidian_glass.png", + sounds = default.node_sound_glass_defaults(), + groups = {snappy = 2, cracky = 3, oddly_breakable_by_hand = 3}, + recipe = { + {"default:obsidian_glass", "default:obsidian_glass", "default:obsidian_glass"}, + {"default:obsidian_glass", "default:obsidian_glass", "default:obsidian_glass"} + } +}) -- cgit v1.2.3