ShopData (bshop) configures what items can be sold by NPCs, stock numbers and prices.

bshop
Format AAMP
Version 0
Type xml
This article is about the structure in general. For actual values, check the GameROM or the pseudo-source.


Parameter objects

Header

Key Type Description
TableNum int Number of tables
Table%02d str64 Name of the shop table

[TableName] 

Key Type Description
ColumnNum int Number of items
ItemSort%03d int Sort value
ItemName%03d str64 Item actor name
ItemNum%03d int Maximum stock
ItemAdjustPrice%03d int Value to add or subtract to the item buying price
ItemLookGetFlg%03d bool Whether to use IsGet Flag for Shop Table Visibility


This allows the item to be skipped when generating the shop table if the actor's IsGet flag is false

ItemAmount%03d int [check]

Example

Npc_Road_010.bshop

!io
version: 0
type: xml
param_root: !list
  objects:
    Header: !obj {TableNum: 2, Table01: !str64 Normal, Table02: !str64 Rain}
    Normal: !obj
      ColumnNum: 4
      ItemSort001: 0
      ItemName001: !str64 Item_Material_07
      ItemNum001: 10
      ItemAdjustPrice001: 2
      ItemLookGetFlg001: false
      ItemAmount001: 0
      ItemSort002: 1
      ItemName002: !str64 Item_Material_03
      ItemNum002: 5
      ItemAdjustPrice002: 2
      ItemLookGetFlg002: false
      ItemAmount002: 0
      ItemSort003: 3
      ItemName003: !str64 Item_Material_06
      ItemNum003: 5
      ItemAdjustPrice003: 2
      ItemLookGetFlg003: false
      ItemAmount003: 0
      ItemSort004: 5
      ItemName004: !str64 Item_Material_04
      ItemNum004: 5
      ItemAdjustPrice004: 1
      ItemLookGetFlg004: false
      ItemAmount004: 0
    Rain: !obj
      ColumnNum: 5
      ItemSort001: 0
      ItemName001: !str64 Item_Material_07
      ItemNum001: 10
      ItemAdjustPrice001: 0
      ItemLookGetFlg001: false
      ItemAmount001: 0
      ItemSort002: 1
      ItemName002: !str64 Item_Material_03
      ItemNum002: 5
      ItemAdjustPrice002: 0
      ItemLookGetFlg002: false
      ItemAmount002: 0
      ItemSort003: 2
      ItemName003: !str64 Item_Material_05
      ItemNum003: 10
      ItemAdjustPrice003: 0
      ItemLookGetFlg003: false
      ItemAmount003: 0
      ItemSort004: 3
      ItemName004: !str64 Item_Material_01
      ItemNum004: 5
      ItemAdjustPrice004: 0
      ItemLookGetFlg004: false
      ItemAmount004: 0
      ItemSort005: 4
      ItemName005: !str64 Item_Material_02
      ItemNum005: 5
      ItemAdjustPrice005: 0
      ItemLookGetFlg005: false
      ItemAmount005: 0
  lists: {}