Updated technic, moreblocks, and mesecons mods

master
Vanessa Ezekowitz 2014-05-06 16:20:02 -04:00
parent cc8ad26ef2
commit d284b0c9c4
9 changed files with 16 additions and 18 deletions

View File

@ -1 +1 @@
Build timestamp: 20140505-0513
Build timestamp: 20140605-1619

1
mods/mesecons/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*~

View File

@ -18,11 +18,8 @@ local function setting(settingtype, name, default)
end
end
-- Whether to direct wood based on player yaw when placing the block (true or false).
-- Whether to direct wood based on player posititon when placing the block (true or false).
setting("bool", "wood_facedir", true)
-- Allow stair/slab crafting without a circular saw or not (true or false).
setting("bool", "allow_stair_slab_crafting", false)
-- Show stairs/slabs/panels/microblocks in creative inventory (true or false).
setting("bool", "show_stairsplus_creative_inv", false)

View File

@ -157,7 +157,7 @@ minetest.register_craft({
})
minetest.register_craft({
output = "moreblocks:sweeper 3",
output = "moreblocks:sweeper 4",
recipe = {
{"default:junglegrass"},
{"default:stick"},
@ -173,20 +173,20 @@ minetest.register_craft({
})
minetest.register_craft({
output = "moreblocks:split_stone_tile 1",
output = "moreblocks:split_stone_tile",
recipe = {
{"moreblocks:stone_tile"},
}
})
minetest.register_craft({
output = "moreblocks:empty_bookshelf 1",
output = "moreblocks:empty_bookshelf",
type = "shapeless",
recipe = {"moreblocks:sweeper", "default:bookshelf"},
})
minetest.register_craft({
output = "moreblocks:coal_stone_bricks 1",
output = "moreblocks:coal_stone_bricks 4",
recipe = {
{"moreblocks:coal_stone", "moreblocks:coal_stone"},
{"moreblocks:coal_stone", "moreblocks:coal_stone"},
@ -194,7 +194,7 @@ minetest.register_craft({
})
minetest.register_craft({
output = "moreblocks:iron_stone_bricks 1",
output = "moreblocks:iron_stone_bricks 4",
recipe = {
{"moreblocks:iron_stone", "moreblocks:iron_stone"},
{"moreblocks:iron_stone", "moreblocks:iron_stone"},

View File

@ -3,7 +3,7 @@ technic.compressor_recipes = {}
local S = technic.getter
if unified_inventory.register_craft_type then
if unified_inventory and unified_inventory.register_craft_type then
unified_inventory.register_craft_type("compressing", {
description = S("Compressing"),
height = 1,

View File

@ -3,7 +3,7 @@ technic.extractor_recipes ={}
local S = technic.getter
if unified_inventory.register_craft_type then
if unified_inventory and unified_inventory.register_craft_type then
unified_inventory.register_craft_type("extracting", {
description = S("Extracting"),
height = 1,

View File

@ -1,7 +1,7 @@
local S = technic.getter
if unified_inventory.register_craft_type then
if unified_inventory and unified_inventory.register_craft_type then
unified_inventory.register_craft_type("alloy", {
description = S("Alloy cooking"),
height = 2,

View File

@ -1,7 +1,7 @@
local S = technic.getter
if unified_inventory.register_craft_type then
if unified_inventory and unified_inventory.register_craft_type then
unified_inventory.register_craft_type("grinding", {
description = S("Grinding"),
height = 1,

View File

@ -75,10 +75,6 @@ local function node_tab(z, d)
end
local function laser_node(pos, player)
if minetest.is_protected(pos, player:get_player_name()) then
minetest.record_protection_violation(pos, player:get_player_name())
return
end
local node = minetest.get_node(pos)
if node.name == "air"
or node.name == "ignore"
@ -86,6 +82,10 @@ local function laser_node(pos, player)
or node.name == "default:lava_flowing" then
return
end
if minetest.is_protected(pos, player:get_player_name()) then
minetest.record_protection_violation(pos, player:get_player_name())
return
end
if node.name == "default:water_source"
or node.name == "default:water_flowing" then
minetest.remove_node(pos)