Constructors

Properties

artifact_list: {
    [key_name: string]: ShopItem;
}

Type declaration

avatar_key: string
buttons_keys: string[]
buy_select: BuySelectMenu
char_display: CharsMenu
close_callback: Function
current_index: number
data: GoldenSun
eq_compare: EquipCompare
game: Game
horizontal_menu: HorizontalMenu
item_desc_text: TextObj
item_desc_win: Window
item_name_text: TextObj
item_price_coins_label: TextObj
item_price_label: TextObj
item_price_val_text: TextObj
item_price_win: Window
items_db: {
    [key_name: string]: Item;
}

Type declaration

  • [key_name: string]: Item
normal_item_list: {
    [key_name: string]: ShopItem;
}

Type declaration

npc_dialog: ShopkeepDialog
sell_menu: SellRepairMenu
shop_key: string
shop_type: shop_types
shopkeep_dialog_db: {
    [key_name: string]: DialogData;
}

Type declaration

shops_db: {
    [key_name: string]: Shop;
}

Type declaration

  • [key_name: string]: Shop
voice_key: string
windows_mode: string
yesno_action: YesNoMenu
your_coins_label: TextObj
your_coins_text: TextObj
your_coins_win: Window

Methods

  • Parameters

    • shop_key: string
    • avatar_key: string
    • voice_key: string
    • Optional close_callback: Function

    Returns void

  • Parameters

    • key: string
    • Optional custom_price: number
    • custom_msg: boolean = false
    • broken: boolean = false
    • cant_sell: boolean = false

    Returns void