Module:CryptogullJr/Codes: Difference between revisions

namespaces changed, rm selector for now
(update for mutations rework)
(namespaces changed, rm selector for now)
Line 62: Line 62:
function getMutCodes()
function getMutCodes()
local mutresult = cargo.query('Mutations', '_pageName=Name, CreationCode, Variants, Type',  
local mutresult = cargo.query('Mutations', '_pageName=Name, CreationCode, Variants, Type',  
  {where='_pageNamespace="0" AND CreationCode <> ""',
  {where='CreationCode <> ""',
default=nil,
default=nil,
orderBy='CreationCode ASC'} )
orderBy='CreationCode ASC'} )
Line 90: Line 90:
local cyberneticresult = cargo.query('Cybernetics',  
local cyberneticresult = cargo.query('Cybernetics',  
'Name, CreationCode, StartingCybernetic',
'Name, CreationCode, StartingCybernetic',
  {where='_pageNamespace="10002" AND CreationCode <> ""',
  {where='CreationCode <> ""',
default=nil,
default=nil,
orderBy='CreationCode ASC'} )
orderBy='CreationCode ASC'} )