Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Startup script for Enhanced Portals 3 elevator API.
- --Guide for the "physical" structure required can be found at: http://forum.feed-the-beast.com/threads/rhns-1-6-monster-build-journal-and-guide-collection.42664/page-17#post-722552
- --Copy and modify this script only for each elevator needed. So make a copy for the elevator in Building A and a copy for Bunker B etc. so you can individually adapt it to have the right number of floors/buttons and the proper text on on the buttons. The customized scripts will then automatically download and use the elevator API.
- --Replace the text on each of the floors below with the descriptions of your own choice. This is what will be shown on the touchscreen buttons ingame. Keep the length of the text between the " " 16 characters long by adding/subtracting spaces.
- --If you have fewer floors than the maximum 9, just delete the extra lines below: Only have 8 floors, delete: >buttontext[9]="Floor 9 "<
- --Customize your floor descriptions here:
- local buttontext = {}
- buttontext[1]=" 4 "
- buttontext[2]=" 3 "
- buttontext[3]=" 2 "
- buttontext[4]=" 1 Bridge "
- buttontext[5]=" 0 Transport hub"
- buttontext[6]="S1 ME main hub "
- buttontext[7]="S2 Processing "
- buttontext[8]="S3 Assembly "
- buttontext[9]="S4 "
- --Downloading and using the elevator API:
- shell.run("rm", "elevator")
- shell.run("pastebin", "get", "1M5sgXpT", "elevator")
- os.loadAPI("elevator")
- elevator.elevator(buttontext)
Add Comment
Please, Sign In to add comment