Rename mod: default to mcl_core
This commit is contained in:
parent
d0ecf0c66c
commit
02fe45bca2
393 changed files with 2205 additions and 2210 deletions
|
@ -11,7 +11,7 @@ minetest.register_node("mcl_farming:carrot_1", {
|
|||
},
|
||||
},
|
||||
groups = {snappy=3, flammable=2, not_in_creative_inventory=1,dig_by_water=1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
sounds = mcl_core.node_sound_leaves_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_farming:carrot_2", {
|
||||
|
@ -27,7 +27,7 @@ minetest.register_node("mcl_farming:carrot_2", {
|
|||
},
|
||||
},
|
||||
groups = {snappy=3, flammable=2, not_in_creative_inventory=1,dig_by_water=1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
sounds = mcl_core.node_sound_leaves_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_farming:carrot_3", {
|
||||
|
@ -43,7 +43,7 @@ minetest.register_node("mcl_farming:carrot_3", {
|
|||
},
|
||||
},
|
||||
groups = {snappy=3, flammable=2, not_in_creative_inventory=1,dig_by_water=1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
sounds = mcl_core.node_sound_leaves_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_farming:carrot", {
|
||||
|
@ -61,7 +61,7 @@ minetest.register_node("mcl_farming:carrot", {
|
|||
}
|
||||
},
|
||||
groups = {snappy=3, flammable=2, not_in_creative_inventory=1,dig_by_water=1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
sounds = mcl_core.node_sound_leaves_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craftitem("mcl_farming:carrot_item", {
|
||||
|
@ -84,9 +84,9 @@ minetest.register_craftitem("mcl_farming:carrot_item_gold", {
|
|||
minetest.register_craft({
|
||||
output = "mcl_farming:carrot_item_gold",
|
||||
recipe = {
|
||||
{'default:gold_nugget', 'default:gold_nugget', 'default:gold_nugget'},
|
||||
{'default:gold_nugget', 'mcl_farming:carrot_item', 'default:gold_nugget'},
|
||||
{'default:gold_nugget', 'default:gold_nugget', 'default:gold_nugget'},
|
||||
{'mcl_core:gold_nugget', 'mcl_core:gold_nugget', 'mcl_core:gold_nugget'},
|
||||
{'mcl_core:gold_nugget', 'mcl_farming:carrot_item', 'mcl_core:gold_nugget'},
|
||||
{'mcl_core:gold_nugget', 'mcl_core:gold_nugget', 'mcl_core:gold_nugget'},
|
||||
}
|
||||
})
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
default
|
||||
mcl_core
|
||||
bucket
|
||||
mcl_wool
|
||||
torches
|
||||
|
|
|
@ -13,7 +13,7 @@ local function create_soil(pos, inv)
|
|||
end
|
||||
elseif minetest.get_item_group(name, "cultivatable") == 1 then
|
||||
if above.name == "air" then
|
||||
node.name = "default:dirt"
|
||||
node.name = "mcl_core:dirt"
|
||||
minetest.set_node(pos, node)
|
||||
return true
|
||||
end
|
||||
|
@ -43,16 +43,16 @@ minetest.register_craft({
|
|||
output = "mcl_farming:hoe_wood",
|
||||
recipe = {
|
||||
{"group:wood", "group:wood"},
|
||||
{"", "default:stick"},
|
||||
{"", "default:stick"}
|
||||
{"", "mcl_core:stick"},
|
||||
{"", "mcl_core:stick"}
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "mcl_farming:hoe_wood",
|
||||
recipe = {
|
||||
{"group:wood", "group:wood"},
|
||||
{"default:stick", ""},
|
||||
{"default:stick", ""}
|
||||
{"mcl_core:stick", ""},
|
||||
{"mcl_core:stick", ""}
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
|
@ -82,17 +82,17 @@ minetest.register_tool("mcl_farming:hoe_stone", {
|
|||
minetest.register_craft({
|
||||
output = "mcl_farming:hoe_stone",
|
||||
recipe = {
|
||||
{"default:cobble", "default:cobble"},
|
||||
{"", "default:stick"},
|
||||
{"", "default:stick"}
|
||||
{"mcl_core:cobble", "mcl_core:cobble"},
|
||||
{"", "mcl_core:stick"},
|
||||
{"", "mcl_core:stick"}
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "mcl_farming:hoe_stone",
|
||||
recipe = {
|
||||
{"default:cobble", "default:cobble"},
|
||||
{"default:stick", ""},
|
||||
{"default:stick", ""}
|
||||
{"mcl_core:cobble", "mcl_core:cobble"},
|
||||
{"mcl_core:stick", ""},
|
||||
{"mcl_core:stick", ""}
|
||||
}
|
||||
})
|
||||
|
||||
|
@ -118,23 +118,23 @@ minetest.register_tool("mcl_farming:hoe_steel", {
|
|||
minetest.register_craft({
|
||||
output = "mcl_farming:hoe_steel",
|
||||
recipe = {
|
||||
{"default:steel_ingot", "default:steel_ingot"},
|
||||
{"", "default:stick"},
|
||||
{"", "default:stick"}
|
||||
{"mcl_core:steel_ingot", "mcl_core:steel_ingot"},
|
||||
{"", "mcl_core:stick"},
|
||||
{"", "mcl_core:stick"}
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "mcl_farming:hoe_steel",
|
||||
recipe = {
|
||||
{"default:steel_ingot", "default:steel_ingot"},
|
||||
{"default:stick", ""},
|
||||
{"default:stick", ""}
|
||||
{"mcl_core:steel_ingot", "mcl_core:steel_ingot"},
|
||||
{"mcl_core:stick", ""},
|
||||
{"mcl_core:stick", ""}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "default:iron_nugget",
|
||||
output = "mcl_core:iron_nugget",
|
||||
recipe = "mcl_farming:hoe_steel",
|
||||
cooktime = 10,
|
||||
})
|
||||
|
@ -160,17 +160,17 @@ minetest.register_tool("mcl_farming:hoe_gold", {
|
|||
minetest.register_craft({
|
||||
output = "mcl_farming:hoe_gold",
|
||||
recipe = {
|
||||
{"default:gold_ingot", "default:gold_ingot"},
|
||||
{"", "default:stick"},
|
||||
{"", "default:stick"}
|
||||
{"mcl_core:gold_ingot", "mcl_core:gold_ingot"},
|
||||
{"", "mcl_core:stick"},
|
||||
{"", "mcl_core:stick"}
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "mcl_farming:hoe_gold",
|
||||
recipe = {
|
||||
{"default:gold_ingot", "default:gold_ingot"},
|
||||
{"default:stick", ""},
|
||||
{"default:stick", ""}
|
||||
{"mcl_core:gold_ingot", "mcl_core:gold_ingot"},
|
||||
{"mcl_core:stick", ""},
|
||||
{"mcl_core:stick", ""}
|
||||
}
|
||||
})
|
||||
|
||||
|
@ -178,7 +178,7 @@ minetest.register_craft({
|
|||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "default:gold_nugget",
|
||||
output = "mcl_core:gold_nugget",
|
||||
recipe = "mcl_farming:hoe_gold",
|
||||
cooktime = 10,
|
||||
})
|
||||
|
@ -204,16 +204,16 @@ minetest.register_tool("mcl_farming:hoe_diamond", {
|
|||
minetest.register_craft({
|
||||
output = "mcl_farming:hoe_diamond",
|
||||
recipe = {
|
||||
{"default:diamond", "default:diamond"},
|
||||
{"", "default:stick"},
|
||||
{"", "default:stick"}
|
||||
{"mcl_core:diamond", "mcl_core:diamond"},
|
||||
{"", "mcl_core:stick"},
|
||||
{"", "mcl_core:stick"}
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "mcl_farming:hoe_diamond",
|
||||
recipe = {
|
||||
{"default:diamond", "default:diamond"},
|
||||
{"default:stick", ""},
|
||||
{"default:stick", ""}
|
||||
{"mcl_core:diamond", "mcl_core:diamond"},
|
||||
{"mcl_core:stick", ""},
|
||||
{"mcl_core:stick", ""}
|
||||
}
|
||||
})
|
||||
|
|
|
@ -51,7 +51,7 @@ minetest.register_node("mcl_farming:melontige_1", {
|
|||
},
|
||||
},
|
||||
groups = {snappy=3, flammable=2, not_in_creative_inventory=1 ,dig_by_water=1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
sounds = mcl_core.node_sound_leaves_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_farming:melontige_2", {
|
||||
|
@ -68,7 +68,7 @@ minetest.register_node("mcl_farming:melontige_2", {
|
|||
},
|
||||
},
|
||||
groups = {snappy=3, flammable=2, not_in_creative_inventory=1 ,dig_by_water=1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
sounds = mcl_core.node_sound_leaves_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_farming:melontige_unconnect", {
|
||||
|
@ -79,7 +79,7 @@ minetest.register_node("mcl_farming:melontige_unconnect", {
|
|||
drawtype = "plantlike",
|
||||
tiles = {"farming_tige_end.png"},
|
||||
groups = {snappy=3, flammable=2, not_in_creative_inventory=1 ,dig_by_water=1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
sounds = mcl_core.node_sound_leaves_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_farming:melontige_linked_r", {
|
||||
|
@ -109,7 +109,7 @@ minetest.register_node("mcl_farming:melontige_linked_r", {
|
|||
"farming_tige_connnect.png^[transformFX90" --front
|
||||
},
|
||||
groups = {snappy=3, flammable=2, not_in_creative_inventory=1 ,dig_by_water=1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
sounds = mcl_core.node_sound_leaves_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_farming:melontige_linked_l", {
|
||||
|
@ -139,7 +139,7 @@ minetest.register_node("mcl_farming:melontige_linked_l", {
|
|||
"farming_tige_connnect.png" --front
|
||||
},
|
||||
groups = {snappy=3, flammable=2, not_in_creative_inventory=1 ,dig_by_water=1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
sounds = mcl_core.node_sound_leaves_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_farming:melontige_linked_t", {
|
||||
|
@ -169,7 +169,7 @@ minetest.register_node("mcl_farming:melontige_linked_t", {
|
|||
"farming_tige_connnect.png" --front
|
||||
},
|
||||
groups = {snappy=3, flammable=2, not_in_creative_inventory=1 ,dig_by_water=1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
sounds = mcl_core.node_sound_leaves_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_farming:melontige_linked_b", {
|
||||
|
@ -199,7 +199,7 @@ minetest.register_node("mcl_farming:melontige_linked_b", {
|
|||
"farming_tige_connnect.png" --front
|
||||
},
|
||||
groups = {snappy=3, flammable=2, not_in_creative_inventory=1 ,dig_by_water=1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
sounds = mcl_core.node_sound_leaves_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craftitem("mcl_farming:melon_seed", {
|
||||
|
@ -235,8 +235,8 @@ minetest.register_abm({
|
|||
newpos = {x=pos.x+x, y=pos.y, z=pos.z}
|
||||
local n = minetest.get_node(p)
|
||||
local nod = minetest.get_node(newpos)
|
||||
if n.name=="default:dirt_with_grass" and nod.name=="air" and have_change == 0
|
||||
or n.name=="default:dirt" and nod.name=="air" and have_change == 0
|
||||
if n.name=="mcl_core:dirt_with_grass" and nod.name=="air" and have_change == 0
|
||||
or n.name=="mcl_core:dirt" and nod.name=="air" and have_change == 0
|
||||
or string.find(n.name, "mcl_farming:soil") and nod.name=="air" and have_change == 0 then
|
||||
have_change = 1
|
||||
minetest.add_node(newpos, {name="mcl_farming:melon"})
|
||||
|
@ -253,8 +253,8 @@ minetest.register_abm({
|
|||
newpos = {x=pos.x, y=pos.y, z=pos.z+z}
|
||||
local n = minetest.get_node(p)
|
||||
local nod2 = minetest.get_node(newpos)
|
||||
if n.name=="default:dirt_with_grass" and nod2.name=="air" and have_change == 0
|
||||
or n.name=="default:dirt" and nod2.name=="air" and have_change == 0
|
||||
if n.name=="mcl_core:dirt_with_grass" and nod2.name=="air" and have_change == 0
|
||||
or n.name=="mcl_core:dirt" and nod2.name=="air" and have_change == 0
|
||||
or string.find(n.name, "mcl_farming:soil") and nod2.name=="air" and have_change == 0 then
|
||||
have_change = 1
|
||||
minetest.add_node(newpos, {name="mcl_farming:melon"})
|
||||
|
|
|
@ -8,7 +8,7 @@ minetest.register_node("mcl_farming:mushroom_brown", {
|
|||
paramtype = "light",
|
||||
walkable = false,
|
||||
groups = {dig_immediate=3,flammable=2,mushroom=1,attached_node=1,dig_by_water=1,deco_block=1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
sounds = mcl_core.node_sound_leaves_defaults(),
|
||||
light_source = 1,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
@ -26,7 +26,7 @@ minetest.register_node("mcl_farming:mushroom_red", {
|
|||
paramtype = "light",
|
||||
walkable = false,
|
||||
groups = {dig_immediate=3,flammable=2,mushroom=1,attached_node=1,dig_by_water=1,deco_block=1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
sounds = mcl_core.node_sound_leaves_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = { -0.15, -0.5, -0.15, 0.15, 0.015, 0.15 },
|
||||
|
@ -36,7 +36,7 @@ minetest.register_node("mcl_farming:mushroom_red", {
|
|||
minetest.register_craftitem("mcl_farming:mushroom_stew", {
|
||||
description = "Mushroom Stew",
|
||||
inventory_image = "farming_mushroom_stew.png",
|
||||
on_use = minetest.item_eat(6, "default:bowl"),
|
||||
on_use = minetest.item_eat(6, "mcl_core:bowl"),
|
||||
groups = { food = 2, eatable = 6 },
|
||||
stack_max = 1,
|
||||
})
|
||||
|
@ -44,5 +44,5 @@ minetest.register_craftitem("mcl_farming:mushroom_stew", {
|
|||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "mcl_farming:mushroom_stew",
|
||||
recipe = {'default:bowl', 'mcl_farming:mushroom_brown', 'mcl_farming:mushroom_red'}
|
||||
recipe = {'mcl_core:bowl', 'mcl_farming:mushroom_brown', 'mcl_farming:mushroom_red'}
|
||||
})
|
||||
|
|
|
@ -11,7 +11,7 @@ minetest.register_node("mcl_farming:potato_1", {
|
|||
},
|
||||
},
|
||||
groups = {snappy=3, flammable=2, not_in_creative_inventory=1,dig_by_water=1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
sounds = mcl_core.node_sound_leaves_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_farming:potato_2", {
|
||||
|
@ -27,7 +27,7 @@ minetest.register_node("mcl_farming:potato_2", {
|
|||
},
|
||||
},
|
||||
groups = {snappy=3, flammable=2, not_in_creative_inventory=1,dig_by_water=1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
sounds = mcl_core.node_sound_leaves_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_farming:potato", {
|
||||
|
@ -44,7 +44,7 @@ minetest.register_node("mcl_farming:potato", {
|
|||
}
|
||||
},
|
||||
groups = {snappy=3, flammable=2, not_in_creative_inventory=1,dig_by_water=1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
sounds = mcl_core.node_sound_leaves_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craftitem("mcl_farming:potato_item", {
|
||||
|
|
|
@ -28,7 +28,7 @@ minetest.register_node("mcl_farming:pumpkin_1", {
|
|||
},
|
||||
},
|
||||
groups = {snappy=3, flammable=2, not_in_creative_inventory=1 ,dig_by_water=1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
sounds = mcl_core.node_sound_leaves_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_farming:pumpkin_2", {
|
||||
|
@ -45,7 +45,7 @@ minetest.register_node("mcl_farming:pumpkin_2", {
|
|||
},
|
||||
},
|
||||
groups = {snappy=3, flammable=2, not_in_creative_inventory=1 ,dig_by_water=1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
sounds = mcl_core.node_sound_leaves_defaults(),
|
||||
})
|
||||
|
||||
|
||||
|
@ -76,7 +76,7 @@ minetest.register_node("mcl_farming:pumpkin_face", {
|
|||
end
|
||||
end
|
||||
end,
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
sounds = mcl_core.node_sound_wood_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_farming:pumpkintige_unconnect", {
|
||||
|
@ -87,7 +87,7 @@ minetest.register_node("mcl_farming:pumpkintige_unconnect", {
|
|||
drawtype = "plantlike",
|
||||
tiles = {"farming_tige_end.png"},
|
||||
groups = {snappy=3, flammable=2, not_in_creative_inventory=1 ,dig_by_water=1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
sounds = mcl_core.node_sound_leaves_defaults(),
|
||||
})
|
||||
|
||||
|
||||
|
@ -118,7 +118,7 @@ minetest.register_node("mcl_farming:pumpkintige_linked_r", {
|
|||
"farming_tige_connnect.png^[transformFX90" --front
|
||||
},
|
||||
groups = {snappy=3, flammable=2, not_in_creative_inventory=1 ,dig_by_water=1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
sounds = mcl_core.node_sound_leaves_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_farming:pumpkintige_linked_l", {
|
||||
|
@ -148,7 +148,7 @@ minetest.register_node("mcl_farming:pumpkintige_linked_l", {
|
|||
"farming_tige_connnect.png" --front
|
||||
},
|
||||
groups = {snappy=3, flammable=2, not_in_creative_inventory=1 ,dig_by_water=1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
sounds = mcl_core.node_sound_leaves_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_farming:pumpkintige_linked_t", {
|
||||
|
@ -178,7 +178,7 @@ minetest.register_node("mcl_farming:pumpkintige_linked_t", {
|
|||
"farming_tige_connnect.png" --front
|
||||
},
|
||||
groups = {snappy=3, flammable=2, not_in_creative_inventory=1 ,dig_by_water=1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
sounds = mcl_core.node_sound_leaves_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_farming:pumpkintige_linked_b", {
|
||||
|
@ -208,7 +208,7 @@ minetest.register_node("mcl_farming:pumpkintige_linked_b", {
|
|||
"farming_tige_connnect.png" --front
|
||||
},
|
||||
groups = {snappy=3, flammable=2, not_in_creative_inventory=1 ,dig_by_water=1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
sounds = mcl_core.node_sound_leaves_defaults(),
|
||||
})
|
||||
|
||||
mcl_farming:add_plant("mcl_farming:pumpkintige_unconnect", {"mcl_farming:pumpkin_1", "mcl_farming:pumpkin_2"}, 80, 20)
|
||||
|
@ -229,8 +229,8 @@ minetest.register_abm({
|
|||
newpos = {x=pos.x+x, y=pos.y, z=pos.z}
|
||||
local n = minetest.get_node(p)
|
||||
local nod = minetest.get_node(newpos)
|
||||
if n.name=="default:dirt_with_grass" and nod.name=="air" and have_change == 0
|
||||
or n.name=="default:dirt" and nod.name=="air" and have_change == 0
|
||||
if n.name=="mcl_core:dirt_with_grass" and nod.name=="air" and have_change == 0
|
||||
or n.name=="mcl_core:dirt" and nod.name=="air" and have_change == 0
|
||||
or string.find(n.name, "mcl_farming:soil") and nod.name=="air" and have_change == 0 then
|
||||
have_change = 1
|
||||
minetest.add_node(newpos, {name="mcl_farming:pumpkin_face"})
|
||||
|
@ -247,8 +247,8 @@ minetest.register_abm({
|
|||
newpos = {x=pos.x, y=pos.y, z=pos.z+z}
|
||||
local n = minetest.get_node(p)
|
||||
local nod2 = minetest.get_node(newpos)
|
||||
if n.name=="default:dirt_with_grass" and nod2.name=="air" and have_change == 0
|
||||
or n.name=="default:dirt" and nod2.name=="air" and have_change == 0
|
||||
if n.name=="mcl_core:dirt_with_grass" and nod2.name=="air" and have_change == 0
|
||||
or n.name=="mcl_core:dirt" and nod2.name=="air" and have_change == 0
|
||||
or string.find(n.name, "mcl_farming:soil") and nod2.name=="air" and have_change == 0 then
|
||||
have_change = 1
|
||||
minetest.add_node(newpos, {name="mcl_farming:pumpkin_face"})
|
||||
|
@ -273,13 +273,13 @@ minetest.register_node("mcl_farming:pumpkin_face_light", {
|
|||
light_source = 14,
|
||||
tiles = {"farming_pumpkin_top.png", "farming_pumpkin_top.png", "farming_pumpkin_side.png", "farming_pumpkin_side.png", "farming_pumpkin_side.png", "farming_pumpkin_face_light.png"},
|
||||
groups = {choppy=2, oddly_breakable_by_hand=2, flammable=2, building_block=1},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
sounds = mcl_core.node_sound_wood_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mcl_farming:pumpkin_face_light",
|
||||
recipe = {{"mcl_farming:pumpkin_face"},
|
||||
{"default:torch"}}
|
||||
{"torches:torch"}}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
minetest.register_node("mcl_farming:soil", {
|
||||
tiles = {"farming_soil.png", "default_dirt.png", "default_dirt.png", "default_dirt.png", "default_dirt.png", "default_dirt.png"},
|
||||
description = "Farmland",
|
||||
drop = "default:dirt",
|
||||
drop = "mcl_core:dirt",
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
node_box = {
|
||||
|
@ -12,13 +12,13 @@ minetest.register_node("mcl_farming:soil", {
|
|||
}
|
||||
},
|
||||
groups = { crumbly=3, not_in_creative_inventory=1, soil=2, soil_sapling=1 },
|
||||
sounds = default.node_sound_dirt_defaults(),
|
||||
sounds = mcl_core.node_sound_dirt_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_farming:soil_wet", {
|
||||
tiles = {"farming_soil_wet.png", "default_dirt.png", "default_dirt.png", "default_dirt.png", "default_dirt.png", "default_dirt.png"},
|
||||
description = "Hydrated Farmland",
|
||||
drop = "default:dirt",
|
||||
drop = "mcl_core:dirt",
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
node_box = {
|
||||
|
@ -28,7 +28,7 @@ minetest.register_node("mcl_farming:soil_wet", {
|
|||
}
|
||||
},
|
||||
groups = { crumbly=3, not_in_creative_inventory=1, soil=3, soil_sapling=1 },
|
||||
sounds = default.node_sound_dirt_defaults(),
|
||||
sounds = mcl_core.node_sound_dirt_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_abm({
|
||||
|
@ -36,7 +36,7 @@ minetest.register_abm({
|
|||
interval = 15,
|
||||
chance = 3,
|
||||
action = function(pos, node)
|
||||
if minetest.find_node_near(pos, 3, {"default:water_source", "default:water_flowing"}) then
|
||||
if minetest.find_node_near(pos, 3, {"mcl_core:water_source", "mcl_core:water_flowing"}) then
|
||||
node.name = "mcl_farming:soil_wet"
|
||||
minetest.set_node(pos, node)
|
||||
end
|
||||
|
|
|
@ -22,7 +22,7 @@ minetest.register_node("mcl_farming:wheat_1", {
|
|||
},
|
||||
},
|
||||
groups = {dig_immediate=3, not_in_creative_inventory=1, dig_by_water=1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
sounds = mcl_core.node_sound_leaves_defaults(),
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
|
@ -49,7 +49,7 @@ minetest.register_node("mcl_farming:wheat_2", {
|
|||
},
|
||||
},
|
||||
groups = {dig_immediate=3, not_in_creative_inventory=1, dig_by_water=1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
sounds = mcl_core.node_sound_leaves_defaults(),
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
|
@ -76,7 +76,7 @@ minetest.register_node("mcl_farming:wheat_3", {
|
|||
},
|
||||
},
|
||||
groups = {dig_immediate=3, not_in_creative_inventory=1, dig_by_water=1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
sounds = mcl_core.node_sound_leaves_defaults(),
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
|
@ -111,7 +111,7 @@ minetest.register_node("mcl_farming:wheat", {
|
|||
},
|
||||
},
|
||||
groups = {dig_immediate=3, not_in_creative_inventory=1, dig_by_water=1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
sounds = mcl_core.node_sound_leaves_defaults(),
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue