Skip to content

Instantly share code, notes, and snippets.

View ExtraPerry's full-sized avatar

ExtraPerry ExtraPerry

View GitHub Profile
@ExtraPerry
ExtraPerry / cdial.lua
Last active August 14, 2024 18:24
Chat based control system for dialing a startgate using a computer craft computer. Note : Requires Crystal Interface or higher and a Advanced Peripherals Player Detector and Chat Box to be connected to the system. Tip : Naming the script "startup" and leaving it in the root directory of the computer will make it run upon load.
--Global Static Variables--
DETECTION_RANGE = 8;
CHATBOX_NAME = "&bcSGC";
CHATBOX_BRACKETS = "[]";
CHATBOX_COLOUR = "&4";
CHATBOX_RANGE = 48;
ADDRESSES = {
{"Abydos", {26, 6, 14, 31, 11, 29, 0}},
{"Chulak", {8, 1, 22, 14, 36, 19, 0}},
@ExtraPerry
ExtraPerry / StargateDialing.lua
Last active August 14, 2024 18:24
Computer Craft dialing program for the SG Journey Minecraft Mod (This one primarily used for the ATM-9 modpack).
ADDRESSES = {
{"Abydos", {26, 6, 14, 31, 11, 29, 0}},
{"Chulak", {8, 1, 22, 14, 36, 19, 0}},
{"Cavum Tenebrae", {18, 7, 3, 36, 25, 15, 0}},
{"Lantea", {18, 20, 1, 15, 14, 7, 19, 0}},
{"Overworld", {27, 25, 4, 35, 10, 28, 0}},
{"Nether", {27, 23, 4, 34, 12, 28, 0}},
{"End", {13, 24, 2, 19, 3, 30, 0}},
{"Aether", {28, 11, 16, 4, 29, 33, 0}},
{"Twilight Forest", {36, 33, 16, 25, 7, 14, 0}},