Commit Graph

16 Commits

Author SHA1 Message Date
Treer
4d4a3435e2 Images instead of ASCII diagrams in Book of Portals 2020-02-15 16:04:02 +11:00
Treer
1ffd88f7e1 text changes
Also a minor change to prevent surface portals from appearing in a grid pattern in MT 0.4
2020-02-15 16:04:01 +11:00
Treer
1312bf6dc5 Trim trailing spaces
This eliminates most luacheck formatting warnings
2020-02-15 16:04:01 +11:00
Treer
44e68d809d Update .luacheckrc and fix warnings
Changes to reduce formatting warnings will be committed separately
2020-02-15 16:04:00 +11:00
Treer
7b72364d15 Update copyrights & require Minetest v0.4.16 or greater
Also adds nether.register_wormhole_node(), moving the wormhole node template into portal_api.lua, and allowing wormhole nodes with custom post_effect_color to be more easily created.
2020-02-15 16:04:00 +11:00
Treer
79ed3f17e1 Add more mesecon support
wormholes now emit mesecon energy, allowing mesecons to know the state of the portal.
(mesecons could previously only set the state of the portal)
2020-02-15 16:04:00 +11:00
Treer
b74b92bb2d Add Minetest 0.4 support 2020-02-15 16:04:00 +11:00
Treer
2bddf340c5 check for portal frames on the surface
When a surface level was known, only the volume_is_natural check was being performed, this fixes that.
Also fixes bug where LBM didn't start the timer of example portals that had been disabled.
Allows portal ignite to repair a stopped timer.
Other misc cleanup - paramat's new Floatlands won't have lakes so I removed that from the flavortext.
2020-02-15 16:03:59 +11:00
Treer
10d8925220 Move wormhole_node_is_horizontal into the shape definition
out of the portal defintion
2020-02-15 16:03:59 +11:00
Treer
1ddf1bee76 Add settingtypes.txt settings 2020-02-15 16:03:59 +11:00
Treer
7c11ee9017 Finish example portals
give nether_portal_circular.mts a flat floor - the new nether_portal_circular.mts allows its bottom nodes to be sunk into the ground.
Example portal basic behavior and book_of_portals_pagetext implemented.
Other changes are allowing portals corrupted by ABMs to be repaired, finding better ground level of surface portals.
2020-02-15 16:03:58 +11:00
Treer
672069d798 Add PortalShape_Platform
and other work on the portal examples
also documentation and fixing issue where apples prevented volume_is_natural() from returning true
2020-02-15 16:03:58 +11:00
Treer
c15fd3643d Add Surface-following portal using Moore curves 2020-02-15 16:03:58 +11:00
Treer
f9692faaa7 Standardize files as LF without CR, and UTF-8 without BOM
UTF-8 with BOM crashes some systems according to 6551f5c120 comment, and there are several cases where Minetest is buggy with files that use CRLF line endings (though none I'm aware that affect these files), so strip CRs and BOM
2020-02-15 16:03:58 +11:00
Treer
ceb7148ce8 Check no other mod is already using a portal definition 2020-02-15 16:03:57 +11:00
Treer
d5bfb142fa Add portal_examples.lua
Currently the example portals just take you to the nether, like nether portals. In theory they could take players anywhere.
2020-02-15 16:03:57 +11:00