diff options
author | h-v-smacker <hans-von-smacker+github@gmail.com> | 2018-07-23 02:42:41 +0300 |
---|---|---|
committer | h-v-smacker <hans-von-smacker+github@gmail.com> | 2018-07-23 02:42:41 +0300 |
commit | c5cc8ec993bee4473af8c2e03c0f92ec0dc9453d (patch) | |
tree | c82b0b19531642ed6bc663095e91e76ba635ace4 | |
parent | 6ada508370f8fa33c59f8592ebfaf308270d8d92 (diff) |
first stuff
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | books.lua | 7 | ||||
-rw-r--r-- | depends.txt | 2 | ||||
-rw-r--r-- | init.lua | 5 | ||||
-rw-r--r-- | textures/errata_xpanes_black.png | bin | 0 -> 172 bytes | |||
-rw-r--r-- | textures/errata_xpanes_pane_half_obsidian.png | bin | 0 -> 169 bytes | |||
-rw-r--r-- | xpanes.lua | 12 |
7 files changed, 27 insertions, 0 deletions
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 @@ -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 Binary files differnew file mode 100644 index 0000000..98e835e --- /dev/null +++ b/textures/errata_xpanes_black.png diff --git a/textures/errata_xpanes_pane_half_obsidian.png b/textures/errata_xpanes_pane_half_obsidian.png Binary files differnew file mode 100644 index 0000000..2b3ce56 --- /dev/null +++ b/textures/errata_xpanes_pane_half_obsidian.png 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"} + } +}) |