From 6d881bdedce9eb0518762e68644328057c3908c4 Mon Sep 17 00:00:00 2001 From: cale Date: Sun, 19 Jun 2016 10:55:51 +0200 Subject: [PATCH] removed some mods --- mods/building/LICENSE.txt | 16 ----- mods/building/init.lua | 22 ------- mods/building/schematics/farm.mts | Bin 157 -> 0 bytes mods/building/schematics/house.mts | Bin 252 -> 0 bytes .../building/schematics/house_with_garden.mts | Bin 342 -> 0 bytes mods/building/schematics/latern.mts | Bin 65 -> 0 bytes mods/building/schematics/road.mts | Bin 47 -> 0 bytes mods/building/schematics/tower.mts | Bin 284 -> 0 bytes mods/building/textures/building_stick.png | Bin 267 -> 0 bytes mods/decoration/LICENSE.txt | 16 ----- mods/decoration/depends.txt | 3 - mods/decoration/init.lua | 26 -------- mods/decoration/textures/decoration_pick.png | Bin 736 -> 0 bytes .../textures/decoration_stalagmite.png | Bin 279 -> 0 bytes mods/filter/LICENSE.txt | 16 ----- mods/filter/depends.txt | 1 - mods/filter/init.lua | 59 ------------------ mods/filter/textures/filter_filter.png | Bin 215 -> 0 bytes mods/filter/textures/filter_filter_top.png | Bin 292 -> 0 bytes 19 files changed, 159 deletions(-) delete mode 100644 mods/building/LICENSE.txt delete mode 100644 mods/building/init.lua delete mode 100644 mods/building/schematics/farm.mts delete mode 100644 mods/building/schematics/house.mts delete mode 100644 mods/building/schematics/house_with_garden.mts delete mode 100644 mods/building/schematics/latern.mts delete mode 100644 mods/building/schematics/road.mts delete mode 100644 mods/building/schematics/tower.mts delete mode 100644 mods/building/textures/building_stick.png delete mode 100644 mods/decoration/LICENSE.txt delete mode 100644 mods/decoration/depends.txt delete mode 100644 mods/decoration/init.lua delete mode 100644 mods/decoration/textures/decoration_pick.png delete mode 100644 mods/decoration/textures/decoration_stalagmite.png delete mode 100644 mods/filter/LICENSE.txt delete mode 100644 mods/filter/depends.txt delete mode 100644 mods/filter/init.lua delete mode 100644 mods/filter/textures/filter_filter.png delete mode 100644 mods/filter/textures/filter_filter_top.png 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 454ab097af4f232018a9a06d7d498e1085029d6a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 157 zcmeYb3HD`RX5eCAVc_@=1PrVULMf?fiKRIuR>dXxd8tW7naSA<%!!#r3_LK2l+2!7gab?xnhiJ3COb7NOg)n^ x!Q^wq1cfs;DYZ*xx#xcG)%ib(_kTZA7sIt53*>${B!4cv<)z=vIN#V=0RTk}J+A-& diff --git a/mods/building/schematics/house.mts b/mods/building/schematics/house.mts deleted file mode 100644 index 42291b7fedd1fd8c8d827782da3adf88e5ea89a5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 252 zcmeYb3HD`RX5e7pV&M7@2Mp{CLMf?fiKRIuR>dXxd8tW7naSA<%!!#r3_LK2^8EZ1 z23{C1Jtwiam_ZcA1xcpn#TVox=4BT%2qJ`wvXfHtk~0{@U_vEDsfopwi-D>EZfB-Dx#Ce-GNmuXtW8=ya#( OWxS$GI`iyviaG$1Q*X8a diff --git a/mods/building/schematics/house_with_garden.mts b/mods/building/schematics/house_with_garden.mts deleted file mode 100644 index db2f222e56c7bf9ece0b2a97cba40a92e5e85e2d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 342 zcmeYb3HD`RX5eGsWZ?P_0}NaYLMf?fiKRIuR>dXxd8tW7naSA<%!!#r47@Oj^rFP# zVg?=&>Tg+TzuOUubGPc4c!WDtgl6yzl4mBd3dAIVoGsDiDamUW zc0CsiPrWyP^XHA*QrJEReVy?4*5~BZ?K}Uj`@e7f?K5%CYt!7bJf7G7e_gl#vDfpP duVl^N>_4l=(PY4Ivp7zGWuY+N!8Pxu0|05%mb3r> diff --git a/mods/building/schematics/latern.mts b/mods/building/schematics/latern.mts deleted file mode 100644 index 78338c566abcef79b4986f07b494c19bf96fe6af..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 65 zcmeYb3HD`RW?%&2|Ns9pFfs6^q^2d7=9F0F*e diff --git a/mods/building/schematics/tower.mts b/mods/building/schematics/tower.mts deleted file mode 100644 index 3a1410a7d61ea59ad6dea59736e9bd4d8c227a1d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 284 zcmeYb3HD`RW?*9wWnlY{4KT1X2&JT^C6?xtSQVG#=cOhUWhQ4c@W90q^HLa?6Elk# zL}5bZ`S~fSdGQ4~iFw(@47@Pmoc#27V}!<>#M}Y~KDcCJN=j-`#hka38u=O&I9vi( z|NsB^P!FT!+LfD4Yp=gZJM)B#!BC^$_2S;`{x5y~S3a0^`+WY@KmPN=EKJ)k`9IeB zy;HAK>-X*F57grW8+}uRs&6{a<9zM+R=B#Y{CsV()$DWIeEF2m+kLXv-}(Oj<>%+F m7sV~CHIn4{VI3Bex?|C;uKfFP&6dXIq9^N*FfO_B%^U!D%!RW6 diff --git a/mods/building/textures/building_stick.png b/mods/building/textures/building_stick.png deleted file mode 100644 index 5ee70a0599c9e27f112d9db3357982ae2ceaf0ba..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 267 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmPNqadFOlawy&3!so>iEBiObAE1aYF-J0b5UwyNotBh zd1gt5g1e`0KzJjcI8afsr;B5V#p&b(i6Vu)XaCgSebeyYz)pDOtfQ`~l5zX$_{5V{ z+&`aLHMyYn%#n;Z>y?lGi~pN1F{`ua;4M$l|2ubDNJvP|l(;kbwZRqRphc4F8INQf z%VgL%YonAyR~iqq$JL%B2FqCw*(R)(oHym - -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 720619476445bb41a4c2dc1009d78f8490ba7b9e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 736 zcmV<60w4W}P)4Fpe zSad^gZEa<4bO1wgWnpw>WFU8GbZ8()Nlj2!fese{00Kx!L_t(o!{wJ>Pt#Bsho7|_ zTZ`MeF~+p$_?HNT1i}&$FZ9NkaO<7=W&9+5124VsLJ}@nWI>`CAj2?)IPHMZO^R)| zdZ8o`V3Mt6Ccc;FNBFEWttZx zXm&J4GA8>6VA%~mesg&8^ckU0=**rdisW)R3ZLFHIg<7Vz;+ra(LQY3#v; zJw45CGD%@&k;#z(?*RlsU}VO=jrWzfGo=xhJow4-W$-XCW;&* zD1u(CBL-}e>Ytn8HfT1Rzh{SKc@J=+eN5|Pb4SPcVQ}|O;(A8$Iqfltq#C)NpHWNg zr>Z9?Vwxs`AYfS*q7dlZKw-N=uM%TS>tnUJix99GzeM}QP(N#%%aqH59M=zcG<&l% zfOfP`45z3c)d{KL&N6VZ_N(>$hSJkn2E0gn+qb~0w6|s8s%iHHz)$UeZGqp~TN>Cq z^j~{RfVUeulbHcuwYLN?f7-lUTp^`OmrgieGw}HS=>PRH`Zu0t>%~&n0Db{Z<_~TE S|6kky0000<>&pIsky*e{zvcb9=RhIJ64!_l=ltB<)VvY~=c3falGGH1 z^30M91$R&1fbd2>aiF4lPZ!6Kh{JEEdUG8x;BYy5xw`#M@br^j8s8?H_->psb1U1- zneH7598C-CS4;^?FSq<%A#*_cQ+TM*#4e6BkDv3H{b%@fI)t7))0WoXwacW*SZK}^ zMfP_JTb1 - -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 fdd1d55f58589198a2e65f1dc4d2a32a9357d763..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 215 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1SJ1Ryj={WI14-?iy0WWg+Z8+Vb&Z8pdfpR zr>`sf114cXUX`+~o-cqxk|nMYCC>S|xv6<249-QVi6yBi3gww484B*6z5(HleBwYw zfu1goAs)xyUfU=Lw1xS=3q#J|`i}D@C7N$Jo#$NgaZ;OJ{q!zD!3=Is=77-JV|Ubz z?|-{@h<{9 diff --git a/mods/filter/textures/filter_filter_top.png b/mods/filter/textures/filter_filter_top.png deleted file mode 100644 index a2bb606885eec0ffee02f510016adcd8cc57ea3c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 292 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdzwj^(N7l!{JxM1({$v_d#0*}aI z1_o|n5N2eUHAey{$X?><>&pIsNm!6aC$aRyY@m>2iEBiObAE1aYF-J0b5UwyNotBh zd1gt5g1e`0KzJjcI8afKr;B4q#NoHs47r#U1z0caKX__(&)o0p->@(HsM8#~Ejmc! zh^eE{zmPtTx*6>iQ-bE*2wBy|!0>LLHnZG~7#@MD*@nl~$6VVi=GLCQ_WG?e6N>lU zWp>Es)l`+LsAoz0b}`Q78Pl3GH7O168F(*1(1Co#nz=JObiQ6@ytDUr