Compare commits

..

No commits in common. "master" and "2.0.4" have entirely different histories.

9 changed files with 95 additions and 132 deletions

View file

@ -1,94 +0,0 @@
# Licensing and credits for Pride Flags Mod
Source Code License
----------------------------------------------------------
GNU Lesser General Public License v3 (LGPL-3.0)
Copyright (c) 2022, Leslie E. Krause <leslie@searstower.org> and Wuzzy <Wuzzy@disroot.org>
This program is free software; you can redistribute it and/or modify it under the terms of
the GNU Lesser General Public License as published by the Free Software Foundation; either
version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU Lesser General Public License for more details.
http://www.gnu.org/licenses/lgpl-3.0.html
Multimedia License (textures, sounds, and models)
----------------------------------------------------------
Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)
/models/pride_flags_mast_lower.obj
by sorcerykid
/models/pride_flags_mast_upper.obj
by sorcerykid
/models/pride_flags_wavingflag.b3d
by sorcerykid
/textures/pride_flags_baremetal.png
by sorcerykid
/sounds/pride_flags_flagwave1.ogg
by Chelly01
obtained from https://freesound.org/people/Chelly01/sounds/541088/
modified by sorcerykid
/sounds/pride_flags_flagwave2.ogg
by Chelly01
obtained from https://freesound.org/people/Chelly01/sounds/541088/
modified by sorcerykid
/sounds/pride_flags_flagwave3.ogg
by Chelly01
obtained from https://freesound.org/people/Chelly01/sounds/541088/
modified by sorcerykid
Pride flags:
All pride flags have a name like "/textures/prideflag_<NAME>.png",
where <NAME> is the pride flag name. For example, the rainbow flag
is "/textures/prideflag_rainbow.png". These are the current pride flags:
asexual, bisexual, rainbow, gendercreative, genderfluid, genderqueer,
lesbian, nonbinary, pansexual, polysexual, transgender:
by sorcerykid
aromantic, grayromantic, demiromantic, graysexual, demisexual, omnisexual,
homoromantic, biromantic, panromantic, polyromantic, omniromantic,
vincian, agender, demigender, androgyne, multigender,
intersex, polyamorous, queer, maverique, neutrois, multigender, polygender:
by Wuzzy
progress
by Edgy1
You are free to:
Share — copy and redistribute the material in any medium or format.
Adapt — remix, transform, and build upon the material for any purpose, even commercially.
The licensor cannot revoke these freedoms as long as you follow the license terms.
Under the following terms:
Attribution — You must give appropriate credit, provide a link to the license, and
indicate if changes were made. You may do so in any reasonable manner, but not in any way
that suggests the licensor endorses you or your use.
No additional restrictions — You may not apply legal terms or technological measures that
legally restrict others from doing anything the license permits.
Notices:
You do not have to comply with the license for elements of the material in the public
domain or where your use is permitted by an applicable exception or limitation.
No warranties are given. The license may not give you all of the permissions necessary
for your intended use. For example, other rights such as publicity, privacy, or moral
rights may limit how you use the material.
For more details:
http://creativecommons.org/licenses/by-sa/3.0/

View file

