diff --git a/mods/building/LICENSE.txt b/mods/building/LICENSE.txt deleted file mode 100644 index 6f6a256..0000000 --- a/mods/building/LICENSE.txt +++ /dev/null @@ -1,16 +0,0 @@ -License for Code ----------------- - -Copyright (C) 2016 cd2 (cdqwertz) - -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. - -http://www.gnu.org/licenses/lgpl-2.1.html - -License for Media ------------------ - -CC-BY-SA 3.0 UNPORTED. Created by cd2 (cdqwertz) diff --git a/mods/building/init.lua b/mods/building/init.lua deleted file mode 100644 index 066cc47..0000000 --- a/mods/building/init.lua +++ /dev/null @@ -1,22 +0,0 @@ -building = {} -function building.register_schematic(name, f) - minetest.register_craftitem("building:".. name, { - description = "Schematic : " .. name, - inventory_image = "building_stick.png", - on_place = function(itemstack, placer, pointed_thing) - if f and pointed_thing.above then - minetest.place_schematic(pointed_thing.above, minetest.get_modpath("building").."/schematics/"..name..".mts", "0", {}, true) - elseif pointed_thing.under then - minetest.place_schematic(pointed_thing.under, minetest.get_modpath("building").."/schematics/"..name..".mts", "0", {}, true) - end - return itemstack - end, - }) -end - -building.register_schematic("house", true) -building.register_schematic("house_with_garden", true) -building.register_schematic("farm", true) -building.register_schematic("latern", true) -building.register_schematic("tower", false) -building.register_schematic("road", false) diff --git a/mods/building/schematics/farm.mts b/mods/building/schematics/farm.mts deleted file mode 100644 index 454ab09..0000000 Binary files a/mods/building/schematics/farm.mts and /dev/null differ diff --git a/mods/building/schematics/house.mts b/mods/building/schematics/house.mts deleted file mode 100644 index 42291b7..0000000 Binary files a/mods/building/schematics/house.mts and /dev/null differ diff --git a/mods/building/schematics/house_with_garden.mts b/mods/building/schematics/house_with_garden.mts deleted file mode 100644 index db2f222..0000000 Binary files a/mods/building/schematics/house_with_garden.mts and /dev/null differ diff --git a/mods/building/schematics/latern.mts b/mods/building/schematics/latern.mts deleted file mode 100644 index 78338c5..0000000 Binary files a/mods/building/schematics/latern.mts and /dev/null differ diff --git a/mods/building/schematics/road.mts b/mods/building/schematics/road.mts deleted file mode 100644 index 31ecdb0..0000000 Binary files a/mods/building/schematics/road.mts and /dev/null differ diff --git a/mods/building/schematics/tower.mts b/mods/building/schematics/tower.mts deleted file mode 100644 index 3a1410a..0000000 Binary files a/mods/building/schematics/tower.mts and /dev/null differ diff --git a/mods/building/textures/building_stick.png b/mods/building/textures/building_stick.png deleted file mode 100644 index 5ee70a0..0000000 Binary files a/mods/building/textures/building_stick.png and /dev/null differ diff --git a/mods/decoration/LICENSE.txt b/mods/decoration/LICENSE.txt deleted file mode 100644 index cca02cd..0000000 --- a/mods/decoration/LICENSE.txt +++ /dev/null @@ -1,16 +0,0 @@ -License for Code ----------------- - -Copyright (C) 2015 cd2 (cdqwertz) - -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. - -http://www.gnu.org/licenses/lgpl-2.1.html - -License for Media ------------------ - -CC-BY-SA 3.0 UNPORTED. Created by cd2 (cdqwertz) diff --git a/mods/decoration/depends.txt b/mods/decoration/depends.txt deleted file mode 100644 index 3b93871..0000000 --- a/mods/decoration/depends.txt +++ /dev/null @@ -1,3 +0,0 @@ -default -legendary_items -mobs diff --git a/mods/decoration/init.lua b/mods/decoration/init.lua deleted file mode 100644 index cb76255..0000000 --- a/mods/decoration/init.lua +++ /dev/null @@ -1,26 +0,0 @@ -minetest.register_node("decoration:stalagmite", { - description = "Stalagmite", - tiles = {"decoration_stalagmite.png"}, - drawtype = "plantlike", - paramtype = "light", - inventory_image = "decoration_stalagmite.png", - buildable_to = true, - walkable = false, - groups = {crumbly = 3}, - drop = "default:stone_item", -}) - -minetest.register_node("decoration:pick", { - description = "Decorative Pick", - tiles = {"decoration_pick.png"}, - drawtype = "signlike", - paramtype = "light", - paramtype2 = "wallmounted", - selection_box = { - type = "wallmounted", - }, - inventory_image = "decoration_pick.png", - wield_image = "decoration_pick.png", - walkable = false, - groups = {crumbly = 3}, -}) diff --git a/mods/decoration/textures/decoration_pick.png b/mods/decoration/textures/decoration_pick.png deleted file mode 100644 index 7206194..0000000 Binary files a/mods/decoration/textures/decoration_pick.png and /dev/null differ diff --git a/mods/decoration/textures/decoration_stalagmite.png b/mods/decoration/textures/decoration_stalagmite.png deleted file mode 100644 index 276e6db..0000000 Binary files a/mods/decoration/textures/decoration_stalagmite.png and /dev/null differ diff --git a/mods/filter/LICENSE.txt b/mods/filter/LICENSE.txt deleted file mode 100644 index 6f6a256..0000000 --- a/mods/filter/LICENSE.txt +++ /dev/null @@ -1,16 +0,0 @@ -License for Code ----------------- - -Copyright (C) 2016 cd2 (cdqwertz) - -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. - -http://www.gnu.org/licenses/lgpl-2.1.html - -License for Media ------------------ - -CC-BY-SA 3.0 UNPORTED. Created by cd2 (cdqwertz) diff --git a/mods/filter/depends.txt b/mods/filter/depends.txt deleted file mode 100644 index 4ad96d5..0000000 --- a/mods/filter/depends.txt +++ /dev/null @@ -1 +0,0 @@ -default diff --git a/mods/filter/init.lua b/mods/filter/init.lua deleted file mode 100644 index f7bdb57..0000000 --- a/mods/filter/init.lua +++ /dev/null @@ -1,59 +0,0 @@ -filter = {} -filter.materials = {} - -local filter_form = "size[8,6]" -local filter_form = filter_form..default.gui_colors -local filter_form = filter_form..default.gui_bg -local filter_form = filter_form.."list[current_name;main;3.5,0.3;1,1;]" -local filter_form = filter_form..default.itemslot_bg(3.5,0.3,1,1) -local filter_form = filter_form.."list[current_player;main;0,1.85;8,1;]" -local filter_form = filter_form..default.itemslot_bg(0,1.85,8,1) -local filter_form = filter_form.."list[current_player;main;0,3.08;8,3;8]" -local filter_form = filter_form..default.itemslot_bg(0,3.08,8,3) - -function filter.register_material(name, drops) - filter.materials[name] = drops -end - -filter.register_material("default:sand", {"default:stone_item", "default:stick", "default:sandstone"}) -filter.register_material("default:dirt", {"default:stone_item", "default:stick", "default:twig", "default:flint"}) -filter.register_material("default:gravel", {"default:diamond", "default:ruby", "default:twig", "default:stone_item", "default:flint", "default:flint", "default:flint"}) - -minetest.register_node("filter:filter", { - description = "Filter", - tiles = {"filter_filter_top.png", "filter_filter.png"}, - groups = {crumbly=3}, - on_punch = function(pos, node, player, pointed_thing) - local meta = minetest.get_meta(pos) - local inv = meta:get_inventory() - local item = inv:get_stack("main", 1) - print("[filter] item : " .. item:to_string()) - if item:get_count() == 1 then - if filter.materials[item:get_name()] then - local mat = filter.materials[item:get_name()] - inv:set_stack("main", 1, {name = mat[math.random(1, #mat)]}) - else - meta:set_string("infotext", "[filter] This wont work...") - end - else - meta:set_string("infotext", "[filter] Put only one item in the filter!") - end - end, - - on_construct = function(pos) - local meta = minetest.get_meta(pos) - meta:set_string("formspec", filter_form) - meta:set_string("infotext", "Filter") - local inv = meta:get_inventory() - inv:set_size("main", 1) - end, -}) - -minetest.register_craft({ - output = "filter:filter", - recipe = { - {"default:string_strong", "default:string_strong", "default:string_strong"}, - {"default:string_strong", "default:string_strong", "default:string_strong"}, - {"furnace:iron_rod", "furnace:iron_plate", "furnace:iron_rod"}, - } -}) diff --git a/mods/filter/textures/filter_filter.png b/mods/filter/textures/filter_filter.png deleted file mode 100644 index fdd1d55..0000000 Binary files a/mods/filter/textures/filter_filter.png and /dev/null differ diff --git a/mods/filter/textures/filter_filter_top.png b/mods/filter/textures/filter_filter_top.png deleted file mode 100644 index a2bb606..0000000 Binary files a/mods/filter/textures/filter_filter_top.png and /dev/null differ