Moved a gate
This commit is contained in:
@ -11,16 +11,15 @@ local addresses = {}
|
|||||||
-- Common 7-chevron addresses for main destinations
|
-- Common 7-chevron addresses for main destinations
|
||||||
|
|
||||||
addresses.MainGates = {
|
addresses.MainGates = {
|
||||||
{ "OVERWORLD", { 27, 25, 4, 35, 10, 28, 0 } },
|
{ "OVERWORLD", { 27, 25, 4, 35, 10, 28, 0 } },
|
||||||
{ "Nether", { 27, 23, 4, 34, 12, 28, 0 } },
|
{ "Nether", { 27, 23, 4, 34, 12, 28, 0 } },
|
||||||
{ "End", { 13, 24, 2, 19, 3, 30, 0 } },
|
{ "End", { 13, 24, 2, 19, 3, 30, 0 } },
|
||||||
{ "Abydos", { 26, 6, 14, 31, 11, 29, 0 } },
|
{ "Abydos", { 26, 6, 14, 31, 11, 29, 0 } },
|
||||||
{ "Chulak", { 8, 1, 22, 14, 36, 19, 0 } },
|
{ "Chulak", { 8, 1, 22, 14, 36, 19, 0 } },
|
||||||
{ "Unitas", { 2, 27, 8, 34, 24, 15, 0 } },
|
{ "Unitas", { 2, 27, 8, 34, 24, 15, 0 } },
|
||||||
{ "Cavum Tenebrae", { 18, 7, 3, 36, 25, 15, 0 } },
|
{ "Lantea", { 18, 20, 1, 15, 14, 7, 19, 0 } },
|
||||||
{ "Lantea", { 18, 20, 1, 15, 14, 7, 19, 0 } },
|
{ "Rima", { 33, 20, 10, 22, 3, 17, 0 } },
|
||||||
{ "Rima", { 33, 20, 10, 22, 3, 17, 0 } },
|
{ "Athos", { 18, 21, 14, 24, 1, 26, 28 } }
|
||||||
{ "Athos", { 18, 21, 14, 24, 1, 26, 28 } }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
---------------------------------------------
|
---------------------------------------------
|
||||||
@ -42,7 +41,7 @@ addresses.playerGates = {
|
|||||||
-- Dangerous destinations
|
-- Dangerous destinations
|
||||||
|
|
||||||
addresses.hazardGates = {
|
addresses.hazardGates = {
|
||||||
-- Add hazardous gate addresses here
|
{ "Cavum Tenebrae", { 18, 7, 3, 36, 25, 15, 0 } }
|
||||||
}
|
}
|
||||||
|
|
||||||
return addresses
|
return addresses
|
||||||
|
|||||||
12
startup.lua
12
startup.lua
@ -513,12 +513,16 @@ local function selectGateFromList()
|
|||||||
dialing = true
|
dialing = true
|
||||||
sely = 0
|
sely = 0
|
||||||
selx = 0
|
selx = 0
|
||||||
elseif sely >= 17 and selx >= 23 then
|
break
|
||||||
selecting = false
|
|
||||||
sely = 0
|
|
||||||
selx = 0
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Check back button (x: 23-28, y: 17-19)
|
||||||
|
if not dialing and sely >= 17 and sely <= 19 and selx >= 23 and selx <= 28 then
|
||||||
|
selecting = false
|
||||||
|
sely = 0
|
||||||
|
selx = 0
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
display.clearButtonData()
|
display.clearButtonData()
|
||||||
|
|||||||
Reference in New Issue
Block a user