Skip to content

Commit

Permalink
修一处语法注释没更新
Browse files Browse the repository at this point in the history
更新音乐索引,写明详细的署名规则
  • Loading branch information
MrZ626 committed Nov 5, 2024
1 parent 06394c4 commit 979a17f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion assets/game/pubClass.lua
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
---@field id number piece id
---@field did number drop id (exist when hand piece locks)
---@field cid string cell id (unique) (already exist when piece display in next queue)
---@field color number 0~63
---@field color number 000~999
---@field alpha? number 0~1
---@field conn table<string, any>
---@field bias {expBack?:number, lineBack?:number, teleBack?:number, x:number, y:number}
Expand Down
14 changes: 11 additions & 3 deletions assets/songbook.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,16 @@
---@field multitrack? boolean
---@field looppoint? boolean

-- Ordering rule of music with multiple authors:
-- 1. Prepare seats equal to the number of all authors, then choose one by one.
-- 2. Original Author(s) choose first, then Direct Author(s).
-- 3. Default to choose the first seat available. Can also choose not to credit.

---@enum (key) Techmino.MusicName
local songbook={
['8-bit happiness'] ={},
['8-bit sadness'] ={},
['antispace'] ={message="Blank remix remix"},
['antispace'] ={message="Blank remix^2"},
['battle'] ={author="Aether & MrZ"},
['blank'] ={message="The beginning"},
['blox'] ={message="Recollection remix"},
Expand Down Expand Up @@ -95,7 +100,9 @@ local songbook={
['reason remix'] ={author="TetraCepra"},
['seeking star'] ={},
['space warp'] ={author="LR & MrZ"},
['invisible'] ={author="DJ Asriel"},
['invisible mode'] ={author="DJ Asriel"},
['invisible mode 2'] ={author="DJ Asriel"},
['total mayhem'] ={author="DJ Asriel"},

['caprice'] ={inside=true,redirect='rectification'},
['fruit dance_ex'] ={inside=true,redirect='fruit dance'},
Expand All @@ -112,10 +119,11 @@ local songbook={
['reason remix_mix'] ={inside=true,author="TetraCepra",redirect='reason remix'},
['sakura_noloop'] ={inside=true,author="C₂₉H₂₅N₃O₅",redirect='sakura'},
['shibamata_noloop'] ={inside=true,author="C₂₉H₂₅N₃O₅",redirect='shibamata'},
['invisible'] ={inside=true,author="DJ Asriel"},
}

for name,data in next,songbook do
if not data.author then data.author="MrZ" end
if not data.author then data.author="MrZ" end -- MrZ is fun!
local words=name:split(' ')
for i=1,#words do
words[i]=words[i]:sub(1,1):upper()..words[i]:sub(2)
Expand Down

0 comments on commit 979a17f

Please sign in to comment.