From acff3661d33a594c2a8444e53c5d75df2a6d3a63 Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Sat, 18 Jan 2014 15:39:01 +0100 Subject: [PATCH] Changes etc --- HELP_ME.txt | 25 ++++-- README.md | 5 +- config.default.txt | 13 +-- depends.txt | 3 +- moreores.lua | 130 ++++++------------------------ textures/moreores_mineral_tin.png | Bin 254 -> 0 bytes textures/moreores_tin_block.png | Bin 269 -> 0 bytes textures/moreores_tin_ingot.png | Bin 361 -> 0 bytes textures/moreores_tin_lump.png | Bin 361 -> 0 bytes textures/technic_mineral_zinc.png | Bin 891 -> 0 bytes textures/technic_zinc_block.png | Bin 681 -> 0 bytes textures/technic_zinc_ingot.png | Bin 317 -> 0 bytes textures/technic_zinc_lump.png | Bin 308 -> 0 bytes version.txt | 4 + 14 files changed, 59 insertions(+), 121 deletions(-) delete mode 100644 textures/moreores_mineral_tin.png delete mode 100644 textures/moreores_tin_block.png delete mode 100644 textures/moreores_tin_ingot.png delete mode 100644 textures/moreores_tin_lump.png delete mode 100644 textures/technic_mineral_zinc.png delete mode 100644 textures/technic_zinc_block.png delete mode 100644 textures/technic_zinc_ingot.png delete mode 100644 textures/technic_zinc_lump.png diff --git a/HELP_ME.txt b/HELP_ME.txt index f0bf3c6..186fec4 100644 --- a/HELP_ME.txt +++ b/HELP_ME.txt @@ -1,18 +1,30 @@ -==> How to enable ... - -> Open 'config.txt' with your editor and modify it +==> Some updates make changes in the 'config.default.txt', + check for changes when updating! + +==> Why is it not working? + -> Delete old 'config.txt' + -> Copy 'config.default.txt' to 'config.txt' and edit it + -> Try again + -> Report bug if it still exists + +==> How to ... + -> Enable something: Open 'config.txt' with your editor and modify it + -> See crafts: get an extention for your inventory or browse through the codes ==> Add special access to nodes, how? -> Exchange shop: open 'shop.lua' and edit the function 'has_exchange_shop_privilege', return 'true' to grant access to the contents, return 'false' to disallow -> Warehouse: same like exchange shop, this time 'warehouse.lua' and 'has_locked_chest_privilege' + -> Bank: edit your "config.txt" and say "/giveme bitchange:bank" (without quotes) + -> Access to protected: server or bitchange ("/grant player bitchange") ==> Can I ... -> Suggest things: Sure, I'm happy about (almost) every suggestion, just I'm pretty new, which means I can't realize all of them -> Report a fault: I hope this will not happen too much, post it at the topic in the MT forums - -> Edit the files: Yes sure, the license is 'WTFPL' but I'm always happy about credits :smile: + -> Edit the files: Yes sure, the license is 'WTFPL' but I'm always happy about credits -> Delete this mod: Stupid question - -> Exchange textures: Yes, it's WFTPL! Maybe you need to ask the original creator of the images + -> Exchange textures: Yes, it's WFTPL! ==> Give me informations about the converting! Burning: @@ -20,5 +32,6 @@ Burning: 2 MineCoin block -> 1 Gold block 1 Coin base -> 1 MineNinth Crafting: - 1 Zinc block -> 8 Coin base - 1 Tin block -> 20 Coin base \ No newline at end of file + 2 Tin block -> 20 Coin base + 2 Zinc block -> 8 Coin base + 5 Quartz Crystal -> 1 Coin base \ No newline at end of file diff --git a/README.md b/README.md index d95c6fc..5616782 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,4 @@ Read more at the forums topic and 'HELP_ME.txt' for more information. Forum link: https://forum.minetest.net/viewtopic.php?id=7821 -License: WTFPL * - - -(*) Everything except the textures of moreores and technic +License: WTFPL (for everything) diff --git a/config.default.txt b/config.default.txt index 379f1f9..bf6938a 100644 --- a/config.default.txt +++ b/config.default.txt @@ -13,12 +13,13 @@ bitchange_enable_toolrepair = true -- Supported: money (by kotolegokot), money2 (by Bad Command), currency (by Dan Duncombe) bitchange_enable_bank = true --- Tin converting/generation -bitchange_use_moreores_tin = false -- Activate support -bitchange_need_generate_tin = false -- Generate if needed --- Zinc converting/generation -bitchange_use_technic_zinc = false -- Activate support -bitchange_need_generate_zinc = false -- Generate if needed +-- Converting other ores to MineCoins +-- Tin moreores +-- Zinc technic_worldgen +-- Quartz quartz +bitchange_use_moreores_tin = false +bitchange_use_technic_zinc = false +bitchange_use_quartz = false -- Pipeworks support bitchange_exchangeshop_pipeworks = false diff --git a/depends.txt b/depends.txt index f5772c4..4846195 100644 --- a/depends.txt +++ b/depends.txt @@ -1,6 +1,7 @@ default moreores? -technic? +technic_worldgen? +quartz? pipeworks? money? money2? diff --git a/moreores.lua b/moreores.lua index 506bbbc..bbfcd5b 100644 --- a/moreores.lua +++ b/moreores.lua @@ -1,57 +1,8 @@ --Created by Krock --License: WTFPL -if (bitchange_use_moreores_tin) then - if(bitchange_need_generate_tin and not minetest.get_modpath("moreores")) then - minetest.register_node(":moreores:mineral_tin", { - description = "Tin Ore", - tiles = {"default_stone.png^moreores_mineral_tin.png"}, - groups = {cracky=3}, - sounds = default.node_sound_stone_defaults(), - drop = 'craft "moreores:tin_lump" 1' - }) - minetest.register_node(":moreores:tin_block", { - description = "Tin Block", - tiles = { "moreores_tin_block.png" }, - groups = {snappy=1,bendy=2,cracky=1,melty=2,level=2}, - sounds = default.node_sound_stone_defaults() - }) - minetest.register_ore({ - ore_type = "scatter", - ore = "moreores:mineral_tin", - wherein = "default:stone", - clust_scarcity = 7*7*7, - clust_num_ores = 3, - clust_size = 7, - height_min = -31000, - height_max = 8, - }) - minetest.register_craftitem(":moreores:tin_lump", { - description = "Tin Lump", - inventory_image = "moreores_tin_lump.png", - }) - minetest.register_craftitem(":moreores:tin_ingot", { - description = "Tin Ingot", - inventory_image = "moreores_tin_ingot.png", - }) - minetest.register_craft({ - output = "moreores:tin_block", - recipe = { - {"moreores:tin_ingot", "moreores:tin_ingot", "moreores:tin_ingot"}, - {"moreores:tin_ingot", "moreores:tin_ingot", "moreores:tin_ingot"}, - {"moreores:tin_ingot", "moreores:tin_ingot", "moreores:tin_ingot"}, - } - }) - minetest.register_craft({ - output = "moreores:tin_ingot 9", - recipe = { { "moreores:tin_block" } } - }) - minetest.register_craft({ - type = 'cooking', - recipe = "moreores:tin_lump", - output = "moreores:tin_ingot", - }) - end +if(bitchange_use_moreores_tin) then +if(minetest.get_modpath("moreores")) then minetest.register_craft({ output = "bitchange:coinbase 18", recipe = { @@ -60,61 +11,13 @@ if (bitchange_use_moreores_tin) then }, replacements = { {"default:pick_diamond", "default:pick_diamond"} }, }) +else + print("[BitChange] Error: tin support disabled, missing mod: 'moreores'" +end end -if (bitchange_use_technic_zinc) then - if (bitchange_need_generate_zinc and not minetest.get_modpath("technic_worldgen")) then - minetest.register_node(":technic:mineral_zinc", { - description = "Zinc Ore", - tile_images = { "default_stone.png^technic_mineral_zinc.png" }, - is_ground_content = true, - groups = {cracky=3}, - sounds = default.node_sound_stone_defaults(), - drop = 'craft "technic:zinc_lump" 1', - }) - minetest.register_node(":technic:zinc_block", { - description = "Zinc Block", - tiles = { "technic_zinc_block.png" }, - is_ground_content = true, - groups = {cracky=1, level=2}, - sounds = default.node_sound_stone_defaults() - }) - minetest.register_ore({ - ore_type = "scatter", - ore = "technic:mineral_zinc", - wherein = "default:stone", - clust_scarcity = 9*9*9, - clust_num_ores = 4, - clust_size = 3, - height_min = -31000, - height_max = 2, - }) - minetest.register_craftitem(":technic:zinc_lump", { - description = "Zinc Lump", - inventory_image = "technic_zinc_lump.png", - }) - minetest.register_craftitem(":technic:zinc_ingot", { - description = "Zinc Ingot", - inventory_image = "technic_zinc_ingot.png", - }) - minetest.register_craft({ - output = "technic:zinc_block", - recipe = { - {"technic:zinc_ingot", "technic:zinc_ingot", "technic:zinc_ingot"}, - {"technic:zinc_ingot", "technic:zinc_ingot", "technic:zinc_ingot"}, - {"technic:zinc_ingot", "technic:zinc_ingot", "technic:zinc_ingot"}, - } - }) - minetest.register_craft({ - output = "technic:zinc_block 9", - recipe = { { "technic:zinc_block" } } - }) - minetest.register_craft({ - type = 'cooking', - recipe = "technic:zinc_lump", - output = "technic:zinc_ingot", - }) - end +if(bitchange_use_technic_zinc) then +if(minetest.get_modpath("technic_worldgen")) then minetest.register_craft({ output = "bitchange:coinbase 8", recipe = { @@ -123,4 +26,23 @@ if (bitchange_use_technic_zinc) then }, replacements = { {"default:pick_diamond", "default:pick_diamond"} }, }) +else + print("[BitChange] Warning: zinc support disabled, missing mod: 'technic_worldgen'" +end +end + +if(bitchange_use_quartz) then +if(minetest.get_modpath("quartz")) then + minetest.register_craft({ + output = "bitchange:coinbase", + recipe = { + {"quartz:quartz_crystal", "default:pick_diamond"}, + {"quartz:quartz_crystal", "quartz:quartz_crystal"}, + {"quartz:quartz_crystal", "quartz:quartz_crystal"} + }, + replacements = { {"default:pick_diamond", "default:pick_diamond"} }, + }) +else + print("[BitChange] Error: quartz support disabled, missing mod: 'quartz'" +end end \ No newline at end of file diff --git a/textures/moreores_mineral_tin.png b/textures/moreores_mineral_tin.png deleted file mode 100644 index 591920c64f2b5c9e30abce8565a39495edbbcca1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 254 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|*pj^6T^Rm@ z;DWu&Cj&(|3p^r=85p>QL70(Y)*K0-AbW|YuPgg)9!?=%E;k;QE}&4Ir;B5V#p&dP z1!gzOzhC%YTh9M?`Rs)~Eha@9HW){ooNa7mU|=9qUGeFEzrDSr1Q5)b@>U{{$6*_z zn&l6MZ5s}}Vl6pv@KE0&cRqHW{c_b6LPr%M7%uS`Bo*6L>Acxp{lb3TjKm}22{#Ts qI6i;=mEN>2VIk#}FB@L16lJLT=4$w{OlcR;B@CXfelF{r5}E+*=~tux diff --git a/textures/moreores_tin_block.png b/textures/moreores_tin_block.png deleted file mode 100644 index e28c371c10cbee94543d0ce3daad141ea30be59f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 269 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=DinK$vl=HlH+5kiEpy*OmP)lZXhjc!}KWK%mepPZ!4!i_=Sk422FGa4eqle?e#C z$^ZXduAiA}RC0bP0l+XkK^C^-Yf1IQ%_c zeD1p}AN#-hX7|a{{7~W1OvOnd_SEfPd46vzVP;5p{0?>Uf1Ng zy3YH&@g|3Mga_w=s@<#`7MYx$;VQ@=d!Ic){J4+0aP=no-U3d7N_q{+Us}NK%{m5goM=7 zn@e4_s@wVA$Xb;=mps)Ia&4bat5S{mn@pZw{(ZuBy6X4M zH#?tYycJmTGi0?LK-){(IWrFRRuSo>Od5hzopr E0BZ7@`2YX_ diff --git a/textures/technic_mineral_zinc.png b/textures/technic_mineral_zinc.png deleted file mode 100644 index 598efebf47c51eda10ad021b0c971e7b4d7cb1ae..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 891 zcmV->1BCpEP)Yn#+0o+M39a!!`~y%-Hnn7_OC z<$d3W=Y>bSG5Hqrv-A9y;0lerY0?&L!ri@e`M|2z$mdF^0j)EqT)BLabx)3wE#--+ z8e0y&DgjQOm=qo_h_;)nH)e4A{g_sTQDY^k>%U_RBJ-hJ-`?skhMt4=zd=K1l>{B-Ut(Ori+R>lVPj-_8`vn-tYQ~6U(_sCWjCc6BDG; zH+XvOdNyo$h6|TwNX@2LvvwWj;$O6+i-4xFSj=G<2^`C!S+jBb-1PNE_y>;{HadMa Rlk@-p002ovPDHLkV1l46q=Nte diff --git a/textures/technic_zinc_block.png b/textures/technic_zinc_block.png deleted file mode 100644 index 5ae7947200a2089e45ff398202d50c3072ccf782..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 681 zcmV;a0#^NrP)Wab7zW^Xz8Q}vw)0ar2_fO9f)pyTfNpyMHXMK@cj6FiS+T2x#F7PKfshKcBBi8F zOWMSa?HP|}Sip0IhaJ3rtCyDmIOk2%#J484$Ze7HR%|zGMw}4?BX}34w*Uy@;??tm zUn|>><>_j(yWOfRk%zWTDEQB;+)cwpZUF#ze>5X~HDBcR!_f(VQ9G(Eg`NRux0qmV zl&Gxqr|a_Y>j?l`79zTRuXg_BvptXIcW%ZVb*VJ~Yp5?pKmhUmVS9hrJ}c^`+)y!} z1;hYYPY+UgvC$nRSGpd@wA2QG63&1=Uu{BSG96N|H8{()W*$JMJuxWZ9(G%w&Nn?J z$s^MqKrC1H2 zwuD<$mSEGC)XPf(@O_z^20L5H&#b&GGzplR3hSo5=*wb70ym}UDA`v+bW?K9P17U_ zMWO8|QO@IdX&ghs$$;*5T3PA$1`+vxbs!lhO1RmoNTdiEYZ^c9C?(vYFyzru^5{Bu z7J|8xOp8F0s||p0ECF1UI+3)l%(B8H3LS$Ij)<%$5(tTV*O2U{m8HY4Co*u%vt?;| zq5M<)pZT@2Pqy1f*ZG@|-|ln;6M-n^GfYP>o<1@)n?xb&3RB~LyQQ5E8SBT=0n;>@ zrjIKNeKi+6>Aw4Z4!}1}on0ePoO1wmz6!Sn<;5viahMK@`Anum+3WuW%FRD$#7Vv# P00000NkvXXu0mjf65}?B diff --git a/textures/technic_zinc_ingot.png b/textures/technic_zinc_ingot.png deleted file mode 100644 index 9f9eb2c1554dbb80854aa85ff3606f120d2525df..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 317 zcmV-D0mA-?P)-bQ1g#)yDAnk~q<4rMSPj7AKf(G60_6J^-Ak(uUD;4L~;v0a$Ev2Rp$k z+tKfJT*KrwrBIq(rQFU38?P`N&uzcgp{%tN#Cg#Owq`h<+q;J+%W>ozC0T~?E7h$K P00000NkvXXu0mjfiyw!2 diff --git a/textures/technic_zinc_lump.png b/textures/technic_zinc_lump.png deleted file mode 100644 index 1a620ab5c6fe278c1a8803e4ffb7d57819d5fd37..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 308 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`oCO|{#S9GG!XV7ZFl&wkQ1F?j zi(`nz>ARDx{SG?_wC#^o4|vMtv1O%FU@@aq*1L(!PdGRVCA~BzGY33WN^M{YT66H5 zU7F?vt8J~Rfrm^MUwrfbZ1%(Rv!%Rja^jPhiMD=?Ip=?6Jwy3VJtmpdS(jKDvh-tg z{jO>#bo#zMImM~N_ub79o%7FSd;hIu4z8ZV5y~NQEx9?N*}!^U!S0jEzuzv2uZ_1% z>hbw%Zv9j7HN!nSUB4xr%cIOU@;0rswGQTEwwt4_d%lfXqu1b;WAue@FNO47TYF+3 zrv1I5^K$Q&xu=+7;^(ZqSifOcea~Ayp+)-t)W5Nc+^onsStyVJ^f7~{tDnm{r-UW| Ds0Dci diff --git a/version.txt b/version.txt index 685a6b0..f9d526a 100644 --- a/version.txt +++ b/version.txt @@ -1,3 +1,7 @@ +======>- Version 1.6.9 -<====== +- optional quartz converting support +- some other little changes (also in the configuration) + ======>- Version 1.6.8 -<====== - tool repair node - privilege: bitchange