Ajout du mod nalc_bucket.
This commit is contained in:
parent
c2a0396b7f
commit
da7756d915
2
nalc_bucket/depends.txt
Normal file
2
nalc_bucket/depends.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
nalc_default
|
||||||
|
bucket
|
35
nalc_bucket/init.lua
Normal file
35
nalc_bucket/init.lua
Normal 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")
|
BIN
nalc_bucket/textures/bucket_acid.png
Executable file
BIN
nalc_bucket/textures/bucket_acid.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 216 B |
BIN
nalc_bucket/textures/bucket_sand.png
Executable file
BIN
nalc_bucket/textures/bucket_sand.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 250 B |
Loading…
Reference in New Issue
Block a user