-- This file defines the pins, ribbons and memorabilia for the awards -- database. -- When defining awards, the texture and string table entries used -- will depend upon the id of the pin. Ensure then that an [id].tex -- file , and AWARDS::[type]_[id]_tag and AWARDS::[type]_[id]_name -- strings exist. --- PINS --- -- You can change the pins in the database here. -- The following values can be defined in the pin conditions: -- flair (%) -- hiddenHarmony (%) -- hiddenHarmonyBonus -- spokenWord (%) -- rapPoints (%) -- accuracyBonus -- curvedNotes (%) -- effects -- mode ( see enumeration below ) -- players -- rating ( see enumeration below ) -- highScoreTablePos (-1 returned if not placed) -- successfulBet -- passed (lessons) -- finishedSong -- finishedGame -- score -- difficulty -- holdNoteFor (in secs) -- the "row" parameter must be a number bewtween 1 and NumRows (it indicates the row where the pin will be placed) NumRows = 17 -- This table lists all of the modes which can be used in pin conditions -- (don't change these without updating the enumeration in code!) Modes = { single = 0, singleOnYourOwn = 1, versus = 2, versusOnYourOwn = 3, duet = 4, academy = 5, singleMicDuet = 6, teamPlay = 7, runTheRisk=8, family=9, NUMMODES = 10, } -- This table lists all of the Ratings which can be used in pin conditions Ratings = { SingItSuperStar=0, -- prev A PurePopStar=1, -- prev B Awesome=2, -- prev C YouRock=3, -- prev D GoodJob=4, -- prev E KeepTrying=5, -- prev F } Difficulty = { Easy =0, Medium = 1, Hard = 2, } -- The "stringNumber" property refers to the value in the string marked with a %d pins = { -- ROW 1 { id="Accuracy", trophyId=45, songId="11", -- "realize" conditions = { "accuracyBonus>0" }, row = 1, }, { id="MaxFlair", trophyId=10, songId="26", -- When you look me in the eyes conditions = { "flair=100" }, row = 1, }, { id="SingleMicDuet", trophyId=40, -- 7 Things songId="22", conditions = { "mode="..Modes.singleMicDuet, "players=2", "finishedSong>0" }, row = 1, }, -- ROW 2 { id="HiddenHarmony02", trophyId=44, songId="19", -- Emergency conditions = { "hiddenHarmonyBonus>0" }, row = 2, }, { id="CurvedEasy", trophyId=47, songId="24", -- Hold On stringNumber = 65, conditions= { "curvedNotes>=65", "finishedSong>0" }, row = 2, }, { id="2PDiva", trophyId=42, songId="36", -- Violet Hill conditions = { "players=2", "mode="..Modes.versus, "finishedSong>0" }, row = 2, }, -- ROW 3 { id="HighScore", trophyId=33, songId="9", -- Bubbly conditions = { "highScoreTablePos>0", "highScoreTablePos<=5","finishedSong>0" }, -- will be 0 if not scored row = 3, }, { id="Flair", trophyId=49, songId="33", -- Fly On The Wall conditions = { "flair>10" }, -- you start with 10% flair row = 3, }, { id="OnYourOwn", trophyId=24, songId="16", -- La La Land conditions = { "mode!="..Modes.single, "mode!="..Modes.versus, "mode!="..Modes.duet, "mode!="..Modes.academy, "mode!="..Modes.singleMicDuet, "mode!="..Modes.teamPlay, "mode!="..Modes.runTheRisk, "finishedSong>0" }, --twisted logic to get around the fact there's no or operator row = 3, }, -- ROW 4 { id="HiddenHarmony01", trophyId=48, songId="23", -- I'm Only Me When I'm With You conditions= { "hiddenHarmony>0" }, row = 4, }, { id="HalfHarmony", trophyId=36, songId="25", -- S.O.S. stringNumber = 50, conditions = { "hiddenHarmony>=50", "finishedSong>0" }, row = 4, }, { id="AllSpokenWord", trophyId=34, songId="31", -- Hoedown Throwdown conditions = { "spokenWord>=100", "finishedSong>0" }, row = 4, }, -- ROW 5 { id="Score1Mill", stringNumber = 1000000, trophyId=8, songId="35", -- It's Amazing conditions = { "score>=1000000" }, row = 5, }, { id="No1", trophyId=31, songId="39", -- Change conditions = { "highScoreTablePos=1", "finishedSong>0" }, row = 5, }, { id="ScoreB", trophyId=39, songId="5", -- Sneakernight conditions = { "rating<="..Ratings.PurePopStar, "finishedSong>0" }, --Greater than or equal to B row = 5, }, -- ROW 6 { id="Predict700k", trophyId=11, songId="22", -- 7 Things stringNumber = 700000, conditions = { "successfulBet>=700000", "mode="..Modes.runTheRisk, "players=2" }, -- I've had to add the mode and players conditions here to set up the game from the -- awards screen. row = 6, }, { id="CurvedHard", trophyId=32, songId="4", -- Get Back stringNumber = 90, conditions = { "curvedNotes>=90", "finishedSong>0" }, row = 6, }, { id="OnYourOwnScore", trophyId=23, songId="27", -- The Climb conditions = { "mode!="..Modes.single, "mode!="..Modes.versus, "mode!="..Modes.duet, "mode!="..Modes.academy, "mode!="..Modes.singleMicDuet, "mode!="..Modes.teamPlay, "mode!="..Modes.runTheRisk, "score>=250000" }, --twisted logic to get around the fact there's no or operator stringNumber = 250000, row = 6, }, -- ROW 7 { id="Note", trophyId=22, songId="32", -- Warwick Avenue conditions = { "holdNoteFor>=5" }, stringNumber = 5, row = 7, }, { id="50Flair", trophyId=38, stringNumber = 50, songId="38", -- Lovebug conditions = { "flair>=50", "finishedSong>0" }, row = 7, }, { id="DuetA", trophyId=35, songId="24", -- Hold On conditions = { "mode="..Modes.duet, "players=2,", "rating="..Ratings.SingItSuperStar, "finishedSong>0" }, -- Duet, A Rating row = 7, }, -- ROW 8 { id="ScoreA", trophyId=37, songId="20", -- Don't Forget conditions = { "rating="..Ratings.SingItSuperStar, "finishedSong>0" }, -- A rating row = 8, }, { id="AllHiddenHarmony", trophyId=9, songId="14", -- How Do You Sleep?" stringNumber = 80, conditions = { "hiddenHarmony>=80", "finishedSong>0" }, row = 8, }, { id="Hard", trophyId=41, songId="37", -- Burnin' Up conditions = { "difficulty="..Difficulty.Hard, "finishedSong>0" }, row = 8, }, -- ROW 9 { id="Rap", trophyId=46, songId="5", -- Sneakernight conditions = { "rapPoints>0" }, row = 9, }, { id="Effects", trophyId=43, songId="4", -- Get Back conditions = { "effects>0" }, row = 9, }, } --- RIBBONS --- -- You can define the ribbons in the database here. HOWEVER, bear in mind that -- any changes to this table WILL require code support to change their -- behaviour. So don't go changing ribbon types or set sizes without such -- support. -- In most cases is okay though to tweak threshold values, but ensure that -- the description in the string table match any changes. -- This table contains types (don't change these without updating the -- enumeration in code!) RibbonTypes = { booleanRibbon = 0, thresholdRibbon = 1, setRibbon = 2, songSetRibbon = 3, platinumRibbon = 4, songSetPropertyRibbon = 5, themeRibbon = 6, harmonySongSetRibbon = 7 } ribbons = { -- ROW 10 { id = "AllSongsDuet", trophyId=21, stringNumber = 10, type = RibbonTypes.songSetRibbon, threshold = 10, row = 10, }, { id = "Total100Mill", trophyId=2, type = RibbonTypes.thresholdRibbon, threshold = 100000000, stringNumber = 100000000, row = 10, }, { id = "AllBonuses", trophyId=19, type = RibbonTypes.setRibbon, size = 5, row = 10, }, -- ROW 11 { id = "Topic1", trophyId=16, type = RibbonTypes.booleanRibbon, row = 11, }, { id = "10ARatingsRow", trophyId=6, type = RibbonTypes.songSetRibbon, threshold = 10, stringNumber = 10, row = 11, }, { id = "500Songs", trophyId=1, type = RibbonTypes.thresholdRibbon, threshold = 100, stringNumber = 100, row = 11, }, -- ROW 12 { id = "SongInEachMode", trophyId=27, type = RibbonTypes.setRibbon, size = Modes.NUMMODES - 1, -- This ribbon doesn't include academy row = 12, }, { id = "7MillPointsMRMP", trophyId=4, type = RibbonTypes.thresholdRibbon, threshold = 7000000, stringNumber = 7000000, row = 12, }, { id = "75PercentHarmonies", trophyId=5, stringNumber = 60, type = RibbonTypes.harmonySongSetRibbon, userValue = 60, -- this is the percentage of harmonies row = 12, }, -- ROW 13 { id = "AllLessonsA", trophyId=3, type = RibbonTypes.setRibbon, size = 25, -- 5 lessons x 5 topics row = 13, }, { id = "CompleteMasterclass", trophyId=12, type = RibbonTypes.booleanRibbon, row = 13, }, { id = "UnlockMasterclass", trophyId=17, type = RibbonTypes.setRibbon, size = 4, row = 13, }, -- ROW 14 { id = "HighScores", trophyId=29, type = RibbonTypes.songSetRibbon, row = 14, }, { id = "50PecentFlairAll", trophyId=7, stringNumber = 50, type = RibbonTypes.songSetRibbon, userValue = 50, -- this is the percentage of flair... row = 14, }, { id = "Topic2", trophyId=15, type = RibbonTypes.booleanRibbon, row = 14, }, -- ROW 15 { id = "30MPSongs", trophyId=26, stringNumber = 30, type = RibbonTypes.songSetRibbon, threshold = 30, row = 15, }, { id = "Topic4", trophyId=13, type = RibbonTypes.booleanRibbon, row = 15, }, { id = "AllHarmonySongs", trophyId=20, type = RibbonTypes.harmonySongSetRibbon, row = 15, }, -- ROW 16 { id = "2Lessons", trophyId=30, stringNumber = 2, type = RibbonTypes.setRibbon, size = 25, -- 5 lessons X 5 topics threshold = 2, -- 2 lessons to pass row = 16, }, { id = "10ARatings", trophyId=18, stringNumber = 10, type = RibbonTypes.songSetRibbon, threshold = 10, row = 16, }, { id = "AllSongs", trophyId=28, stringNumber = 30, type = RibbonTypes.songSetRibbon, threshold = 30, row = 16, }, -- ROW 17 { id = "Topic3", trophyId=14, type = RibbonTypes.booleanRibbon, row = 17, }, { id = "Favorites", trophyId=25, stringNumber = 10, type = RibbonTypes.songSetRibbon, threshold = 10, -- number of songs to be tagged row = 17, }, { id = "AllAwards", trophyId=0, type = RibbonTypes.platinumRibbon, row = 17, }, } --- MEMORABILIA --- --[[ -- Memorabilia is quite simple. Basically define a pin threshold for each one. memorabilia = { { id="1", threshold=3, row = 1, }, { id="2", threshold=6, row = 1, }, { id="3", threshold=12, row = 1, }, { id="4", threshold=16, row = 1, }, { id="5", threshold=22, row = 1, }, } --]]