diff --git a/README.txt b/README.txt index 3c7f8b3..1145eb1 100644 --- a/README.txt +++ b/README.txt @@ -5,7 +5,7 @@ A fun alternative mode of transport for Minetest. Controls ======== - + Forward (W) Thrust Jump (Space) Jump 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 right now is to restrict the hovercraft to a certain area. For example, 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] diff --git a/TODO.txt b/TODO.txt index bebab15..0810866 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,3 +1,2 @@ TODO: -- add colors from michyo's fork: https://github.com/michyo/hovercramt diff --git a/changelog.txt b/changelog.txt index 5663af7..b22ff41 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,9 @@ +v1.1 +---- +- added extended colors from michyo's fork: https://github.com/michyo/hovercramt + + v1.0 ---- - forked from stu's original hovercraft diff --git a/init.lua b/init.lua index f4a2d3a..94e2c16 100644 --- a/init.lua +++ b/init.lua @@ -32,6 +32,22 @@ local hover_colors = { 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 local title = "" local whitespace = true diff --git a/locale/hovercraft.es.tr b/locale/hovercraft.es.tr index acb9a6c..708fd26 100644 --- a/locale/hovercraft.es.tr +++ b/locale/hovercraft.es.tr @@ -7,6 +7,17 @@ Red Hovercraft=Aerodeslizador Rojo Blue Hovercraft=Aerodeslizador Azul Green Hovercraft=Aerodeslizador Verde 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 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. diff --git a/locale/template.txt b/locale/template.txt index 6ab1d2a..1166b6f 100644 --- a/locale/template.txt +++ b/locale/template.txt @@ -7,6 +7,17 @@ Red Hovercraft= Blue Hovercraft= Green 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 cannot take @1's hovercraft.= You cannot ride @1's hovercraft.= diff --git a/settingtypes.txt b/settingtypes.txt index 0cdaa49..e575946 100644 --- a/settingtypes.txt +++ b/settingtypes.txt @@ -1,3 +1,6 @@ # Hovercrafts can only be used by owners. mount_ownable (Ownable hovercrafts) bool true + +# Enable extended hovercraft colors. +hovercraft.extended_colors (Extended hovercraft colors) bool true diff --git a/textures/hovercraft_black.png b/textures/hovercraft_black.png new file mode 100644 index 0000000..77f4a66 Binary files /dev/null and b/textures/hovercraft_black.png differ diff --git a/textures/hovercraft_black_inv.png b/textures/hovercraft_black_inv.png new file mode 100644 index 0000000..9125ab7 Binary files /dev/null and b/textures/hovercraft_black_inv.png differ diff --git a/textures/hovercraft_brown.png b/textures/hovercraft_brown.png new file mode 100644 index 0000000..b2a545e Binary files /dev/null and b/textures/hovercraft_brown.png differ diff --git a/textures/hovercraft_brown_inv.png b/textures/hovercraft_brown_inv.png new file mode 100644 index 0000000..6524a57 Binary files /dev/null and b/textures/hovercraft_brown_inv.png differ diff --git a/textures/hovercraft_cyan.png b/textures/hovercraft_cyan.png new file mode 100644 index 0000000..d79738e Binary files /dev/null and b/textures/hovercraft_cyan.png differ diff --git a/textures/hovercraft_cyan_inv.png b/textures/hovercraft_cyan_inv.png new file mode 100644 index 0000000..12773e6 Binary files /dev/null and b/textures/hovercraft_cyan_inv.png differ diff --git a/textures/hovercraft_dark_green.png b/textures/hovercraft_dark_green.png new file mode 100644 index 0000000..8650cfb Binary files /dev/null and b/textures/hovercraft_dark_green.png differ diff --git a/textures/hovercraft_dark_green_inv.png b/textures/hovercraft_dark_green_inv.png new file mode 100644 index 0000000..f9ed24a Binary files /dev/null and b/textures/hovercraft_dark_green_inv.png differ diff --git a/textures/hovercraft_dark_grey.png b/textures/hovercraft_dark_grey.png new file mode 100644 index 0000000..4c981b3 Binary files /dev/null and b/textures/hovercraft_dark_grey.png differ diff --git a/textures/hovercraft_dark_grey_inv.png b/textures/hovercraft_dark_grey_inv.png new file mode 100644 index 0000000..06fc6b2 Binary files /dev/null and b/textures/hovercraft_dark_grey_inv.png differ diff --git a/textures/hovercraft_grey.png b/textures/hovercraft_grey.png new file mode 100644 index 0000000..293df84 Binary files /dev/null and b/textures/hovercraft_grey.png differ diff --git a/textures/hovercraft_grey_inv.png b/textures/hovercraft_grey_inv.png new file mode 100644 index 0000000..53f46e3 Binary files /dev/null and b/textures/hovercraft_grey_inv.png differ diff --git a/textures/hovercraft_magenta.png b/textures/hovercraft_magenta.png new file mode 100644 index 0000000..b13500d Binary files /dev/null and b/textures/hovercraft_magenta.png differ diff --git a/textures/hovercraft_magenta_inv.png b/textures/hovercraft_magenta_inv.png new file mode 100644 index 0000000..a813c0d Binary files /dev/null and b/textures/hovercraft_magenta_inv.png differ diff --git a/textures/hovercraft_orange.png b/textures/hovercraft_orange.png new file mode 100644 index 0000000..0aea7ec Binary files /dev/null and b/textures/hovercraft_orange.png differ diff --git a/textures/hovercraft_orange_inv.png b/textures/hovercraft_orange_inv.png new file mode 100644 index 0000000..43b4c39 Binary files /dev/null and b/textures/hovercraft_orange_inv.png differ diff --git a/textures/hovercraft_pink.png b/textures/hovercraft_pink.png new file mode 100644 index 0000000..c17622a Binary files /dev/null and b/textures/hovercraft_pink.png differ diff --git a/textures/hovercraft_pink_inv.png b/textures/hovercraft_pink_inv.png new file mode 100644 index 0000000..ba10943 Binary files /dev/null and b/textures/hovercraft_pink_inv.png differ diff --git a/textures/hovercraft_violet.png b/textures/hovercraft_violet.png new file mode 100644 index 0000000..3e7e1ff Binary files /dev/null and b/textures/hovercraft_violet.png differ diff --git a/textures/hovercraft_violet_inv.png b/textures/hovercraft_violet_inv.png new file mode 100644 index 0000000..4e53b6e Binary files /dev/null and b/textures/hovercraft_violet_inv.png differ diff --git a/textures/hovercraft_white.png b/textures/hovercraft_white.png new file mode 100644 index 0000000..2992f04 Binary files /dev/null and b/textures/hovercraft_white.png differ diff --git a/textures/hovercraft_white_inv.png b/textures/hovercraft_white_inv.png new file mode 100644 index 0000000..76de420 Binary files /dev/null and b/textures/hovercraft_white_inv.png differ