diff options
author | cheapie <no-email-for-you@example.com> | 2017-02-06 01:21:12 -0600 |
---|---|---|
committer | cheapie <no-email-for-you@example.com> | 2017-02-06 01:22:41 -0600 |
commit | e7a64c51ef4786982f4918aecc0799cd7f4f827f (patch) | |
tree | 32e32c11ef7f0a800ecfc550bc25f78a7108a264 | |
download | solidcolor-e7a64c51ef4786982f4918aecc0799cd7f4f827f.tar solidcolor-e7a64c51ef4786982f4918aecc0799cd7f4f827f.tar.gz solidcolor-e7a64c51ef4786982f4918aecc0799cd7f4f827f.tar.bz2 solidcolor-e7a64c51ef4786982f4918aecc0799cd7f4f827f.tar.xz solidcolor-e7a64c51ef4786982f4918aecc0799cd7f4f827f.zip |
Add content
-rw-r--r-- | LICENSE | 24 | ||||
-rw-r--r-- | depends.txt | 2 | ||||
-rw-r--r-- | init.lua | 18 | ||||
-rw-r--r-- | textures/solidcolor_white.png | bin | 0 -> 126 bytes |
4 files changed, 44 insertions, 0 deletions
@@ -0,0 +1,24 @@ +This is free and unencumbered software released into the public domain. + +Anyone is free to copy, modify, publish, use, compile, sell, or +distribute this software, either in source code form or as a compiled +binary, for any purpose, commercial or non-commercial, and by any +means. + +In jurisdictions that recognize copyright laws, the author or authors +of this software dedicate any and all copyright interest in the +software to the public domain. We make this dedication for the benefit +of the public at large and to the detriment of our heirs and +successors. We intend this dedication to be an overt act of +relinquishment in perpetuity of all present and future rights to this +software under copyright law. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR +OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + +For more information, please refer to <http://unlicense.org/> diff --git a/depends.txt b/depends.txt new file mode 100644 index 0000000..0a013b1 --- /dev/null +++ b/depends.txt @@ -0,0 +1,2 @@ +unifieddyes +default? diff --git a/init.lua b/init.lua new file mode 100644 index 0000000..0334340 --- /dev/null +++ b/init.lua @@ -0,0 +1,18 @@ +minetest.register_node("solidcolor:block", { + description = "Solid Color Block", + tiles = {"solidcolor_white.png"}, + is_ground_content = false, + groups = {dig_immediate=2,ud_param2_colorable=1}, + sounds = (default and default.node_sound_stone_defaults()), + paramtype2 = "color", + palette = "unifieddyes_palette.png", + after_dig_node = unifieddyes.after_dig_node, +}) + +minetest.register_craft( { + output = "solidcolor:block", + recipe = { + { "dye:white", "dye:white"}, + { "dye:white", "dye:white"}, + }, +}) diff --git a/textures/solidcolor_white.png b/textures/solidcolor_white.png Binary files differnew file mode 100644 index 0000000..002b4a9 --- /dev/null +++ b/textures/solidcolor_white.png |