Candy Crush Saga Wiki
Candy Crush Saga Wiki
No edit summary
No edit summary
Line 8: Line 8:
 
 
 
--Reality level value (updating every one week)
 
--Reality level value (updating every one week)
["Moves"] = '470',
+
["Moves"] = '472',
["Jelly"] = '2069',
+
["Jelly"] = '2079',
["Ingredients"] = '1284',
+
["Ingredients"] = '1289',
["Candy Order"] = '1436',
+
["Candy Order"] = '1445',
["Mixed"] = '1392',
+
["Mixed"] = '1411',
 
 
["Last Moves"] = '6644',
+
["Last Moves"] = '6670',
["Last Jelly"] = '6649',
+
["Last Jelly"] = '6693',
["Last Ingredients"] = '6646',
+
["Last Ingredients"] = '6692',
["Last Candy Order"] = '6642',
+
["Last Candy Order"] = '6690',
["Last Mixed"] = '6650'
+
["Last Mixed"] = '6695'
 
}
 
}
   

Revision as of 12:37, 2 April 2020

Documentation for this module may be created at Module:Levelcount/doc

local p = {}

function p.getLevel(frame)
    
local leveltype = {
    --Default value (DO NOT UPDATE IT)
    ["0"] = '?',
    
    --Reality level value (updating every one week)
    ["Moves"] = '472',
    ["Jelly"] = '2079',
    ["Ingredients"] = '1289',
    ["Candy Order"] = '1445',
    ["Mixed"] = '1411',
    
    ["Last Moves"] = '6670',
    ["Last Jelly"] = '6693',
    ["Last Ingredients"] = '6692',
    ["Last Candy Order"] = '6690',
    ["Last Mixed"] = '6695'
}

local amount = frame.args[1]
    if leveltype[amount] ~= nil then
        amount = leveltype[amount]
    else
        amount = nil
    end
return amount
end
 
return p