From ed35a20497939eca68ebd05c18a92b3cf95bebbb Mon Sep 17 00:00:00 2001 From: whiteshark0 Date: Sat, 16 May 2009 15:14:49 +0000 Subject: delete old script files git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1739 b956fd51-792f-4845-bead-9b4dfca2ff2c --- Lua/game/scripts/party/Until5000.lua | 46 ------------------------------------ 1 file changed, 46 deletions(-) delete mode 100644 Lua/game/scripts/party/Until5000.lua (limited to 'Lua/game/scripts/party/Until5000.lua') diff --git a/Lua/game/scripts/party/Until5000.lua b/Lua/game/scripts/party/Until5000.lua deleted file mode 100644 index 10d1d070..00000000 --- a/Lua/game/scripts/party/Until5000.lua +++ /dev/null @@ -1,46 +0,0 @@ -function InitPartyMode() - -- PartyModi created by users should use tables - Party.Mode.Name = {English = "Until 5000", - French = "A 5000", - German = "Bis 5000"} - - -- PartyModi delivered with USDX should use translateable Strings - Party.Mode.Name = "PLUGIN_UNTIL5000_NAME" - Party.Mode.Description = "PLUGIN_UNTIL5000_DESC" - - Party.Mode.Author = "Whiteshark & Hawkear" - Party.Mode.Homepage = "http://ultrastardx.sourceforge.net/" - Party.Mode.Version = "0.9" - - Party.ShowRateBar = true - Party.ShowScore = true - Party.ShowNotes = true - Party.NoDuet = true -- dont sing duets - this would be unfair - - -- all the other settings are at default or loaded from ini - - return true -end - -function Draw() - local i - for i=0,Party.Teams-1 do - Party.Team[i].Bar = math.floor(Party.Team[i].Score / 50) - Party.Team[i].Percentage = Party.Team[i].Bar - if Party.Team[i].Score >= 5000 then - return false -- end the round - end - end - return true -- continue with the round -end - -function Finish() - local i - local winners={} - for i=0,Party.Teams-1 do - if Party.Team[i].Score >= 5000 then - table.insert(winners,i) - end - end - return winners -end -- cgit v1.2.3