Module:Data/Model/Item

From The Alchemist Code Wiki
Jump to: navigation, search

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

return {
  iname = "String",

  -- Labels
--  name = "String", -- In Loc
--  expr = "String", -- In Loc
--  flavor = "String", -- In Loc

  -- Graphics
  icon = "String",

  -- Type
  type = "Integer", -- EItemType
  cmn_type = "Integer", -- Generic Equipment Type
  is_valuables = "Boolean", -- Prevents selling/enchanting?
  rare = "Integer",
  cap = "Integer",
  invcap = "Integer",
  eqlv = "Integer", -- Min 1

  -- Value
  coin = "Integer",
  tc  = "Integer",
  ac = "Integer",
  mc = "Integer",
  pp = "Integer",
  buy = "Integer",
  sell = "Integer",
  encost = "Integer",
  enpt = "Integer",
  val = "Integer",

  -- References
  skill = {"String", dataRef="MasterParam/Skill"},
  recipe = {"String", dataRef="MasterParam/Recipe"},
  quests = {"String", dataRef="MasterParam/Quest", list=","},
}

--[==[
	ArenaRankResult:[[
		item1:IT_UG_APPLE4,
		item2:IT_SG_POT2,
		item3:IT_EQUP_SIL
	]],
	Artifact:[[
		kakera:IT_SK_INES_UNIQUE,
		icon:IT_SK_INES_UNIQUE
	]],
	Award:[[
		icon:IT_AWARD
	]],
	Challenge:[[
		reward_item1_iname:IT_EVENT_FA_COIN,
		reward_item2_iname:IT_EV_RAINBOW_TSUBO
	]],
	ConceptCardTrustReward:[[
		rewards:[[
			reward_iname:IT_AF_ACCS_FA_01
		]]
	]],
	ConvertUnitPieceExclude:[[
		unit_piece_iname:IT_PI_GILGAMESH
	]],
	Fix:[[
		cmn_pi_fire:IT_PI_COMMON_FIRE,
		cmn_pi_water:IT_PI_COMMON_WATER,
		cmn_pi_thunder:IT_PI_COMMON_THUNDER,
		cmn_pi_wind:IT_PI_COMMON_WIND,
		cmn_pi_shine:IT_PI_COMMON_LIGHT,
		cmn_pi_dark:IT_PI_COMMON_DARK,
		cmn_pi_all:IT_PI_COMMON_ALL,
		art_rare_pi:[IT_AF_COMMON_RARE_1, IT_AF_COMMON_RARE_2, IT_AF_COMMON_RARE_3, IT_AF_COMMON_RARE_4],
		art_cmn_pi:IT_AF_COMMON_ALL,
		equip_cmn:[IT_EQ_PIECE_COMMON, IT_EQ_DIAGRAMPIECE_COMMON, IT_EQSOUL_DUMMY],
		soul_rare:[IT_EQ_SOUL_COMMON1, IT_EQ_SOUL_COMMON1, IT_EQ_SOUL_COMMON2, IT_EQ_SOUL_COMMON2],
		tobira_unlock_elem:[IT_TB_UNLOCK_FIRE, IT_TB_UNLOCK_WATER, IT_TB_UNLOCK_WIND, IT_TB_UNLOCK_THUNDER],
		tobira_unlock_birth:[IT_TB_BIRTH_ENV, IT_TB_BIRTH_WRA, IT_TB_BIRTH_SLO, IT_TB_BIRTH_LUS]
	]],
	FriendPresentItem:[[
		item:IT_EQ_PIECE_FURCOAT
	]],
	HighlightGift:[[
		gifts:[[
			item:IT_EQUP_COP
		]]
	]],
	InitItem:[[
		iname:IT_CV_GOLD3
	]],
	Job:[[
		ranks:[[
			eqid1:IT_EQ_COWBOY,
			eqid2:IT_EQ_ATK_SPEAR,
			eqid3:IT_EQ_DEF_HAGOROMO,
			eqid4:IT_EQ_LUK_CHESS,
			eqid5:IT_EQ_DEX_COMPASS,
			eqid6:IT_EQ_STATUS_BIG
		]]
	]],
	Premium:[[
		rewards:[[
			iname:IT_CV_GOLD4
		]]
	]],
	RaidReward:[[
		rewards:[[
			item_iname:IT_EVENT_RAID_COIN
		]]
	]],
	Rarity:[[
		eq_item1:IT_SG_POT1,
		eq_item2:IT_SG_POT2,
		eq_item3:IT_SG_POT3
	]],
	Recipe:[[
		mat1:IT_EQ_DIAGRAM_POK_B_LONG01,
		mat2:IT_EQ_ATK_SWORD,
		mat3:IT_EQ_ATK_LANCE,
		mat4:IT_EQ_CRI_JAVELIN,
		mat5:IT_EV_RAINBOW_TSUBO
	]],
	TobiraRecipe:[[
		mats:[[
			iname:IT_EV_ARUKEMYI03
		]]
	]],
	Trophy:[[
		reward_item1_iname:IT_KEY_QUEST_REALEVENT_KOBE,
		reward_item2_iname:IT_TB_BIRTH_ENV,
		reward_item3_iname:IT_TB_SIN_ENV,
		sval:[IT_UG_APPLE_ACORN]
	]],
	Unit:[[
		piece:IT_PI_CHIHAYA,
		sub_piece:IT_PI_COMMON_COLLABO
	]]
]==]