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 /mushroom.lua | |
parent | 306c025713487b20a20e32e33277d2f215a70832 (diff) |
Added intllib support
Diffstat (limited to 'mushroom.lua')
-rw-r--r-- | mushroom.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mushroom.lua b/mushroom.lua index 3df858b..91947e1 100644 --- a/mushroom.lua +++ b/mushroom.lua @@ -1,7 +1,9 @@ +local S = ethereal.intllib
+
-- mushroom soup (Heals 1 heart)
minetest.register_craftitem("ethereal:mushroom_soup", {
- description = "Mushroom Soup",
+ description = S("Mushroom Soup"),
inventory_image = "mushroom_soup.png",
on_use = minetest.item_eat(5, "ethereal:bowl"),
})
|