From 5c24450e54c8c47981646841fe5c4fa2a34cfe6b Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sun, 4 Dec 2011 00:51:19 +0200 Subject: [PATCH] Add some aliases to bucket --- data/mods/bucket/init.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/data/mods/bucket/init.lua b/data/mods/bucket/init.lua index 269c97054..5aa17e0d3 100644 --- a/data/mods/bucket/init.lua +++ b/data/mods/bucket/init.lua @@ -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 = {