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:
@ -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,
|
||||
|
Reference in New Issue
Block a user