Rename mod: default to mcl_core
This commit is contained in:
parent
d0ecf0c66c
commit
02fe45bca2
393 changed files with 2205 additions and 2210 deletions
|
@ -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"})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue