diff --git a/README.md b/README.md index a0f4670..d2a2610 100644 --- a/README.md +++ b/README.md @@ -1,29 +1,19 @@ Hopper mod -based on jordan4ibanez original mod and optimized by TenPlus1 +Based on jordan4ibanez original mod and optimized by TenPlus1 Hoppers allow for items dropped on top to be sucked in and transfered to chests/hoppers below and beside the original hopper. Chests above hopper will have items inside transfered into hopper. Furnaces above hopper will have output transfered into hopper, furnaces below will have hopper items dropped into source material to be cooked and furnaces to the side will have hopper items copied into fuel slot. -Released under WTFPL +Change log: -0.1 - Initial release from jordan4ibanez - -0.2 - Fixed tool glitch (wear restored by accident) - -0.3 - transfer function added - -0.4 - Supports locked chest and protected chest - -0.5 - Works with 0.4.13's new shift+click for newly placed Hoppers - -0.6 - Remove formspec from hopper nodes to improve speed for servers - -0.7 - Halved hopper capacity, can be dug by wooden pick - -0.8 - Added Napiophelios' new textures and tweaked code - -0.9 - Added support for Wine mod's wine barrels - -1.0 - New furances do not work properly with hoppers so old reverted to abm furnaces - -1.1 - Hoppers now work with new node timer Furnaces. Reduced Abm's and tidied code. +- 0.1 - Initial release from jordan4ibanez +- 0.2 - Fixed tool glitch (wear restored by accident) +- 0.3 - transfer function added +- 0.4 - Supports locked chest and protected chest +- 0.5 - Works with 0.4.13's new shift+click for newly placed Hoppers +- 0.6 - Remove formspec from hopper nodes to improve speed for servers +- 0.7 - Halved hopper capacity, can be dug by wooden pick +- 0.8 - Added Napiophelios' new textures and tweaked code +- 0.9 - Added support for Wine mod's wine barrels +- 1.0 - New furances do not work properly with hoppers so old reverted to abm furnaces +- 1.1 - Hoppers now work with new node timer Furnaces. Reduced Abm's and tidied code. diff --git a/init.lua b/init.lua index 62abfe9..2e20057 100644 --- a/init.lua +++ b/init.lua @@ -168,6 +168,7 @@ minetest.register_node("hopper:hopper_side", { -- suck in items on top of hopper minetest.register_abm({ + label = "Hopper suction", nodenames = {"hopper:hopper", "hopper:hopper_side"}, interval = 1.0, chance = 1, @@ -254,6 +255,7 @@ end -- hopper workings minetest.register_abm({ + label = "Hopper transfer", nodenames = {"hopper:hopper", "hopper:hopper_side"}, neighbors = { "default:chest","default:chest_locked","protector:chest", diff --git a/license.txt b/license.txt new file mode 100644 index 0000000..fec6f6a --- /dev/null +++ b/license.txt @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2016 TenPlus1 + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +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 OR COPYRIGHT HOLDERS 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.