Moved a gate
This commit is contained in:
@ -17,7 +17,6 @@ addresses.MainGates = {
|
|||||||
{ "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
|
||||||
|
|||||||
@ -513,13 +513,17 @@ local function selectGateFromList()
|
|||||||
dialing = true
|
dialing = true
|
||||||
sely = 0
|
sely = 0
|
||||||
selx = 0
|
selx = 0
|
||||||
elseif sely >= 17 and selx >= 23 then
|
break
|
||||||
|
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
|
selecting = false
|
||||||
sely = 0
|
sely = 0
|
||||||
selx = 0
|
selx = 0
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
|
||||||
|
|
||||||
display.clearButtonData()
|
display.clearButtonData()
|
||||||
return dialing
|
return dialing
|
||||||
|
|||||||
Reference in New Issue
Block a user