增强词典的彩蛋文本功能
增强词典的彩蛋文本功能
This commit is contained in:
@@ -39,44 +39,30 @@ local function clearResult()
|
|||||||
for _=1,#result do rem(result)end
|
for _=1,#result do rem(result)end
|
||||||
selected,scrollPos,waiting,lastSearch=1,0,0,false
|
selected,scrollPos,waiting,lastSearch=1,0,0,false
|
||||||
end
|
end
|
||||||
local miniGame={
|
local eggInput={
|
||||||
["15"]="15p",
|
["15"]="mg_15p",["15p"]="mg_15p",
|
||||||
["15p"]="15p",
|
hrd="mg_15p",huarongdao="mg_15p",shuzihuarongdao="mg_15p",
|
||||||
hrd="15p",
|
|
||||||
huarongdao="15p",
|
|
||||||
shuzihuarongdao="15p",
|
|
||||||
|
|
||||||
schulte="schulteG",
|
schulte="mg_schulteG",schulteg="mg_schulteG",schultegrid="mg_schulteG",
|
||||||
schulteg="schulteG",
|
shuerte="mg_schulteG",shuertefangge="mg_schulteG",
|
||||||
schultegrid="schulteG",
|
|
||||||
shuerte="schulteG",
|
|
||||||
shuertefangge="schulteG",
|
|
||||||
|
|
||||||
ping="pong",
|
ping="mg_pong",pong="mg_pong",tanqiu="mg_pong",
|
||||||
pong="pong",
|
|
||||||
tanqiu="pong",
|
|
||||||
|
|
||||||
abc="AtoZ",
|
abc="mg_AtoZ",abcde="mg_AtoZ",abcdefg="mg_AtoZ",
|
||||||
abcde="AtoZ",
|
atoz="mg_AtoZ",AtoZ="mg_AtoZ",dazi="mg_AtoZ",
|
||||||
abcdefg="AtoZ",
|
|
||||||
atoz="AtoZ",
|
|
||||||
AtoZ="AtoZ",
|
|
||||||
dazi="AtoZ",
|
|
||||||
|
|
||||||
uttt="UTTT",
|
uttt="mg_UTTT",tictactoe="mg_UTTT",ultimatetictactoe="mg_UTTT",
|
||||||
tictactoe="UTTT",
|
ultimateTicTacToe="mg_UTTT",jingziqi="mg_UTTT",zhanluejingziqi="mg_UTTT",
|
||||||
ultimatetictactoe="UTTT",
|
|
||||||
ultimateTicTacToe="UTTT",
|
|
||||||
jingziqi="UTTT",
|
|
||||||
zhanluejingziqi="UTTT",
|
|
||||||
|
|
||||||
cf="cubefield",
|
cf="mg_cubefield",cbfd="mg_cubefield",cubefield="mg_cubefield",
|
||||||
cbfd="cubefield",
|
|
||||||
cubefield="cubefield",
|
|
||||||
}
|
}
|
||||||
local function search()
|
local function search()
|
||||||
if miniGame[input]then
|
if eggInput[input]then
|
||||||
SCN.go("mg_"..miniGame[input])
|
if type(eggInput[input])=="string"then
|
||||||
|
SCN.go(eggInput[input])
|
||||||
|
elseif type(eggInput[input])=="function"then
|
||||||
|
eggInput[input]()
|
||||||
|
end
|
||||||
else
|
else
|
||||||
clearResult()
|
clearResult()
|
||||||
local first
|
local first
|
||||||
|
|||||||
Reference in New Issue
Block a user