diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2016-06-09 15:08:34 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2016-06-09 15:08:34 +0100 |
commit | 0b43f0428559cd477da796d7f27648814cc8cfe8 (patch) | |
tree | 633c6bd0beeb5c8caef32fdd96d19bb87d75438f /bonemeal.lua | |
parent | 306c025713487b20a20e32e33277d2f215a70832 (diff) |
Added intllib support
Diffstat (limited to 'bonemeal.lua')
-rw-r--r-- | bonemeal.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bonemeal.lua b/bonemeal.lua index b1a0174..4b50ba3 100644 --- a/bonemeal.lua +++ b/bonemeal.lua @@ -1,7 +1,9 @@ +local S = ethereal.intllib
+
-- bone item
minetest.register_craftitem("ethereal:bone", {
- description = "Bone",
+ description = S("Bone"),
inventory_image = "bone.png",
})
@@ -220,7 +222,7 @@ end -- bonemeal item
minetest.register_craftitem("ethereal:bonemeal", {
- description = "Bone Meal",
+ description = S("Bone Meal"),
inventory_image = "bonemeal.png",
on_use = function(itemstack, user, pointed_thing)
|