Add extended colors by Michiyo Tagami...

https://github.com/michyo/hovercramt
This commit is contained in:
Jordan Irwin 2021-08-24 20:12:24 -07:00
parent 17af825615
commit a62bd9c157
29 changed files with 56 additions and 2 deletions

View File

@ -5,7 +5,7 @@ A fun alternative mode of transport for Minetest.
Controls Controls
======== ========
Forward (W) Thrust Forward (W) Thrust
Jump (Space) Jump Jump (Space) Jump
Mouse Move Rotate Mouse Move Rotate
@ -27,3 +27,12 @@ Entity Duplication: See above. This usually occurs when you move a given
distance from where the entity was originally placed. The only solution distance from where the entity was originally placed. The only solution
right now is to restrict the hovercraft to a certain area. For example, right now is to restrict the hovercraft to a certain area. For example,
create a sunken race track the hovercraft cannot physically escape from. create a sunken race track the hovercraft cannot physically escape from.
Texture Licensing
=================
Original colors by Stuart Jones (CC BY-SA 3.0):
- [Red, Blue, Green, Yellow]
Extended colors by Michiyo Tagami (based on Stuard Jones's originals) (CC BY-SA 3.0):
- [White, Grey, Dark Grey, Black, Cyan, Dark Green, Orange, Brown, Pink, Magenta, Violet]

View File

@ -1,3 +1,2 @@
TODO: TODO:
- add colors from michyo's fork: https://github.com/michyo/hovercramt

View File

@ -1,4 +1,9 @@
v1.1
----
- added extended colors from michyo's fork: https://github.com/michyo/hovercramt
v1.0 v1.0
---- ----
- forked from stu's original hovercraft - forked from stu's original hovercraft

View File

@ -32,6 +32,22 @@ local hover_colors = {
yellow = {}, yellow = {},
} }
if core.settings:get_bool("hovercraft.extended_colors", true) then
for _, color in ipairs({"white", "black", "grey", "dark_grey", "cyan",
"orange", "brown", "pink", "magenta", "violet", "dark_green"}) do
hover_colors[color] = {
max_speed = 12,
accel = 0.25,
decel = 0.05,
jump_vel = 3.0,
fall_vel = 0.5,
bounce = 0.25,
}
end
end
for color, c_def in pairs(hover_colors) do for color, c_def in pairs(hover_colors) do
local title = "" local title = ""
local whitespace = true local whitespace = true

View File

@ -7,6 +7,17 @@ Red Hovercraft=Aerodeslizador Rojo
Blue Hovercraft=Aerodeslizador Azul Blue Hovercraft=Aerodeslizador Azul
Green Hovercraft=Aerodeslizador Verde Green Hovercraft=Aerodeslizador Verde
Yellow Hovercraft=Aerodeslizador Amarillo Yellow Hovercraft=Aerodeslizador Amarillo
White Hovercraft=Aerodeslizador Blanco
Black Hovercraft=Aerodeslizador Negro
Grey Hovercraft=Aerodeslizador Gris
Dark Grey Hovercraft=Aerodeslizador Gris Oscuro
Cyan Hovercraft=Aerodeslizador Cian
Orange Hovercraft=Aerodeslizador Naranja
Brown Hovercraft=Aerodeslizador Marrón
Pink Hovercraft=Aerodeslizador Rosado
Magenta Hovercraft=Aerodeslizador Magenta
Violet Hovercraft=Aerodeslizador Violeta
Dark Green Hovercraft=Aerodeslizador Verde Oscuro
You don't have room in your inventory.=No tienes espacio en tu inventario. You don't have room in your inventory.=No tienes espacio en tu inventario.
You cannot take @1's hovercraft.=No puedes agarrar el aerodeslizador de @1. You cannot take @1's hovercraft.=No puedes agarrar el aerodeslizador de @1.
You cannot ride @1's hovercraft.=No puedes montar el aerodeslizador de @1. You cannot ride @1's hovercraft.=No puedes montar el aerodeslizador de @1.

View File

@ -7,6 +7,17 @@ Red Hovercraft=
Blue Hovercraft= Blue Hovercraft=
Green Hovercraft= Green Hovercraft=
Yellow Hovercraft= Yellow Hovercraft=
White Hovercraft=
Black Hovercraft=
Grey Hovercraft=
Dark Grey Hovercraft=
Cyan Hovercraft=
Orange Hovercraft=
Brown Hovercraft=
Pink Hovercraft=
Magenta Hovercraft=
Violet Hovercraft=
Dark Green Hovercraft=
You don't have room in your inventory.= You don't have room in your inventory.=
You cannot take @1's hovercraft.= You cannot take @1's hovercraft.=
You cannot ride @1's hovercraft.= You cannot ride @1's hovercraft.=

View File

@ -1,3 +1,6 @@
# Hovercrafts can only be used by owners. # Hovercrafts can only be used by owners.
mount_ownable (Ownable hovercrafts) bool true mount_ownable (Ownable hovercrafts) bool true
# Enable extended hovercraft colors.
hovercraft.extended_colors (Extended hovercraft colors) bool true

Binary file not shown.

After

Width:  |  Height:  |  Size: 802 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 156 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 832 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 168 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 820 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 790 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 168 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 821 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 165 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 824 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 831 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 168 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 835 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 839 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 167 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 841 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 167 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 805 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 B