aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-12-04 00:51:19 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-12-04 00:51:19 +0200
commit5c24450e54c8c47981646841fe5c4fa2a34cfe6b (patch)
treec6e55a363e582c42f39ee7eee045299062ac4027
parent3a689a5c4faa8729ee3f94f4528e196aa5ef34a7 (diff)
downloadminetest-5c24450e54c8c47981646841fe5c4fa2a34cfe6b.tar.gz
minetest-5c24450e54c8c47981646841fe5c4fa2a34cfe6b.tar.bz2
minetest-5c24450e54c8c47981646841fe5c4fa2a34cfe6b.zip
Add some aliases to bucket
-rw-r--r--data/mods/bucket/init.lua7
1 files changed, 7 insertions, 0 deletions
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 = {