Skip to content
jjppof edited this page Feb 5, 2023 · 1 revision

Database file for shops. See an example. This json file is an array of objects, each object corresponds to a shop.

Properties

  • key_name [string]: shop unique key_name. Required.
  • dialog_key [string]: the shopkeep dialog key. Required. Please see details here.
  • shop_type [string]: the shop type. Required. Must be one of the following: "weapon_shop", "armor_shop", "medicine_shop", "weapon_armor_shop", or "general_shop".
  • item_list [array]: array of objects corresponding to the list of items of this shop.
    • key_name [string]: the item key name. Required.
    • quantity [number]: the number of the specified item this shop has. Set -1 for infinity. Required.
Clone this wiki locally