Rename files to match naming convention

master
Wuzzy 2022-07-02 15:53:10 +02:00
parent 662bc328f4
commit 7035943fc4
9 changed files with 16 additions and 16 deletions

View File

@ -57,16 +57,16 @@ Multimedia License (textures, sounds, and models)
Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)
/models/mast_lower.obj /models/pride_flags_mast_lower.obj
by sorcerykid by sorcerykid
/models/mast_upper.obj /models/pride_flags_mast_upper.obj
by sorcerykid by sorcerykid
/models/wavingflag.b3d /models/pride_flags_wavingflag.b3d
by sorcerykid by sorcerykid
/textures/default_baremetal.png /textures/pride_flags_baremetal.png
by sorcerykid by sorcerykid
/textures/prideflag_asexual.png /textures/prideflag_asexual.png
@ -102,17 +102,17 @@ Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)
/textures/prideflag_transgender.png /textures/prideflag_transgender.png
by sorcerykid by sorcerykid
/sounds/flagwave1.ogg /sounds/pride_flags_flagwave1.ogg
by Chelly01 by Chelly01
obtained from https://freesound.org/people/Chelly01/sounds/541088/ obtained from https://freesound.org/people/Chelly01/sounds/541088/
modified by sorcerykid modified by sorcerykid
/sounds/flagwave2.ogg /sounds/pride_flags_flagwave2.ogg
by Chelly01 by Chelly01
obtained from https://freesound.org/people/Chelly01/sounds/541088/ obtained from https://freesound.org/people/Chelly01/sounds/541088/
modified by sorcerykid modified by sorcerykid
/sounds/flagwave3.ogg /sounds/pride_flags_flagwave3.ogg
by Chelly01 by Chelly01
obtained from https://freesound.org/people/Chelly01/sounds/541088/ obtained from https://freesound.org/people/Chelly01/sounds/541088/
modified by sorcerykid modified by sorcerykid

View File

@ -22,7 +22,7 @@ minetest.register_entity( "pride_flags:wavingflag", {
collisionbox = { -0.1, -0.85, -0.1, 0.1, 0.85, 0.1 }, collisionbox = { -0.1, -0.85, -0.1, 0.1, 0.85, 0.1 },
backface_culling = false, backface_culling = false,
pointable = false, pointable = false,
mesh = "wavingflag.b3d", mesh = "pride_flags_wavingflag.b3d",
textures = { "prideflag_rainbow.png" }, textures = { "prideflag_rainbow.png" },
use_texture_alpha = false, use_texture_alpha = false,
}, },
@ -71,16 +71,16 @@ minetest.register_entity( "pride_flags:wavingflag", {
if cur_wind < 10 then if cur_wind < 10 then
anim_speed = 10 -- 2 cycle anim_speed = 10 -- 2 cycle
wave_sound = "flagwave1" wave_sound = "pride_flags_flagwave1"
elseif cur_wind < 20 then elseif cur_wind < 20 then
anim_speed = 20 -- 4 cycles anim_speed = 20 -- 4 cycles
wave_sound = "flagwave1" wave_sound = "pride_flags_flagwave1"
elseif cur_wind < 40 then elseif cur_wind < 40 then
anim_speed = 40 -- 8 cycles anim_speed = 40 -- 8 cycles
wave_sound = "flagwave2" wave_sound = "pride_flags_flagwave2"
else else
anim_speed = 80 -- 16 cycles anim_speed = 80 -- 16 cycles
wave_sound = "flagwave3" wave_sound = "pride_flags_flagwave3"
end end
if self.object then if self.object then
@ -114,10 +114,10 @@ minetest.register_node( "pride_flags:lower_mast", {
description = "Flag Pole", description = "Flag Pole",
drawtype = "mesh", drawtype = "mesh",
paramtype = "light", paramtype = "light",
mesh = "mast_lower.obj", mesh = "pride_flags_mast_lower.obj",
paramtype2 = "facedir", paramtype2 = "facedir",
groups = { cracky = 2, post = 1 }, groups = { cracky = 2, post = 1 },
tiles = { "default_baremetal.png", "default_baremetal.png" }, tiles = { "pride_flags_baremetal.png", "pride_flags_baremetal.png" },
groups = { cracky = 1, level = 2 }, groups = { cracky = 1, level = 2 },
--sounds = default.node_sound_metal_defaults( ), --sounds = default.node_sound_metal_defaults( ),
@ -135,10 +135,10 @@ minetest.register_node( "pride_flags:upper_mast", {
description = "Flag Pole", description = "Flag Pole",
drawtype = "mesh", drawtype = "mesh",
paramtype = "light", paramtype = "light",
mesh = "mast_upper.obj", mesh = "pride_flags_mast_upper.obj",
paramtype2 = "facedir", paramtype2 = "facedir",
groups = { cracky = 2 }, groups = { cracky = 2 },
tiles = { "default_baremetal.png", "default_baremetal.png" }, tiles = { "pride_flags_baremetal.png", "pride_flags_baremetal.png" },
groups = { cracky = 1, level = 2 }, groups = { cracky = 1, level = 2 },
--sounds = default.node_sound_metal_defaults( ), --sounds = default.node_sound_metal_defaults( ),

View File

Before

Width:  |  Height:  |  Size: 452 B

After

Width:  |  Height:  |  Size: 452 B