diff --git a/mods/fireflies/depends.txt b/mods/fireflies/depends.txt index 310d1e6..ccdbe13 100644 --- a/mods/fireflies/depends.txt +++ b/mods/fireflies/depends.txt @@ -1,3 +1,4 @@ default -vessels +vessels? +xdecor? ethereal? \ No newline at end of file diff --git a/mods/fireflies/mod.conf b/mods/fireflies/mod.conf index e76a61d..813a373 100644 --- a/mods/fireflies/mod.conf +++ b/mods/fireflies/mod.conf @@ -1,4 +1,4 @@ name = fireflies description = Adds fireflies which can be caught in a net and placed in bottles for lighting. -depends = default, vessels -optional_depends = ethereal +depends = default +optional_depends = ethereal, vessels, xdecor diff --git a/mods/vessels/README.txt b/mods/vessels/README.txt deleted file mode 100644 index 5bb798c..0000000 --- a/mods/vessels/README.txt +++ /dev/null @@ -1,22 +0,0 @@ -Minetest Game mod: vessels -========================== -See license.txt for license information. - -Authors of source code ----------------------- -Originally by Vanessa Ezekowitz (LGPL 2.1) -Modified by Perttu Ahola (LGPL 2.1) -Various Minetest developers and contributors (LGPL 2.1) - -Authors of media (textures) ---------------------------- -All not listed below, Vanessa Ezekowitz (CC BY-SA 3.0) - -The following textures were modified by Thomas-S (CC BY-SA 3.0): - vessels_drinking_glass.png - vessels_drinking_glass_inv.png - vessels_glass_bottle.png - vessels_steel_bottle.png - -The following texture was created by Wuzzy (CC BY-SA 3.0): - vessels_shelf_slot.png (based on vessels_glass_bottle.png) diff --git a/mods/vessels/depends.txt b/mods/vessels/depends.txt deleted file mode 100644 index 4ad96d5..0000000 --- a/mods/vessels/depends.txt +++ /dev/null @@ -1 +0,0 @@ -default diff --git a/mods/vessels/description.txt b/mods/vessels/description.txt deleted file mode 100644 index bea979d..0000000 --- a/mods/vessels/description.txt +++ /dev/null @@ -1 +0,0 @@ -vessels \ No newline at end of file diff --git a/mods/vessels/license.txt b/mods/vessels/license.txt deleted file mode 100644 index de16a3b..0000000 --- a/mods/vessels/license.txt +++ /dev/null @@ -1,52 +0,0 @@ -License of source code ----------------------- - -GNU Lesser General Public License, version 2.1 -Copyright (C) 2012-2016 Vanessa Ezekowitz -Copyright (C) 2012-2016 celeron55, Perttu Ahola -Copyright (C) 2012-2016 Various Minetest developers and contributors - -This program is free software; you can redistribute it and/or modify it under the terms -of the GNU Lesser General Public License as published by the Free Software Foundation; -either version 2.1 of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; -without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -See the GNU Lesser General Public License for more details: -https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html - - -Licenses of media (textures) ----------------------------- - -Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) -Copyright (C) 2012-2016 Vanessa Ezekowitz -Copyright (C) 2016 Thomas-S - -You are free to: -Share — copy and redistribute the material in any medium or format. -Adapt — remix, transform, and build upon the material for any purpose, even commercially. -The licensor cannot revoke these freedoms as long as you follow the license terms. - -Under the following terms: - -Attribution — You must give appropriate credit, provide a link to the license, and -indicate if changes were made. You may do so in any reasonable manner, but not in any way -that suggests the licensor endorses you or your use. - -ShareAlike — If you remix, transform, or build upon the material, you must distribute -your contributions under the same license as the original. - -No additional restrictions — You may not apply legal terms or technological measures that -legally restrict others from doing anything the license permits. - -Notices: - -You do not have to comply with the license for elements of the material in the public -domain or where your use is permitted by an applicable exception or limitation. -No warranties are given. The license may not give you all of the permissions necessary -for your intended use. For example, other rights such as publicity, privacy, or moral -rights may limit how you use the material. - -For more details: -http://creativecommons.org/licenses/by-sa/3.0/ diff --git a/mods/vessels/mod.conf b/mods/vessels/mod.conf deleted file mode 100644 index 8bd066c..0000000 --- a/mods/vessels/mod.conf +++ /dev/null @@ -1,2 +0,0 @@ -name = vessels -depends = default \ No newline at end of file diff --git a/mods/xdecor/README.md b/mods/xdecor/README.md index 9f076ca..79bac2a 100644 --- a/mods/xdecor/README.md +++ b/mods/xdecor/README.md @@ -6,7 +6,7 @@ Decoration lightweight alternative to HomeDecor Information ----------- -This mod add cute cubes to decoration and minimal set of "moreblock" (some elements of picture may not be available) +This mod add cute cubes to decoration and minimal set of "moreblock" (some elements of picture may not be available), it also integrates vessels into ![](screenshot.png) @@ -14,7 +14,7 @@ This mod add cute cubes to decoration and minimal set of "moreblock" (some eleme Tech information ---------------- -This mod is forked more reduced version, more focused on speed over media. +This mod is forked more reduced version, more focused on speed over media. It integrates vessels into and autodetect if a more complete vessels mod its present! #### Dependencies @@ -93,6 +93,12 @@ Optional: | xdecor:rope | Rope | | xdecor:hammer | Hammer, use it on workbench | | xdecor:workbench | Work Bench, to reapir tools | +| vessels:shelf | Vessels Shelf to store anything | +| vessels:glass_bottle | Empty Glass Bottle | +| vessels:drinking_glass | Empty Drinking Glass | +| vessels:steel_bottle | Empty Heavy Steel Bottle | +| vessels:glass_fragments | Glass Fragments | + #### Crafts @@ -201,9 +207,6 @@ xdecor:rope 1 {"farming:string"} ``` - - - xdecor:hammer 1 ``` @@ -236,6 +239,36 @@ xdecor:potted_ {"", "default:clay_brick", ""} ``` + +vessels:shelf + +``` + {"group:wood", "group:wood", "group:wood"}, + {"group:vessel", "group:vessel", "group:vessel"}, +``` + +vessels:glass_bottle 10 + +``` + {"default:glass", "", "default:glass"}, + {"default:glass", "", "default:glass"}, +``` + +vessels:drinking_glass 14 + +``` + {"default:glass", "", "default:glass"}, + {"default:glass", "", "default:glass"}, +``` + +vessels:steel_bottle 5 + +``` + {"default:steel_ingot", "", "default:steel_ingot"}, + {"default:steel_ingot", "", "default:steel_ingot"}, +``` + + ### Credits ### Gambit makes the textures from the PixelBOX pack for Minetest. diff --git a/mods/xdecor/init.lua b/mods/xdecor/init.lua index ad13908..50a3b7a 100644 --- a/mods/xdecor/init.lua +++ b/mods/xdecor/init.lua @@ -53,6 +53,10 @@ local subpart = { "workbench", } +if not minetest.get_modpath("vessels") then + table.insert(subpart, "vessels") +end + for _, name in ipairs(subpart) do local enable = minetest.settings:get_bool("enable_xdecor_" .. name) if enable or enable == nil then diff --git a/mods/vessels/init.lua b/mods/xdecor/src/vessels.lua similarity index 94% rename from mods/vessels/init.lua rename to mods/xdecor/src/vessels.lua index 43d8092..36fe34b 100644 --- a/mods/vessels/init.lua +++ b/mods/xdecor/src/vessels.lua @@ -1,5 +1,4 @@ --- Minetest 0.4 mod: vessels --- See README.txt for licensing and other information. +-- Minetest 0.4 mod: vessels integrated local vessels_shelf_formspec = "size[8,7;]" .. @@ -32,7 +31,7 @@ local function get_vessels_shelf_formspec(inv) return formspec end -minetest.register_node("vessels:shelf", { +minetest.register_node(":vessels:shelf", { description = "Vessels Shelf", tiles = {"default_wood.png", "default_wood.png", "default_wood.png", "default_wood.png", "vessels_shelf.png", "vessels_shelf.png"}, @@ -93,7 +92,7 @@ minetest.register_craft({ } }) -minetest.register_node("vessels:glass_bottle", { +minetest.register_node(":vessels:glass_bottle", { description = "Empty Glass Bottle", drawtype = "plantlike", tiles = {"vessels_glass_bottle.png"}, @@ -119,7 +118,7 @@ minetest.register_craft( { } }) -minetest.register_node("vessels:drinking_glass", { +minetest.register_node(":vessels:drinking_glass", { description = "Empty Drinking Glass", drawtype = "plantlike", tiles = {"vessels_drinking_glass.png"}, @@ -145,7 +144,7 @@ minetest.register_craft( { } }) -minetest.register_node("vessels:steel_bottle", { +minetest.register_node(":vessels:steel_bottle", { description = "Empty Heavy Steel Bottle", drawtype = "plantlike", tiles = {"vessels_steel_bottle.png"}, @@ -174,7 +173,7 @@ minetest.register_craft( { -- Glass and steel recycling -minetest.register_craftitem("vessels:glass_fragments", { +minetest.register_craftitem(":vessels:glass_fragments", { description = "Glass Fragments", inventory_image = "vessels_glass_fragments.png", }) diff --git a/mods/vessels/textures/vessels_drinking_glass.png b/mods/xdecor/textures/vessels_drinking_glass.png similarity index 100% rename from mods/vessels/textures/vessels_drinking_glass.png rename to mods/xdecor/textures/vessels_drinking_glass.png diff --git a/mods/vessels/textures/vessels_drinking_glass_inv.png b/mods/xdecor/textures/vessels_drinking_glass_inv.png similarity index 100% rename from mods/vessels/textures/vessels_drinking_glass_inv.png rename to mods/xdecor/textures/vessels_drinking_glass_inv.png diff --git a/mods/vessels/textures/vessels_glass_bottle.png b/mods/xdecor/textures/vessels_glass_bottle.png similarity index 100% rename from mods/vessels/textures/vessels_glass_bottle.png rename to mods/xdecor/textures/vessels_glass_bottle.png diff --git a/mods/vessels/textures/vessels_glass_fragments.png b/mods/xdecor/textures/vessels_glass_fragments.png similarity index 100% rename from mods/vessels/textures/vessels_glass_fragments.png rename to mods/xdecor/textures/vessels_glass_fragments.png diff --git a/mods/vessels/textures/vessels_shelf.png b/mods/xdecor/textures/vessels_shelf.png similarity index 100% rename from mods/vessels/textures/vessels_shelf.png rename to mods/xdecor/textures/vessels_shelf.png diff --git a/mods/vessels/textures/vessels_shelf_slot.png b/mods/xdecor/textures/vessels_shelf_slot.png similarity index 100% rename from mods/vessels/textures/vessels_shelf_slot.png rename to mods/xdecor/textures/vessels_shelf_slot.png diff --git a/mods/vessels/textures/vessels_steel_bottle.png b/mods/xdecor/textures/vessels_steel_bottle.png similarity index 100% rename from mods/vessels/textures/vessels_steel_bottle.png rename to mods/xdecor/textures/vessels_steel_bottle.png