Changes etc

This commit is contained in:
SmallJoker 2014-01-18 15:39:01 +01:00
parent 1a68fcbdc8
commit acff3661d3
14 changed files with 59 additions and 121 deletions

View File

@ -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
2 Tin block -> 20 Coin base
2 Zinc block -> 8 Coin base
5 Quartz Crystal -> 1 Coin base

View File

@ -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)

View File

@ -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

View File

@ -1,6 +1,7 @@
default
moreores?
technic?
technic_worldgen?
quartz?
pipeworks?
money?
money2?

View File

@ -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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 254 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 269 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 361 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 361 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 891 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 681 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 317 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 308 B

View File

@ -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