Commit Graph

11 Commits

Author SHA1 Message Date
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