sys4
c1da66a893
La récolte de d'une source d'acide ou de sable mouvant avec un seau vide donnait un "unknown item".
43 lines
1.2 KiB
Lua
43 lines
1.2 KiB
Lua
bucket.register_liquid(
|
|
"nalc:acid_source",
|
|
"nalc:acid_flowing",
|
|
"nalc_bucket:bucket_acid",
|
|
"bucket_acid.png",
|
|
"Acid Bucket",
|
|
{not_in_creative_inventory = 1}
|
|
)
|
|
|
|
bucket.register_liquid(
|
|
"nalc:sand_source",
|
|
"nalc:sand_flowing",
|
|
"nalc_bucket:bucket_sand",
|
|
"bucket_sand.png",
|
|
"Sand Bucket",
|
|
{not_in_creative_inventory = 1}
|
|
)
|
|
|
|
minetest.register_craft(
|
|
{ output = "nalc:bucket_sand",
|
|
recipe = {
|
|
{"group:sand"},
|
|
{"group:sand"},
|
|
{"bucket:bucket_water"},
|
|
},
|
|
})
|
|
|
|
minetest.register_alias("bucket:acid_source", "nalc:acid_source")
|
|
minetest.register_alias("bucket:acid_flowing", "nalc:acid_flowing")
|
|
|
|
minetest.register_alias("nalc:bucket_acid", "nalc_bucket:bucket_acid")
|
|
minetest.register_alias("bucket:bucket_acid", "nalc_bucket:bucket_acid")
|
|
minetest.register_alias("bucket_acid", "nalc_bucket:bucket_acid")
|
|
|
|
minetest.register_alias("bucket:sand_source", "nalc:sand_source")
|
|
minetest.register_alias("bucket:sand_flowing", "nalc:sand_flowing")
|
|
|
|
minetest.register_alias("nalc:bucket_sand", "nalc_bucket:bucket_sand")
|
|
minetest.register_alias("bucket:bucket_sand", "nalc_bucket:bucket_sand")
|
|
minetest.register_alias("bucket_sand", "nalc_bucket:bucket_sand")
|
|
|
|
minetest.log("action", "[nalc_bucket] loaded.")
|