diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-11-29 18:05:29 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-11-29 19:13:58 +0200 |
commit | d57aa531e138f4e060ab6bb8d1c0221fe32d5ab0 (patch) | |
tree | 09b37d31f2ae8aebabe7c548fbc33d66b98ea04a /data/mods/bucket/init.lua | |
parent | bb898bf587ef108815247c80a8dac82b8d00cd8b (diff) | |
download | minetest-d57aa531e138f4e060ab6bb8d1c0221fe32d5ab0.tar.gz minetest-d57aa531e138f4e060ab6bb8d1c0221fe32d5ab0.tar.bz2 minetest-d57aa531e138f4e060ab6bb8d1c0221fe32d5ab0.zip |
Modify bucket namings
Diffstat (limited to 'data/mods/bucket/init.lua')
-rw-r--r-- | data/mods/bucket/init.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/data/mods/bucket/init.lua b/data/mods/bucket/init.lua index b2947274f..aaed49ab1 100644 --- a/data/mods/bucket/init.lua +++ b/data/mods/bucket/init.lua @@ -21,11 +21,11 @@ minetest.register_craftitem("bucket", { n = minetest.env:get_node(pointed_thing.under) if n.name == "water_source" then minetest.env:add_node(pointed_thing.under, {name="air"}) - player:add_to_inventory_later('CraftItem "water_bucket" 1') + player:add_to_inventory_later('CraftItem "bucket_water" 1') return true elseif n.name == "lava_source" then minetest.env:add_node(pointed_thing.under, {name="air"}) - player:add_to_inventory_later('CraftItem "lava_bucket" 1') + player:add_to_inventory_later('CraftItem "bucket_lava" 1') return true end end @@ -33,7 +33,7 @@ minetest.register_craftitem("bucket", { end, }) -minetest.register_craftitem("water_bucket", { +minetest.register_craftitem("bucket_water", { image = "bucket_water.png", stack_max = 1, liquids_pointable = true, @@ -55,7 +55,7 @@ minetest.register_craftitem("water_bucket", { end, }) -minetest.register_craftitem("lava_bucket", { +minetest.register_craftitem("bucket_lava", { image = "bucket_lava.png", stack_max = 1, liquids_pointable = true, |