Add some aliases to bucket
authorPerttu Ahola <celeron55@gmail.com>
Sat, 3 Dec 2011 22:51:19 +0000 (00:51 +0200)
committerPerttu Ahola <celeron55@gmail.com>
Sat, 3 Dec 2011 22:51:19 +0000 (00:51 +0200)
data/mods/bucket/init.lua

index 269c97054384eafba91887a0fea744ae5a9ad4d7..5aa17e0d3946b513068884a829a5416b63b263bb 100644 (file)
@@ -1,3 +1,10 @@
+-- bucket (Minetest 0.4 mod)
+-- A bucket, which can pick up water and lava
+
+minetest.alias_craftitem("bucket", "bucket:bucket_empty")
+minetest.alias_craftitem("bucket_water", "bucket:bucket_water")
+minetest.alias_craftitem("bucket_lava", "bucket:bucket_lava")
+
 minetest.register_craft({
        output = 'craft "bucket:bucket_empty" 1',
        recipe = {