Site Tools


des-refmat:param:shoplineupparam

ShopLineupParam

Fields

Field Type Offset Description Notes
shopType u8 0x0 The type of shop this row belongs to. This field uses the following enum: SHOP_LINEUP_SHOPTYPE
equipType u8 0x1 The type of equipment the sold item is. This field uses the following enum: SHOP_LINEUP_EQUIPTYPE
pad_0 dummy8 0x2 This field is padding.
equipId s32 0x4 The item ID that is sold. This field refers to the following params: EquipParamWeapon, EquipParamProtector, EquipParamAccessory, EquipParamGoods
value s32 0x8 The cost of item sold. Overrides the sellValue in item's row.
mtrlId s32 0xc The material cost when purchasing an item, or equipping a spell. This field refers to the following params: EquipMtrlSetParam
eventFlag s32 0x10 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 Event Flag ID.
sellQuantity s32 0x14 The maximum amount of items that can be sold. -1 for infinite. Requires an eventFlag for quantity sold to be saved.
qwcId s32 0x18 Demon's Souls leftover. Probably doesn't work. This field refers to the following params: QwcChangeParam
pad_1 dummy8 0x1c 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
des-refmat/param/shoplineupparam.txt · Last modified: by admin