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