Rename Minetest to Luanti

This commit is contained in:
Wuzzy 2024-10-29 13:35:16 +01:00
parent c7e39fb2db
commit d4455b31f0
2 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
Pride Flags Mod v2.2.0 Pride Flags Mod v2.2.0
By Leslie E. Krause and Wuzzy By Leslie E. Krause and Wuzzy
Pride Flags adds a variety of animated flags to celebrate Pride in Minetest. Pride Flags adds a variety of animated flags to celebrate Pride in Luanti.
This adds two blocks: This adds two blocks:
@ -85,7 +85,7 @@ Browse source code...
Compatability Compatability
---------------------- ----------------------
Minetest 5.4.0 or later required. Luanti/Minetest version 5.4.0 or later required.
(older versions might work, too, but the flag waving sound is buggy) (older versions might work, too, but the flag waving sound is buggy)

View file

@ -1,5 +1,5 @@
-------------------------------------------------------- --------------------------------------------------------
-- Minetest :: Pride Flags Mod (pride_flags) -- Luanti :: Pride Flags Mod (pride_flags)
-- --
-- See README.txt for licensing and other information. -- See README.txt for licensing and other information.
-- Copyright (c) 2022, Leslie E. Krause and Wuzzy -- Copyright (c) 2022, Leslie E. Krause and Wuzzy
@ -10,7 +10,7 @@ pride_flags = {}
local wind_noise = PerlinNoise( 204, 1, 0, 500 ) local wind_noise = PerlinNoise( 204, 1, 0, 500 )
-- Check whether the new `get_2d` Perlin function is available, -- Check whether the new `get_2d` Perlin function is available,
-- otherwise use `get2d`. Needed to suppress deprecation -- otherwise use `get2d`. Needed to suppress deprecation
-- warning in newer Minetest versions. -- warning in newer Luanti versions.
local old_get2d = true local old_get2d = true
if wind_noise.get_2d then if wind_noise.get_2d then
old_get2d = false old_get2d = false