Revert "Some of default. Better break this up."
This reverts commit 8833ab5bc6.
This commit is contained in:
@@ -1,21 +1,14 @@
|
||||
local Player = ...
|
||||
assert(Player,"MachineRecord needs Player")
|
||||
local stats = STATSMAN:GetCurStageStats():GetPlayerStageStats(Player);
|
||||
local record = stats:GetMachineHighScoreIndex()
|
||||
local hasMachineRecord = record ~= -1
|
||||
|
||||
return LoadFont("Common normal")..{
|
||||
InitCommand=function(self)
|
||||
self:zoom(0.55);
|
||||
self:shadowlength(1);
|
||||
self:NoStroke();
|
||||
self:glowshift();
|
||||
self:effectcolor1(color("1,1,1,0"));
|
||||
self:effectcolor2(color("1,1,1,0.25"));
|
||||
end;
|
||||
BeginCommand=function(self)
|
||||
self:visible(hasMachineRecord);
|
||||
local text = string.format(THEME:GetString("ScreenEvaluation", "MachineRecord"), record+1)
|
||||
self:settext(text);
|
||||
end;
|
||||
local Player = ...
|
||||
assert(Player,"MachineRecord needs Player")
|
||||
local stats = STATSMAN:GetCurStageStats():GetPlayerStageStats(Player);
|
||||
local record = stats:GetMachineHighScoreIndex()
|
||||
local hasMachineRecord = record ~= -1
|
||||
|
||||
return LoadFont("Common normal")..{
|
||||
InitCommand=cmd(zoom,0.55;shadowlength,1;NoStroke;glowshift;effectcolor1,color("1,1,1,0");effectcolor2,color("1,1,1,0.25"));
|
||||
BeginCommand=function(self)
|
||||
self:visible(hasMachineRecord);
|
||||
local text = string.format(THEME:GetString("ScreenEvaluation", "MachineRecord"), record+1)
|
||||
self:settext(text);
|
||||
end;
|
||||
};
|
||||
Reference in New Issue
Block a user