KF2-Server-Extension/ServerExt/Classes/UI_PrestigeNote.uc
2020-11-28 23:04:55 +03:00

27 lines
569 B
Ucode

Class UI_PrestigeNote extends UI_ResetWarning;
var localized string WindowTitleText;
var localized string PrestigeButtonToolTip;
var localized string InfoLabelTextPart1;
var localized string InfoLabelTextPart2;
function InitMenu()
{
Super.InitMenu();
YesButton.ToolTip=PrestigeButtonToolTip;
}
function SetupTo(Ext_PerkBase P)
{
PerkToReset = P.Class;
WindowTitle = WindowTitleText$" "$P.PerkName;
InfoLabel.SetText(InfoLabelTextPart1$P.PrestigeSPIncrease$InfoLabelTextPart2);
}
defaultproperties
{
bIsPrestige=true
Begin Object Name=YesButten
End Object
}