diff --git a/README.md b/README.md index ece98eb..45e41c0 100644 --- a/README.md +++ b/README.md @@ -2,13 +2,11 @@ Wine mod for Minetest by TenPlus1 -License: WTFPL - Depends: Farming Redo This mod adds a barrel used to ferment grapes into glasses of wine, 9 of which can then be crafted into a bottle of wine. It can also ferment honey into mead, barley into beer and apples into cider. -Changelog: +Change log: - 0.1 - Initial release - 0.2 - Added protection checks to barrel diff --git a/init.lua b/init.lua index f67f8bb..1db8585 100644 --- a/init.lua +++ b/init.lua @@ -235,6 +235,7 @@ minetest.register_craft({ -- Wine barrel abm minetest.register_abm({ + label = "Barrel fermentation", nodenames = {"wine:wine_barrel"}, interval = 5, chance = 1, @@ -242,7 +243,7 @@ minetest.register_abm({ action = function(pos, node) - local meta = minetest.get_meta(pos) + local meta = minetest.get_meta(pos) ; if not meta then return end local inv = meta:get_inventory() -- is barrel empty? 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.