1
0
mirror of https://github.com/mt-mods/hangglider.git synced 2025-11-23 18:35:26 +01:00
Commit Graph

6 Commits

Author SHA1 Message Date
Medley
17419f721e Add support for games without default game (MTG) (#25)
* Add support for games without `default`

This adds support for games like Mineclonia, and any game xcompat adds
support for. The only asterix is dye support, the pattern for dyes has
been expanded for common dye mods, but if a new dye mod has different
dye names those might not work without an update to the pattern.

* Refactor & fix Farlands dye support

* Add some mcl colors, make names & their order consistent

* Fix old crafting bug & refacfor crafting

* Minor refactor & reorder for clarity

* Fix for Farlands `get_name` returning "" not nil

Farlands seems to return "" instead of nil/0 when no item is present.
By accounting for this, this commit fixes an issue where any empty slot
repaired the glider.

* Separate color handling to new module

* Luacheck fix

* Ignore empty `do end` luacheck warnings

* Replace `minetest.` with `core.`
2025-10-19 10:22:36 -04:00
tenplus1
071fe93cf5 add pova support (#20)
* Update mod.conf

add pova optional dependency

* Update init.lua

add support for pova

* Update .luacheckrc

---------

Co-authored-by: Luke aka SwissalpS <161979+SwissalpS@users.noreply.github.com>
2025-01-18 17:42:39 +01:00
OgelGames
c2f339c0a4 Hangglider rewrite and improvements (#11)
* hangglider rewrite

* correct job name and use faster luacheck action

* more powerful airbrake and less antigravity

* optimize textures

* Update .luacheckrc

* update item texture to match actual appearance

* up to 256 colors of glider with only one recipe

* fix mtg dye colors not working

* almost forgot to add a readme

* export ignore

* Update mod.conf

* Update README.md
2023-08-03 08:33:36 +02:00
Niklp
cd67eb2d19 fixes #1 (#5)
* partially fixes #1

* remove support for "minetestmd" and "wardzones"
2022-07-04 21:48:01 +02:00
Niklp
bbde71805a Replace deprecated functions (#4)
* Replace deprecated functions

* add min_minetest_version
2022-06-18 21:15:23 +02:00
Jordan Irwin
1a944d7f04 Set name in mod.conf to avoid startup error due to directory name 2019-03-03 19:37:53 -08:00