extends TextureRect var data func _ready() -> void: if data!=null: %bag_card_face_big.texture=Database.get_texture(data["texture"]) %bag_card_name.text=ItemTool.get_name_from_item_data(data) %bag_card_introduction.text=ItemTool.get_introduction_from_item_data(data) get_parent().add_theme_stylebox_override("panel",StyleBoxEmpty.new()) print(%bag_card_name.text)