1
0
mirror of https://github.com/t-affeldt/regional_weather.git synced 2025-07-18 08:20:28 +02:00

Implement i18n support

This commit is contained in:
Till Affeldt
2020-05-29 22:02:12 +02:00
parent 920f80e044
commit 0fd6942225
6 changed files with 22 additions and 1 deletions

View File

@ -13,6 +13,8 @@ local GROUND_COVERS = {
"default:permafrost_with_stones"
}
local S = regional_weather.i18n
-- clean up puddles if disabled
if not regional_weather.settings.puddles then
-- set all puddle nodes to air
@ -57,6 +59,7 @@ for i = 1, VARIANT_COUNT do
texture = texture .. "^[transformFX"
end
minetest.register_node(name, {
description = S("Puddle"),
tiles = { texture },
drawtype = "nodebox",
pointable = false,