수정
This commit is contained in:
@@ -5,6 +5,7 @@ scoreboard players set @s answer 2
|
||||
function mq:tellraw {"text":"","color":"black","msg":""}
|
||||
function mq:tellraw {"text":"","color":"black",msg:[{"text":"정답: ","color": "aqua"},{"storage":"mq:main","nbt":"answer.title","color": "yellow","bold": true}]}
|
||||
function mq:tellraw {"text":"","color":"black",msg:[{"text":"가수: ","color":"aqua"},{"storage":"mq:main","nbt":"answer.author","color": "yellow","bold": true}]}
|
||||
function mq:tellraw {"text":"","color":"black",msg:[{"text":"설명: ","color":"aqua"},{"storage":"mq:main","nbt":"answer.description","color": "yellow","bold": false}]}
|
||||
execute if score skip buttons matches -2 run function mq:tellraw {"text":"","color":"black",msg:[{"text":"정답자: ","color": "aqua"},{"text":"스킵","color": "yellow","bold": true}]}
|
||||
execute unless score skip buttons matches -2 run function mq:tellraw {"text":"","color":"black",msg:[{"text":"정답자: ","color": "aqua"},{"selector":"@s","color": "yellow","bold": true}]}
|
||||
function mq:tellraw {"text":"","color":"black",msg:[{"text": "( 15초뒤 다음문제로 넘어갑니다. )","color": "gray"}]}
|
||||
@@ -30,3 +31,4 @@ scoreboard players set replay buttons -3
|
||||
scoreboard players set timer main 1
|
||||
|
||||
function mq:images/show
|
||||
function mq:videos/show
|
||||
|
||||
@@ -3,3 +3,8 @@ data modify storage mq:tmp playsound.track set from storage mq:main answer.track
|
||||
# 곡 단위 volume override — songs[i].volume 가 없으면 audio.volume 그대로 유지 (no-op)
|
||||
data modify storage mq:tmp playsound.volume set from storage mq:main answer.volume
|
||||
function mq:quiz/macro/play_sound with storage mq:tmp playsound
|
||||
|
||||
# volume 테스트 (replay 이용)
|
||||
# function mq:quiz/stop_sound
|
||||
# data modify storage mq:main answer.volume set value 0.5
|
||||
# function mq:quiz/play_sound
|
||||
@@ -20,3 +20,4 @@ execute if score index main matches 1..9 run data modify storage mq:tmp pad set
|
||||
execute unless score index main matches 1..9 run data modify storage mq:tmp pad set value ""
|
||||
|
||||
function mq:quiz/setanswer
|
||||
function mq:videos/cache/add
|
||||
|
||||
Reference in New Issue
Block a user