====== ShopLineupParam ====== ===== Fields ===== ^ Field ^ Type ^ Offset ^ Description ^ Notes ^ | equipId | ''s32'' | ''0x0'' | The item ID that is sold. | This field refers to the following params: [[ds1-refmat:param:EquipParamWeapon]], [[ds1-refmat:param:EquipParamProtector]], [[ds1-refmat:param:EquipParamAccessory]], [[ds1-refmat:param:EquipParamGoods]] | | value | ''s32'' | ''0x4'' | The cost of item sold. Overrides the sellValue in item's row. | | | mtrlId | ''s32'' | ''0x8'' | The material cost when purchasing an item, or equipping a spell. | This field refers to the following params: [[ds1-refmat:param:EquipMtrlSetParam]] | | eventFlag | ''s32'' | ''0xc'' | The ID of an 8-bit event value that stores sold item quantity. Used for any items that are not sold infinitely. | This field takes an [[ds1-refmat:event-flag-list|Event Flag ID]]. | | qwcId | ''s32'' | ''0x10'' | Demon's Souls leftover. Probably doesn't work. | This field refers to the following params: [[ds1-refmat:param:QwcChange]] | | sellQuantity | ''s16'' | ''0x14'' | The maximum amount of items that can be sold. -1 for infinite. Requires an eventFlag for quantity sold to be saved. | | | shopType | ''u8'' | ''0x16'' | The type of shop this row belongs to. | This field uses the following enum: SHOP_LINEUP_SHOPTYPE | | equipType | ''u8'' | ''0x17'' | The type of equipment the sold item is. | This field uses the following enum: SHOP_LINEUP_EQUIPTYPE | | pad_0 | ''dummy8'' | ''0x18'' | | This field is padding. | ===== Enums ===== ==== SHOP_LINEUP_SHOPTYPE ==== ^ Option ^ Description ^ Notes ^ | ''0'' | Shop menu | | | ''1'' | Enhancement menu | | | ''2'' | Magic menu | | | ''3'' | Miracle menu | | | ''4'' | Information menu | | | ''5'' | SAN Value menu | | ==== SHOP_LINEUP_EQUIPTYPE ==== ^ Option ^ Description ^ Notes ^ | ''0'' | Weapon | | | ''1'' | Armor | | | ''2'' | Accessory | | | ''3'' | Good | | | ''4'' | Attunement | |