mirror of
https://codeberg.org/Wuzzy/pride_flags.git
synced 2025-03-15 04:41:21 +00:00
Clean up init.lua a bit
This commit is contained in:
parent
dcf0b79420
commit
662bc328f4
1 changed files with 1 additions and 3 deletions
4
init.lua
4
init.lua
|
@ -3,8 +3,6 @@
|
|||
--
|
||||
-- See README.txt for licensing and other information.
|
||||
-- Copyright (c) 2022, Leslie E. Krause
|
||||
--
|
||||
-- ./games/minetest_game/mods/pride_flags/init.lua
|
||||
--------------------------------------------------------
|
||||
|
||||
local wind_noise = PerlinNoise( 204, 1, 0, 500 )
|
||||
|
@ -67,7 +65,7 @@ minetest.register_entity( "pride_flags:wavingflag", {
|
|||
|
||||
reset_animation = function ( self, start_frame )
|
||||
local cur_wind = wind_noise:get2d( { x = os.time( ) % 65535, y = 0 } ) * 30 + 30
|
||||
print( cur_wind )
|
||||
minetest.log("verbose", "[pride_flags] Current wind: " .. cur_wind)
|
||||
local anim_speed
|
||||
local wave_sound
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue