sda97ghb/realtest — pull request #2 by xyzz (2012-12-07 18:47:14+00:00)
Title: Fix buckets and make them more extensible.

Example of use: VanessaE's unifieddyes mod registers craft like this:

```
minetest.register_craft( {
type = "shapeless",
output = "unifieddyes:dye_base 6",
recipe = {
"vessels:glass_bottle",
"vessels:glass_bottle",
"vessels:glass_bottle",
"vessels:glass_bottle",
"vessels:glass_bottle",
"vessels:glass_bottle",
"bucket:bucket_water",
"default:junglegrass",
},
replacements = { {'bucket:bucket_water', 'bucket:bucket_empty'}, },
})
```

As realtest has many types of buckets it was impossible to register
same recipe in reasonable way. Now it would be:

```
minetest.register_craft( {
type = "shapeless",
output = "unifieddyes:dye_base 6",
recipe = {
"vessels:glass_bottle",
"vessels:glass_bottle",
"vessels:glass_bottle",
"vessels:glass_bottle",
"vessels:glass_bottle",
"vessels:glass_bottle",
"group:bucket_with_water",
"default:junglegrass"
},
replacements = buckets.replacements.water,
})
```