37 lines
919 B
Ucode
37 lines
919 B
Ucode
class Msg_GoldSafe extends WaitingMessage;
|
|
|
|
var localized string YouCantOpenSafe;
|
|
|
|
static function string GetString(
|
|
optional int Switch,
|
|
optional PlayerReplicationInfo RelatedPRI_1,
|
|
optional PlayerReplicationInfo RelatedPRI_2,
|
|
optional Object OptionalObject
|
|
)
|
|
{
|
|
return default.YouCantOpenSafe;
|
|
}
|
|
|
|
static function GetPos(int Switch, out EDrawPivot OutDrawPivot, out EStackMode OutStackMode, out float OutPosX, out float OutPosY)
|
|
{
|
|
OutDrawPivot = default.DrawPivot;
|
|
OutStackMode = default.StackMode;
|
|
OutPosX = default.PosX;
|
|
OutPosY = 0.7;
|
|
}
|
|
|
|
static function float GetLifeTime(int Switch)
|
|
{
|
|
return 4;
|
|
}
|
|
|
|
static function int GetFontSize(int Switch, PlayerReplicationInfo RelatedPRI1, PlayerReplicationInfo RelatedPRI2, PlayerReplicationInfo LocalPlayer)
|
|
{
|
|
return 2;
|
|
}
|
|
|
|
defaultproperties
|
|
{
|
|
YouCantOpenSafe = "Cannot open safe. You are already carrying gold."
|
|
}
|