You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
650 B
GDScript

extends PanelContainer
onready var action = $HBox/Content/Game/VBox/HBox2/VBox/Action
onready var messages = $HBox/Content/Game/VBox/Messages
onready var partner = $HBox/Content/Game/VBox/HBox2/Partner
onready var PDA = $HBox/Content/Game/VBox/HBox/PDA
onready var whatnow = $HBox/Content/Game/VBox/HBox2/VBox/WhatNow
onready var view = $HBox/Content/Game/VBox/HBox/Scene/View
onready var portrait = $HBox/Content/Game/VBox/HBox/Scene/Portrait
func change_view(packet):
view.texture = load("res://Res/Img/Scene/" + packet["loc"] + ".png")
func change_portrait(packet):
portrait.texture = load("res://Res/Img/Portrait/" + packet["npc"] + ".png")