Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- SPDX-FileCopyrightText: 2026 Tomodachi94
- -- SPDX-License-Identifier: MIT
- -- A door that unlocks when an authorized user is nearby.
- -- Contains messages specific to the Stargazer Lounge.
- os.loadAPI("ocs/apis/sensor")
- local proximity_sensor = sensor.wrap("bottom")
- local config = {}
- config.authorized = {}
- config.authorized["Tomodachi94"] = true
- config.authorized["Rolcam"] = true
- config.authorized["GleefulLasahs"] = true
- config.unlock_side = "right"
- config.debug_side = "back"
- config.sensor_side = "bottom"
- config.hostname = "stargazerstaffdoor"
- function config.welcomeMessage()
- term.setCursorPos(1, 1)
- term.setTextColor(colors.purple)
- term.write("Stargazer Lounge")
- term.setTextColor(colors.red)
- term.write(" staff only beyond this point.")
- end
- return config
Advertisement
Add Comment
Please, Sign In to add comment