KF2-Server-Extension/ServerExt/Classes/UI_PrestigeNote.uc

27 lines
569 B
Ucode
Raw Normal View History

2017-10-20 02:00:49 +00:00
Class UI_PrestigeNote extends UI_ResetWarning;
2020-09-01 03:20:02 +00:00
var localized string WindowTitleText;
var localized string PrestigeButtonToolTip;
var localized string InfoLabelTextPart1;
var localized string InfoLabelTextPart2;
function InitMenu()
{
Super.InitMenu();
YesButton.ToolTip=PrestigeButtonToolTip;
}
2020-11-28 20:04:55 +00:00
function SetupTo(Ext_PerkBase P)
2017-10-20 02:00:49 +00:00
{
PerkToReset = P.Class;
2020-09-01 03:20:02 +00:00
WindowTitle = WindowTitleText$" "$P.PerkName;
InfoLabel.SetText(InfoLabelTextPart1$P.PrestigeSPIncrease$InfoLabelTextPart2);
2017-10-20 02:00:49 +00:00
}
defaultproperties
{
bIsPrestige=true
Begin Object Name=YesButten
End Object
}