Module:Data/Model

From The Alchemist Code Wiki
< Module:Data
Revision as of 02:17, 31 December 2018 by Jcriquet (talk | contribs) (Created page with "return { nodes = { MasterParam = { nodes = { Unit = { model = { Unit = { iname = "String", img =...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

return {
  nodes = {
    MasterParam = {
      nodes = {
        Unit = {
          model = {
            Unit = {
              iname    = "String",
              img      = "String",
              mdl      = "String",
              birth_id = "Integer",
              elem     = "Integer",
              rare     = "Integer",
              raremax  = "Integer",
              jobsets  = {"String", list=",", dataRef="MasterParam/JobSet"},
            }
          },
        },
        JobSet = {
          model = {
            JobSet = {
              iname    = "String",
              job      = {"String", dataRef="MasterParam/Job"},
              lrare    = "Integer",
            }
          },
        },
        Job = {
          model = {
            Job = {
              iname    = "String",
            }
          },
        },
        Ability = {
          model = {
            Ability = {
              iname    = "String",
            }
          },
        },
        Skill = {
          model = {
            Skill = {
              iname    = "String",
            }
          },
        },
      },
    },
  },
}
--          nodes = function(k) return ({
--            Unit = {
--              test = "blah",
--            },
--          })[k] end,