projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a689a5
)
Add some aliases to bucket
author
Perttu Ahola
<celeron55@gmail.com>
Sat, 3 Dec 2011 22:51:19 +0000
(
00:51
+0200)
committer
Perttu Ahola
<celeron55@gmail.com>
Sat, 3 Dec 2011 22:51:19 +0000
(
00:51
+0200)
data/mods/bucket/init.lua
patch
|
blob
|
history
diff --git
a/data/mods/bucket/init.lua
b/data/mods/bucket/init.lua
index 269c97054384eafba91887a0fea744ae5a9ad4d7..5aa17e0d3946b513068884a829a5416b63b263bb 100644
(file)
--- 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 = {