TPH's Doors API Redo

Description

INTENDED FOR PROGRAMMING PURPOSES ONLY - please check init.lua currently for how functions work! Docs in the works! (wanted to make a quick demo release to get feedback). No demonstrative doors provided - you can check commit history on the GIT for them though ;p

I bring you my rendition at an overhaul of Minetest's doors system! A system that I personally dislike a lot - and wanted to see if I could rework from the ground up. Uses ONLY 2 nodes and tries to use meta calls as minimally as possible. No weird self object functionality either. Doors are pretty much fully functional already - any that you register with my mod.

This is intended to ease developer's woes with designing doors + adding a lot more customization and permitting more functionality and conditions. There's a lot more functions to your doors that you can specify such as the doors_interact callback and you now have the ability to use nodeboxes to make doors.

I'm working on setting up conversion from Minetest Game's system to my own system as well - lots of success but not fully furnished and bugs not fully fleshed out. I haven't created a system for trapdoors just yet - but it's in the brain works :D

Hope you enjoy! Feedback - praise and criticism alike is greatly appreciated! I'd like to made my mod as accessible and easy to use as is possible

Reviews

Review

Do you recommend this mod?

  • No reviews, yet.

Releases

1.0.1

Download

Luanti 5.5+

2024-07-02 07:44 UTC

1.0.1 🔗

Some fixes, addition of tph_doors.hard_conversion. Also adds a "usename" second parameter to tph_doors.alias_conversion - intended for properly setting up overrides!

hard_conversion is used to do the above - but also remove those aliases after a set amount of time and unregister the old nodes

1.0

Download

Luanti 5.5+

2024-06-30 18:43 UTC

1.0 - First Release 🔗

First release of the doors API redo!

All releases

Threads

New thread

Thread Last Reply

No threads found

Information

Provides

tph_doors

Dependencies

Required
No required dependencies

Information

Type
Mod
Technical Name
tph_doors
Languages
English
License
MIT
Maintenance State
Work in Progress
Added
2024-06-30 18:42 UTC
Maintainers
TPH

Used By