Ajout du mod nalc_bucket.

This commit is contained in:
sys4-fr 2018-09-16 13:21:15 +02:00
parent c2a0396b7f
commit da7756d915
4 changed files with 37 additions and 0 deletions

2
nalc_bucket/depends.txt Normal file
View File

@ -0,0 +1,2 @@
nalc_default
bucket

35
nalc_bucket/init.lua Normal file
View File

@ -0,0 +1,35 @@
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")

Binary file not shown.

After

Width:  |  Height:  |  Size: 216 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 250 B