@ -1,7 +1,7 @@
Pride Flags Mod v2.2.0 Pride Flags Mod v2.0.4
By Leslie E. Krause and Wuzzy By Leslie E. Krause and Wuzzy
Pride Flags adds a variety of animated flags to celebrate Pride in Luanti. Pride Flags adds a variety of animated flags to celebrate Pride in Minetest.
This adds two blocks: This adds two blocks:
@ -29,10 +29,8 @@ List of flags
-------------------- --------------------
These flags are available: These flags are available:
* Broader community:
* Gay/LGBTQ+ (rainbow flag)
* Progress Pride
* Orientations (sexual, romantic or other) * Orientations (sexual, romantic or other)
* Gay/LGBTQ+ (rainbow flag)
* Lesbian * Lesbian
* Vincian * Vincian
* Sexual orientations * Sexual orientations
@ -85,7 +83,7 @@ Browse source code...
Compatability Compatability
---------------------- ----------------------
Luanti/Minetest version 5.4.0 or later required. Minetest 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)
@ -95,17 +93,92 @@ Installation
1) Unzip the archive into the mods directory of your game. 1) Unzip the archive into the mods directory of your game.
2) Rename the pride_flags-master directory to "pride_flags". 2) Rename the pride_flags-master directory to "pride_flags".
License/Credits Source Code License
---------------------------------------------------------- ----------------------------------------------------------
This mod is free software. GNU Lesser General Public License v3 (LGPL-3.0)
The source code is licensed under the LGPLv3.
The media is licensed under CC BY-SA 3.0.
See LICENSE.txt for details and credits. Copyright (c) 2022, Leslie E. Krause <leslie@searstower.org> and Wuzzy <Wuzzy@disroot.org>
Translation credits: This program is free software; you can redistribute it and/or modify it under the terms of
the GNU Lesser General Public License as published by the Free Software Foundation; either
version 3 of the License, or (at your option) any later version.
* German: Wuzzy This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* French: Z-Master without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* Spanish: megustanlosfrijoles See the GNU Lesser General Public License for more details.
http://www.gnu.org/licenses/lgpl-3.0.html
Multimedia License (textures, sounds, and models)
----------------------------------------------------------
Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)
/models/pride_flags_mast_lower.obj
by sorcerykid
/models/pride_flags_mast_upper.obj
by sorcerykid
/models/pride_flags_wavingflag.b3d
by sorcerykid
/textures/pride_flags_baremetal.png
by sorcerykid
/sounds/pride_flags_flagwave1.ogg
by Chelly01
obtained from https://freesound.org/people/Chelly01/sounds/541088/
modified by sorcerykid
/sounds/pride_flags_flagwave2.ogg
by Chelly01
obtained from https://freesound.org/people/Chelly01/sounds/541088/
modified by sorcerykid
/sounds/pride_flags_flagwave3.ogg
by Chelly01
obtained from https://freesound.org/people/Chelly01/sounds/541088/
modified by sorcerykid
Pride flags:
All pride flags have a name like "/textures/prideflag_<NAME>.png",
where <NAME> is the pride flag name. For example, the rainbow flag
is "/textures/prideflag_rainbow.png". These are the current pride flags:
asexual, bisexual, rainbow, gendercreative, genderfluid, genderqueer,
lesbian, nonbinary, pansexual, polysexual, transgender:
by sorcerykid
aromantic, grayromantic, demiromantic, graysexual, demisexual, omnisexual,
homoromantic, biromantic, panromantic, polyromantic, omniromantic,
vincian, agender, demigender, androgyne, multigender,
intersex, polyamorous, queer, maverique, neutrois, multigender, polygender:
by Wuzzy
You are free to:
Share — copy and redistribute the material in any medium or format.
Adapt — remix, transform, and build upon the material for any purpose, even commercially.
The licensor cannot revoke these freedoms as long as you follow the license terms.
Under the following terms:
Attribution — You must give appropriate credit, provide a link to the license, and
indicate if changes were made. You may do so in any reasonable manner, but not in any way
that suggests the licensor endorses you or your use.
No additional restrictions — You may not apply legal terms or technological measures that
legally restrict others from doing anything the license permits.
Notices:
You do not have to comply with the license for elements of the material in the public
domain or where your use is permitted by an applicable exception or limitation.
No warranties are given. The license may not give you all of the permissions necessary
for your intended use. For example, other rights such as publicity, privacy, or moral
rights may limit how you use the material.
For more details:
http://creativecommons.org/licenses/by-sa/3.0/

View file

