summaryrefslogtreecommitdiff
path: root/ui/login/character_selection_status.gd
blob: 2c0e450f7750c31e618b2c6722a7368eb695f19f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
extends PanelContainer


func set_info(info: CharacterInformation):
	%Name.text = info.name
	%Job.text = Constants.Job.find_key(info.job)
	%Level.text = str(info.level)
	%Exp.text = str(info.experience)
	%Hp.text = str(info.maximum_health_points)
	%Sp.text = str(info.maximum_spell_points)
	
	%Str.text = str(info.strength)
	%Agi.text = str(info.agility)
	%Vit.text = str(info.vitality)
	%Int.text = str(info.intelligence)
	%Dex.text = str(info.dexterity)
	%Luk.text = str(info.luck)
	
	%Map.text = info.map_name.substr(0, info.map_name.length() - 4)