The mod creator can define the wall and filler node of the portal
Lightweight and easily accessible to new modders
Can be modified to change the height and width of portals
Portals have no distinct shape, can be shaped to how you like them
How to use:
Build any shape you'd like, as long as there are no other nodes inside your portal besides air
Portals have a default height of 30 and radius of 15
Bugs:
The central node (the node you click to create portals) must be aligned with the highest node in the portal or there will be air pockets on the top of your portal
You must click the lowest central node in the portal or there will be air pockets in the bottom of the portal
Portals have no teleportation function, so they just build themselves for now
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.
Attachments
screenshot_20161113_165154.png (578.37 KiB) Viewed 791 times
Last edited by jordan4ibanez on Tue Nov 15, 2016 06:34, edited 2 times in total.
hello, am program. do language in rust. make computer do. okay i go now.
[*]You must click the lowest central node in the portal or there will be air pockets in the bottom of the portal
[*]Portals have no teleportation function, so they just build themselves for now[/list]
i know that this is an api, but as you wrote, i tought it still cretes itself...
portal.register_filler("hell:portal_filler","Hell Portal Filler","hell_portal.png","hell_portal_particle.png",{a = 180, r = 128, g = 0, b = 128})
portal.register_portal("default:torch","default:obsidian","hell:portal_filler")
The first one tells us how the filler ("the purple stuff") should look like, the second one tells us that a torch is what activates the portal.