@ -1,5 +1,5 @@
-------------------------------------------------------- --------------------------------------------------------
-- Luanti :: Pride Flags Mod (pride_flags) -- Minetest :: 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 Luanti versions. -- warning in newer Minetest 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
@ -25,8 +25,7 @@ local rad_90 = pi / 2
local DEFAULT_FLAG = "rainbow" local DEFAULT_FLAG = "rainbow"
-- Flag list for the old number-based storing of flags, used up to -- Flag list for the old number-based storing of flags, used up to
-- 8fd4f9661e123bc84c0499c4809537e8aeb24c3b. -- 8fd4f9661e123bc84c0499c4809537e8aeb24c3b. Do not change this list!
-- DO NOT CHANGE THIS LIST!
local legacy_flag_list = { local legacy_flag_list = {
"rainbow", "lesbian", "bisexual", "transgender", "genderqueer", "nonbinary", "pansexual", "asexual", "rainbow", "lesbian", "bisexual", "transgender", "genderqueer", "nonbinary", "pansexual", "asexual",
"vincian", "polysexual", "omnisexual", "graysexual", "demisexual", "homoromantic", "biromantic", "vincian", "polysexual", "omnisexual", "graysexual", "demisexual", "homoromantic", "biromantic",
@ -35,9 +34,8 @@ local legacy_flag_list = {
"genderfluid", "intersex", "polyamorous", "queer", "demigirl", "demiboy", "bigender", "trigender", "genderfluid", "intersex", "polyamorous", "queer", "demigirl", "demiboy", "bigender", "trigender",
} }
local flag_list = { local flag_list = {
-- broader community -- rainbow flag / LGBT+ Pride flag / Gay Pride flag
"rainbow", -- rainbow flag / LGBTQ+ Pride flag / Gay Pride flag "rainbow",
"progress", -- Progress Pride
-- orientations (general) -- orientations (general)
"lesbian", "vincian", "lesbian", "vincian",
-- sexual orientations -- sexual orientations
@ -364,7 +362,7 @@ local function cycle_flag( pos, player, cycle_backwards )
local pname = player:get_player_name( ) local pname = player:get_player_name( )
if minetest.is_protected( pos, pname ) and not if minetest.is_protected( pos, pname ) and not
minetest.check_player_privs( pname, "protection_bypass") then minetest.check_player_privs( pname, "protection_bypass") then
minetest.record_protection_violation( pos, pname ) minetest.register_protection_violation( pos, pname )
return return
end end
@ -422,7 +420,7 @@ minetest.register_node( "pride_flags:upper_mast", {
node_placement_prediction = "", node_placement_prediction = "",
on_place = function( itemstack, placer, pointed_thing ) on_place = function( itemstack, placer, pointed_thing )
if pointed_thing.type ~= "node" then if not pointed_thing.type == "node" then
return itemstack return itemstack
end end

View file

@ -1,5 +1,3 @@
# textdomain:pride_flags # textdomain:pride_flags
Pride Flags=Pride-Flaggen
Adds a variety of animated flags to celebrate Pride.=Fügt eine Reihe an animierten Flaggen hinzu, um Pride (LGBTQ+) zu feiern.
Flag Pole=Flaggenmast Flag Pole=Flaggenmast
Flag Pole with Flag=Flaggenmast mit Flagge Flag Pole with Flag=Flaggenmast mit Flagge

View file

@ -1,5 +0,0 @@
# textdomain:pride_flags
Pride Flags=Banderas del orgullo
Adds a variety of animated flags to celebrate Pride.=Añade una variedad de banderas animadas para celebrar el orgullo
Flag Pole=Asta
Flag Pole with Flag=Asta con bandera

View file

@ -1,5 +0,0 @@
# textdomain: pride_flags
Pride Flags=
Adds a variety of animated flags to celebrate Pride.=
Flag Pole=Mât
Flag Pole with Flag=Mât avec drapeau

View file

@ -1,5 +1,3 @@
# textdomain:pride_flags # textdomain:pride_flags
Pride Flags=
Adds a variety of animated flags to celebrate Pride.=
Flag Pole= Flag Pole=
Flag Pole with Flag= Flag Pole with Flag=

Binary file not shown.

Before

Width:  |  Height:  |  Size: 787 B

After

Width:  |  Height:  |  Size: 403 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB