1
0
mirror of https://github.com/mt-mods/hangglider.git synced 2025-11-17 15:55:29 +01:00
Files
hangglider/mod.conf
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

6 lines
181 B
Plaintext

name = hangglider
description = Adds a functional hang glider for exploring
depends = xcompat
optional_depends = areas, player_monoids, pova, unifieddyes
min_minetest_version = 5.0