nalc/nalc_bucket/init.lua
sys4-fr c80fe1c620 Ajout du mod nalc_carts
Ajout de messages de chargements dans le journal.
2018-09-16 15:24:40 +02:00

38 lines
1.1 KiB
Lua

bucket.register_liquid(
"nalc_default:acid_source",
"nalc_default:acid_flowing",
"nalc_bucket:bucket_acid",
"bucket_acid.png",
"Acid Bucket",
{not_in_creative_inventory = 1}
)
bucket.register_liquid(
"nalc_default:sand_source",
"nalc_default:sand_flowing",
"nalc_bucket:bucket_sand",
"bucket_sand.png",
"Sand Bucket",
{not_in_creative_inventory = 1}
)
minetest.register_craft(
{ output = "nalc_bucket:bucket_sand",
recipe = {
{"group:sand"},
{"group:sand"},
{"bucket:bucket_water"},
},
})
minetest.register_alias("bucket:acid_source", "nalc_default:acid_source")
minetest.register_alias("bucket:acid_flowing", "nalc_default:acid_flowing")
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_default:sand_source")
minetest.register_alias("bucket:sand_flowing", "nalc_default:sand_flowing")
minetest.register_alias("bucket:bucket_sand", "nalc_bucket:bucket_sand")
minetest.log("action", "[nalc_bucket] loaded.")