diff --git a/data/fueoni/functions/player/game_settings.mcfunction b/data/fueoni/functions/player/game_settings.mcfunction index 67d3eac..f3e59c2 100644 --- a/data/fueoni/functions/player/game_settings.mcfunction +++ b/data/fueoni/functions/player/game_settings.mcfunction @@ -17,9 +17,9 @@ execute if score item_invis foGameOption matches 0 run tellraw @s [{"text":""},{ execute if score item_invis foGameOption matches 1 run tellraw @s [{"text":""},{"text":"- ","color":"gray"},{"translate":"fueoni.item.invisibility.name","fallback":"透明化ポーション","hoverEvent":{"action":"show_text","value":{"translate":"fueoni.message.settings.item.invisibility.description","fallback":"使用すると20秒間、プレイヤーが\n透明になるアイテムです。"}}},{"text":": "},{"translate":"fueoni.message.settings.enabled","fallback":"あり","color":"green","bold":true,"hoverEvent":{"action":"show_text","value":{"translate":"fueoni.message.settings.current","fallback":"現在の設定"}}},{"text":" "},{"translate":"fueoni.message.settings.disabled","fallback":"なし","color":"gray","bold":true,"hoverEvent":{"action":"show_text","value":{"translate":"fueoni.message.settings.click_to_change","fallback":"クリックで変更"}},"clickEvent":{"action":"run_command","value":"/trigger foSettingsTrigger set 6"}}] execute if score item_arrow foGameOption matches 0 run tellraw @s [{"text":""},{"text":"- ","color":"gray"},{"translate":"fueoni.item.arrow.name","fallback":"鬼退治の矢","hoverEvent":{"action":"show_text","value":{"translate":"fueoni.message.settings.item.arrow.description","fallback":"鬼を撃つと、その鬼は反対方向を向き、\n数秒間視界が悪くなる矢のアイテムです。"}}},{"text":": "},{"translate":"fueoni.message.settings.enabled","fallback":"あり","color":"gray","bold":true,"hoverEvent":{"action":"show_text","value":{"translate":"fueoni.message.settings.click_to_change","fallback":"クリックで変更"}},"clickEvent":{"action":"run_command","value":"/trigger foSettingsTrigger set 7"}},{"text":" "},{"translate":"fueoni.message.settings.disabled","fallback":"なし","color":"red","bold":true,"hoverEvent":{"action":"show_text","value":{"translate":"fueoni.message.settings_current","fallback":"現在の設定"}}}] execute if score item_arrow foGameOption matches 1 run tellraw @s [{"text":""},{"text":"- ","color":"gray"},{"translate":"fueoni.item.arrow.name","fallback":"鬼退治の矢","hoverEvent":{"action":"show_text","value":{"translate":"fueoni.message.settings.item.arrow.description","fallback":"鬼を撃つと、その鬼は反対方向を向き、\n数秒間視界が悪くなる矢のアイテムです。"}}},{"text":": "},{"translate":"fueoni.message.settings.enabled","fallback":"あり","color":"green","bold":true,"hoverEvent":{"action":"show_text","value":{"translate":"fueoni.message.settings.current","fallback":"現在の設定"}}},{"text":" "},{"translate":"fueoni.message.settings.disabled","fallback":"なし","color":"gray","bold":true,"hoverEvent":{"action":"show_text","value":{"translate":"fueoni.message.settings.click_to_change","fallback":"クリックで変更"}},"clickEvent":{"action":"run_command","value":"/trigger foSettingsTrigger set 8"}}] -execute if score item_frequency foGameOption matches 0 run tellraw @s [{"text":""},{"translate":"fueoni.message.settings.item_frequency","fallback":"アイテムの出現頻度:","hoverEvent":{"action":"show_text","value":{"translate":"fueoni.message.settings.item_frequency.description","fallback":"アイテムがマップ上に\n出現する頻度の設定です。"}}},{"text":" "},{"translate":"fueoni.message.settings.low","fallback":"低い","color":"red","bold":true,"hoverEvent":{"action":"show_text","value":{"translate":"fueoni.message.settings.current","fallback":"現在の設定"}}},{"text":" "},{"translate":"fueoni.message.settings.normal","fallback":"普通","color":"gray","bold":true,"hoverEvent":{"action":"show_text","value":{"translate":"fueoni.message.settings.click_to_change","fallback":"クリックで変更"}},"clickEvent":{"action":"run_command","value":"/trigger foSettingsTrigger set 20"}},{"text":" "},{"translate":"fueoni.message.settings.high","fallback":"高い","color":"gray","bold":true,"hoverEvent":{"action":"show_text","value":{"translate":"fueoni.message.settings.click_to_change","fallback":"クリックで変更"}},"clickEvent":{"action":"run_command","value":"/trigger foSettingsTrigger set 21"}}] -execute if score item_frequency foGameOption matches 1 run tellraw @s [{"text":""},{"translate":"fueoni.message.settings.item_frequency","fallback":"アイテムの出現頻度:","hoverEvent":{"action":"show_text","value":{"translate":"fueoni.message.settings.item_frequency.description","fallback":"アイテムがマップ上に\n出現する頻度の設定です。"}}},{"text":" "},{"translate":"fueoni.message.settings.low","fallback":"低い","color":"gray","bold":true,"hoverEvent":{"action":"show_text","value":{"translate":"fueoni.message.settings.click_to_change","fallback":"クリックで変更"}},"clickEvent":{"action":"run_command","value":"/trigger foSettingsTrigger set 19"}},{"text":" "},{"translate":"fueoni.message.settings.normal","fallback":"普通","color":"yellow","bold":true,"hoverEvent":{"action":"show_text","value":{"translate":"fueoni.message.settings.current","fallback":"現在の設定"}}},{"text":" "},{"translate":"fueoni.message.settings.high","fallback":"高い","color":"gray","bold":true,"hoverEvent":{"action":"show_text","value":{"translate":"fueoni.message.settings.click_to_change","fallback":"クリックで変更"}},"clickEvent":{"action":"run_command","value":"/trigger foSettingsTrigger set 21"}}] -execute if score item_frequency foGameOption matches 2 run tellraw @s [{"text":""},{"translate":"fueoni.message.settings.item_frequency","fallback":"アイテムの出現頻度:","hoverEvent":{"action":"show_text","value":{"translate":"fueoni.message.settings.item_frequency.description","fallback":"アイテムがマップ上に\n出現する頻度の設定です。"}}},{"text":" "},{"translate":"fueoni.message.settings.low","fallback":"低い","color":"gray","bold":true,"hoverEvent":{"action":"show_text","value":{"translate":"fueoni.message.settings.click_to_change","fallback":"クリックで変更"}},"clickEvent":{"action":"run_command","value":"/trigger foSettingsTrigger set 19"}},{"text":" "},{"translate":"fueoni.message.settings.normal","fallback":"普通","color":"gray","bold":true,"hoverEvent":{"action":"show_text","value":{"translate":"fueoni.message.settings.click_to_change","fallback":"クリックで変更"}},"clickEvent":{"action":"run_command","value":"/trigger foSettingsTrigger set 20"}},{"text":" "},{"translate":"fueoni.message.settings.high","fallback":"高い","color":"green","bold":true,"hoverEvent":{"action":"show_text","value":{"translate":"fueoni.message.settings.current","fallback":"現在の設定"}}}] +execute if score item_frequency foGameOption matches 0 run tellraw @s [{"text":""},{"translate":"fueoni.message.settings.item_frequency","fallback":"アイテムの出現頻度","hoverEvent":{"action":"show_text","value":{"translate":"fueoni.message.settings.item_frequency.description","fallback":"アイテムがマップ上に\n出現する頻度の設定です。"}}},{"text":": "},{"translate":"fueoni.message.settings.low","fallback":"低い","color":"red","bold":true,"hoverEvent":{"action":"show_text","value":{"translate":"fueoni.message.settings.current","fallback":"現在の設定"}}},{"text":" "},{"translate":"fueoni.message.settings.normal","fallback":"普通","color":"gray","bold":true,"hoverEvent":{"action":"show_text","value":{"translate":"fueoni.message.settings.click_to_change","fallback":"クリックで変更"}},"clickEvent":{"action":"run_command","value":"/trigger foSettingsTrigger set 20"}},{"text":" "},{"translate":"fueoni.message.settings.high","fallback":"高い","color":"gray","bold":true,"hoverEvent":{"action":"show_text","value":{"translate":"fueoni.message.settings.click_to_change","fallback":"クリックで変更"}},"clickEvent":{"action":"run_command","value":"/trigger foSettingsTrigger set 21"}}] +execute if score item_frequency foGameOption matches 1 run tellraw @s [{"text":""},{"translate":"fueoni.message.settings.item_frequency","fallback":"アイテムの出現頻度","hoverEvent":{"action":"show_text","value":{"translate":"fueoni.message.settings.item_frequency.description","fallback":"アイテムがマップ上に\n出現する頻度の設定です。"}}},{"text":": "},{"translate":"fueoni.message.settings.low","fallback":"低い","color":"gray","bold":true,"hoverEvent":{"action":"show_text","value":{"translate":"fueoni.message.settings.click_to_change","fallback":"クリックで変更"}},"clickEvent":{"action":"run_command","value":"/trigger foSettingsTrigger set 19"}},{"text":" "},{"translate":"fueoni.message.settings.normal","fallback":"普通","color":"yellow","bold":true,"hoverEvent":{"action":"show_text","value":{"translate":"fueoni.message.settings.current","fallback":"現在の設定"}}},{"text":" "},{"translate":"fueoni.message.settings.high","fallback":"高い","color":"gray","bold":true,"hoverEvent":{"action":"show_text","value":{"translate":"fueoni.message.settings.click_to_change","fallback":"クリックで変更"}},"clickEvent":{"action":"run_command","value":"/trigger foSettingsTrigger set 21"}}] +execute if score item_frequency foGameOption matches 2 run tellraw @s [{"text":""},{"translate":"fueoni.message.settings.item_frequency","fallback":"アイテムの出現頻度","hoverEvent":{"action":"show_text","value":{"translate":"fueoni.message.settings.item_frequency.description","fallback":"アイテムがマップ上に\n出現する頻度の設定です。"}}},{"text":": "},{"translate":"fueoni.message.settings.low","fallback":"低い","color":"gray","bold":true,"hoverEvent":{"action":"show_text","value":{"translate":"fueoni.message.settings.click_to_change","fallback":"クリックで変更"}},"clickEvent":{"action":"run_command","value":"/trigger foSettingsTrigger set 19"}},{"text":" "},{"translate":"fueoni.message.settings.normal","fallback":"普通","color":"gray","bold":true,"hoverEvent":{"action":"show_text","value":{"translate":"fueoni.message.settings.click_to_change","fallback":"クリックで変更"}},"clickEvent":{"action":"run_command","value":"/trigger foSettingsTrigger set 20"}},{"text":" "},{"translate":"fueoni.message.settings.high","fallback":"高い","color":"green","bold":true,"hoverEvent":{"action":"show_text","value":{"translate":"fueoni.message.settings.current","fallback":"現在の設定"}}}] tellraw @s [{"text":""}] execute if score tp_lobby foGameOption matches 0 run tellraw @s [{"text":""},{"translate":"fueoni.message.settings.move_to_lobby","fallback":"終了後にロビーに移動","hoverEvent":{"action":"show_text","value":{"translate":"fueoni.message.settings.move_to_lobby.description","fallback":"ゲーム終了後に、設定したロビー地点に\n全員をテレポートさせるかどうかの設定です。"}}},{"text":": "},{"translate":"fueoni.message.settings.yes","fallback":"する","color":"gray","bold":true,"hoverEvent":{"action":"show_text","value":{"translate":"fueoni.message.settings.click_to_change","fallback":"クリックで変更"}},"clickEvent":{"action":"run_command","value":"/trigger foSettingsTrigger set 17"}},{"text":" "},{"translate":"fueoni.message.settings.no","fallback":"しない","color":"red","bold":true,"hoverEvent":{"action":"show_text","value":{"translate":"fueoni.message.settings.current","fallback":"現在の設定"}}}]