extends Interaction @onready var shopInterface:Window = $ShopInterface var shopInventory = [] func _ready(): add_action("Shop", open_shop) instantiate_shop_inventory() func open_shop(): shopInterface.popup_centered() shopInterface.opened() func instantiate_shop_inventory(): $ShopInterface.shopItems = shopInventory