nalc/nalc_bucket/init.lua

43 lines
1.2 KiB
Lua
Raw Normal View History

2018-09-16 13:21:15 +02:00
bucket.register_liquid(
"nalc:acid_source",
"nalc:acid_flowing",
2018-09-16 13:21:15 +02:00
"nalc_bucket:bucket_acid",
"bucket_acid.png",
"Acid Bucket",
{not_in_creative_inventory = 1}
)
bucket.register_liquid(
"nalc:sand_source",
"nalc:sand_flowing",
2018-09-16 13:21:15 +02:00
"nalc_bucket:bucket_sand",
"bucket_sand.png",
"Sand Bucket",
{not_in_creative_inventory = 1}
)
minetest.register_craft(
{ output = "nalc:bucket_sand",
2018-09-16 13:21:15 +02:00
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")
2018-09-16 13:21:15 +02:00
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")
2018-09-16 13:21:15 +02:00
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.")