1
0
mirror of https://github.com/SmallJoker/bitchange.git synced 2024-12-25 18:30:18 +01:00

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 ... ==> Some updates make changes in the 'config.default.txt',
-> Open 'config.txt' with your editor and modify it 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? ==> Add special access to nodes, how?
-> Exchange shop: open 'shop.lua' and edit the function 'has_exchange_shop_privilege', -> 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 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' -> 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 ... ==> Can I ...
-> Suggest things: Sure, I'm happy about (almost) every suggestion, just I'm pretty new, which -> Suggest things: Sure, I'm happy about (almost) every suggestion, just I'm pretty new, which
means I can't realize all of them 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 -> 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 -> 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! ==> Give me informations about the converting!
Burning: Burning:
@ -20,5 +32,6 @@ Burning:
2 MineCoin block -> 1 Gold block 2 MineCoin block -> 1 Gold block
1 Coin base -> 1 MineNinth 1 Coin base -> 1 MineNinth
Crafting: Crafting:
1 Zinc block -> 8 Coin base 2 Tin block -> 20 Coin base
1 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 Forum link: https://forum.minetest.net/viewtopic.php?id=7821
License: WTFPL * License: WTFPL (for everything)
(*) Everything except the textures of moreores and technic

View File

@ -13,12 +13,13 @@ bitchange_enable_toolrepair = true
-- Supported: money (by kotolegokot), money2 (by Bad Command), currency (by Dan Duncombe) -- Supported: money (by kotolegokot), money2 (by Bad Command), currency (by Dan Duncombe)
bitchange_enable_bank = true bitchange_enable_bank = true
-- Tin converting/generation -- Converting other ores to MineCoins
bitchange_use_moreores_tin = false -- Activate support -- Tin moreores
bitchange_need_generate_tin = false -- Generate if needed -- Zinc technic_worldgen
-- Zinc converting/generation -- Quartz quartz
bitchange_use_technic_zinc = false -- Activate support bitchange_use_moreores_tin = false
bitchange_need_generate_zinc = false -- Generate if needed bitchange_use_technic_zinc = false
bitchange_use_quartz = false
-- Pipeworks support -- Pipeworks support
bitchange_exchangeshop_pipeworks = false bitchange_exchangeshop_pipeworks = false

View File

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

View File

@ -2,56 +2,7 @@
--License: WTFPL --License: WTFPL
if(bitchange_use_moreores_tin) then if(bitchange_use_moreores_tin) then
if(bitchange_need_generate_tin and not minetest.get_modpath("moreores")) then if(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
minetest.register_craft({ minetest.register_craft({
output = "bitchange:coinbase 18", output = "bitchange:coinbase 18",
recipe = { recipe = {
@ -60,61 +11,13 @@ if (bitchange_use_moreores_tin) then
}, },
replacements = { {"default:pick_diamond", "default:pick_diamond"} }, replacements = { {"default:pick_diamond", "default:pick_diamond"} },
}) })
else
print("[BitChange] Error: tin support disabled, missing mod: 'moreores'"
end
end end
if(bitchange_use_technic_zinc) then if(bitchange_use_technic_zinc) then
if (bitchange_need_generate_zinc and not minetest.get_modpath("technic_worldgen")) then if(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
minetest.register_craft({ minetest.register_craft({
output = "bitchange:coinbase 8", output = "bitchange:coinbase 8",
recipe = { recipe = {
@ -123,4 +26,23 @@ if (bitchange_use_technic_zinc) then
}, },
replacements = { {"default:pick_diamond", "default:pick_diamond"} }, 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 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 -<====== ======>- Version 1.6.8 -<======
- tool repair node - tool repair node
- privilege: bitchange - privilege: bitchange