mirror of
https://github.com/minetest-mods/nether.git
synced 2025-06-30 23:40:45 +02:00
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)
This commit is contained in:
@ -31,8 +31,8 @@ local ENABLE_PORTAL_EXAMPLE_SURFACETRAVEL = false
|
||||
|
||||
-- Sets how far a Surface Portal will travel, measured in cells along the Moore curve,
|
||||
-- which are about 117 nodes square each. Larger numbers will generally mean further distance
|
||||
-- as-the-crow-flies, but for small adjustments this will not always be true due to the how
|
||||
-- the Moore curve frequently doubles back upon itself.
|
||||
-- as-the-crow-flies, but this will not always be true due to the how the Moore curve
|
||||
-- frequently doubles back upon itself.
|
||||
-- This doubling-back prevents the surface portal from taking players easily accross the
|
||||
-- map - the curve is 262144 cells long!
|
||||
local SURFACE_TRAVEL_DISTANCE = 26
|
||||
|
Reference in New Issue
Block a user