summaryrefslogtreecommitdiff
path: root/strawberry.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2016-06-09 15:08:34 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2016-06-09 15:08:34 +0100
commit0b43f0428559cd477da796d7f27648814cc8cfe8 (patch)
tree633c6bd0beeb5c8caef32fdd96d19bb87d75438f /strawberry.lua
parent306c025713487b20a20e32e33277d2f215a70832 (diff)
Added intllib support
Diffstat (limited to 'strawberry.lua')
-rw-r--r--strawberry.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/strawberry.lua b/strawberry.lua
index 22cbdae..0147d43 100644
--- a/strawberry.lua
+++ b/strawberry.lua
@@ -1,7 +1,9 @@
+local S = ethereal.intllib
+
-- Strawberry (can also be planted as seed)
minetest.register_craftitem("ethereal:strawberry", {
- description = "Strawberry",
+ description = S("Strawberry"),
inventory_image = "strawberry.png",
wield_image = "strawberry.png",
on_place = function(itemstack, placer, pointed_thing)