mirror of
https://codeberg.org/Wuzzy/pride_flags.git
synced 2025-04-30 14:11:43 -04:00
Compare commits
25 commits
Author | SHA1 | Date | |
---|---|---|---|
|
d4455b31f0 | ||
|
c7e39fb2db | ||
|
47a9fc050c | ||
|
b04cc0ece8 | ||
|
7ea3076ba2 | ||
|
87d4e305fe | ||
|
12de6a2365 | ||
|
5baf4eea28 | ||
|
3fcbc8d793 | ||
|
97e66600fd | ||
|
f58488c715 | ||
|
249ca5d861 | ||
|
efc157492a | ||
|
fba6030272 | ||
|
16613e636c | ||
|
0bf701f451 | ||
|
55bb184ea6 | ||
|
a0adbb6c06 | ||
|
6936be82d0 | ||
|
e774da4fd4 | ||
|
e1b6f01687 | ||
|
a81e55d781 | ||
|
343f664534 | ||
|
b06fff649a | ||
|
1985c4d921 |
9 changed files with 38 additions and 11 deletions
|
@ -65,6 +65,9 @@ Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)
|
||||||
intersex, polyamorous, queer, maverique, neutrois, multigender, polygender:
|
intersex, polyamorous, queer, maverique, neutrois, multigender, polygender:
|
||||||
by Wuzzy
|
by Wuzzy
|
||||||
|
|
||||||
|
progress
|
||||||
|
by Edgy1
|
||||||
|
|
||||||
You are free to:
|
You are free to:
|
||||||
Share — copy and redistribute the material in any medium or format.
|
Share — copy and redistribute the material in any medium or format.
|
||||||
Adapt — remix, transform, and build upon the material for any purpose, even commercially.
|
Adapt — remix, transform, and build upon the material for any purpose, even commercially.
|
||||||
|
|
16
README.txt
16
README.txt
|
@ -1,7 +1,7 @@
|
||||||
Pride Flags Mod v2.0.5
|
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:
|
||||||
|
|
||||||
|
@ -29,8 +29,10 @@ List of flags
|
||||||
--------------------
|
--------------------
|
||||||
These flags are available:
|
These flags are available:
|
||||||
|
|
||||||
* Orientations (sexual, romantic or other)
|
* Broader community:
|
||||||
* Gay/LGBTQ+ (rainbow flag)
|
* Gay/LGBTQ+ (rainbow flag)
|
||||||
|
* Progress Pride
|
||||||
|
* Orientations (sexual, romantic or other)
|
||||||
* Lesbian
|
* Lesbian
|
||||||
* Vincian
|
* Vincian
|
||||||
* Sexual orientations
|
* Sexual orientations
|
||||||
|
@ -83,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)
|
||||||
|
|
||||||
|
@ -101,3 +103,9 @@ The source code is licensed under the LGPLv3.
|
||||||
The media is licensed under CC BY-SA 3.0.
|
The media is licensed under CC BY-SA 3.0.
|
||||||
|
|
||||||
See LICENSE.txt for details and credits.
|
See LICENSE.txt for details and credits.
|
||||||
|
|
||||||
|
Translation credits:
|
||||||
|
|
||||||
|
* German: Wuzzy
|
||||||
|
* French: Z-Master
|
||||||
|
* Spanish: megustanlosfrijoles
|
||||||
|
|
16
init.lua
16
init.lua
|
@ -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
|
||||||
|
@ -25,7 +25,8 @@ 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. Do not change this list!
|
-- 8fd4f9661e123bc84c0499c4809537e8aeb24c3b.
|
||||||
|
-- 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",
|
||||||
|
@ -34,8 +35,9 @@ 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 = {
|
||||||
-- rainbow flag / LGBT+ Pride flag / Gay Pride flag
|
-- broader community
|
||||||
"rainbow",
|
"rainbow", -- rainbow flag / LGBTQ+ Pride flag / Gay Pride flag
|
||||||
|
"progress", -- Progress Pride
|
||||||
-- orientations (general)
|
-- orientations (general)
|
||||||
"lesbian", "vincian",
|
"lesbian", "vincian",
|
||||||
-- sexual orientations
|
-- sexual orientations
|
||||||
|
@ -362,7 +364,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.register_protection_violation( pos, pname )
|
minetest.record_protection_violation( pos, pname )
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -420,7 +422,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 not pointed_thing.type == "node" then
|
if pointed_thing.type ~= "node" then
|
||||||
return itemstack
|
return itemstack
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
# 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
|
||||||
|
|
5
locale/pride_flags.es.tr
Normal file
5
locale/pride_flags.es.tr
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# 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
|
5
locale/pride_flags.fr.tr
Normal file
5
locale/pride_flags.fr.tr
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# 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
|
|
@ -1,3 +1,5 @@
|
||||||
# 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: 403 B After Width: | Height: | Size: 787 B |
BIN
textures/prideflag_progress.png
Normal file
BIN
textures/prideflag_progress.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.8 KiB |
Loading…
Add table
Reference in a new issue