Shopkeep dialog - jjppof/goldensun_html5 GitHub Wiki
Database file for shopkeep dialogs. See an example. This json file is an array of objects, each object corresponds to a shopkeep dialog.
Properties
key_name[string]: shopkeep dialog unique key_name.messages[array]: list of dialogs that this shopkeep will start. Each item on this list has to be an object:key[string]: the dialog key. Must be one of the below. All keys must be set."welcome""artifacts_menu""repair_menu""buy_select""sell_select""repair_select""character_select""equip_now""cant_equip""equip_compliment""buy_quantity""inventory_full""stack_full""after_buy""sell_equipped_cursed""sell_follow_up""sell_quantity_select""sell_quantity_confirm""sell_current""sell_normal""sell_artifact""cant_sell_important""cant_sell_equipped_cursed""decline_sell_normal""decline_sell_artifact""after_sell_normal""after_sell_artifact""game_ticket""game_ticket_select""game_ticket_decline""repair_decline""cant_repair""repair_deal""repair_deal_accept""repair_deal_decline""repair_done""repair_follow_up""cancel_option""not_enough_coins""no_artifacts""goodbye"
text[string]: the actual dialog message to the corresponding key. This property accepts the following placeholders in the text:${PRICE}for item price,${HERO}for hero name, and${ITEM}for item name.