summaryrefslogtreecommitdiff
path: root/soil.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2016-05-30 12:30:00 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2016-05-30 12:30:00 +0100
commitcbf7bee93af73f0c5fc3098a81149fb3b884b91b (patch)
tree28bd29fe3933cf94a5d41a5a1488ddc3887d9ed4 /soil.lua
parent3d59270aef645f2d98384609d806f591cb6086fa (diff)
Added intllib support (thanks Xanthin)
Diffstat (limited to 'soil.lua')
-rw-r--r--soil.lua7
1 files changed, 5 insertions, 2 deletions
diff --git a/soil.lua b/soil.lua
index e748d5c..2b8c6b2 100644
--- a/soil.lua
+++ b/soil.lua
@@ -1,6 +1,9 @@
+
+local S = farming.intllib
+
-- normal soil
minetest.register_node("farming:soil", {
- description = "Soil",
+ description = S("Soil"),
tiles = {"default_dirt.png^farming_soil.png", "default_dirt.png"},
drop = "default:dirt",
groups = {crumbly = 3, not_in_creative_inventory = 1, soil = 2},
@@ -9,7 +12,7 @@ minetest.register_node("farming:soil", {
-- wet soil
minetest.register_node("farming:soil_wet", {
- description = "Wet Soil",
+ description = S("Wet Soil"),
tiles = {"default_dirt.png^farming_soil_wet.png", "default_dirt.png^farming_soil_wet_side.png"},
drop = "default:dirt",
groups = {crumbly = 3, not_in_creative_inventory = 1, soil = 3},