LTCatt 6 éve
szülő
commit
49e64cb1cf

+ 2 - 2
data/ltw/functions/state/0/change_classic.mcfunction

@@ -1,5 +1,5 @@
-# 切换为经典模式
-execute if score $game_type mem matches 1 run tellraw @a ["",{"text": ">> ","color":"aqua","bold": true},"游戏模式已切换为 ",{"text": "经典模式","color":"aqua"}]
+# 切换为晶石模式
+execute if score $game_type mem matches 1 run tellraw @a ["",{"text": ">> ","color":"aqua","bold": true},"游戏模式已切换为 ",{"text": "晶石模式","color":"aqua"}]
 execute if score $game_type mem matches 1 as @a at @s run function lib:sounds/teleport
 execute if score $game_type mem matches 1 as @a at @s run function lib:sounds/teleport
 scoreboard players set $game_type mem 0
 scoreboard players set $game_type mem 0
 function ltw:state/0/refresh_game_type
 function ltw:state/0/refresh_game_type

+ 2 - 2
data/ltw/functions/state/0/change_gameparty.mcfunction

@@ -1,5 +1,5 @@
-# 切换为小游戏模式
-execute if score $game_type mem matches 0 run tellraw @a ["",{"text": ">> ","color":"aqua","bold": true},"游戏模式已切换为 ",{"text": "小游戏模式","color":"aqua"}]
+# 切换为派对模式
+execute if score $game_type mem matches 0 run tellraw @a ["",{"text": ">> ","color":"aqua","bold": true},"游戏模式已切换为 ",{"text": "派对模式","color":"aqua"}]
 execute if score $game_type mem matches 0 as @a at @s run function lib:sounds/teleport
 execute if score $game_type mem matches 0 as @a at @s run function lib:sounds/teleport
 scoreboard players set $game_type mem 1
 scoreboard players set $game_type mem 1
 function ltw:state/0/refresh_game_type
 function ltw:state/0/refresh_game_type

+ 1 - 1
data/ltw/functions/state/0/start_gameparty.mcfunction

@@ -1,4 +1,4 @@
-# 开始小游戏模式
+# 开始派对模式
 
 
 # 设置旁观
 # 设置旁观
 tag @a add watcher
 tag @a add watcher

+ 2 - 2
data/ltw/functions/state/0/tick20.mcfunction

@@ -7,6 +7,6 @@ execute if score $countdown mem matches 1.. run title @a times 3 14 2
 scoreboard players operation #time mem = $countdown mem
 scoreboard players operation #time mem = $countdown mem
 scoreboard players remove #time mem 1
 scoreboard players remove #time mem 1
 execute if score $countdown mem matches 1.. run title @a subtitle {"score":{"name":"#time","objective":"mem"}}
 execute if score $countdown mem matches 1.. run title @a subtitle {"score":{"name":"#time","objective":"mem"}}
-execute if score $countdown mem matches 1.. if score $game_type mem matches 0 run title @a title ["经典模式"]
-execute if score $countdown mem matches 1.. if score $game_type mem matches 1 run title @a title ["小游戏模式"]
+execute if score $countdown mem matches 1.. if score $game_type mem matches 0 run title @a title ["晶石模式"]
+execute if score $countdown mem matches 1.. if score $game_type mem matches 1 run title @a title ["派对模式"]
 execute if score $countdown mem matches 1..10 run execute as @a at @s run function lib:sounds/hit2
 execute if score $countdown mem matches 1..10 run execute as @a at @s run function lib:sounds/hit2

+ 2 - 2
data/ltw/functions/state/0/try_start_classic.mcfunction

@@ -1,4 +1,4 @@
-# 尝试开始经典模式
-tellraw @a[tag=hub_ready] ["",{"text": ">> ","color":"red","bold": true},{"text": "经典模式尚未完成, 请开始小游戏模式!","color":"red"}]
+# 尝试开始晶石模式
+tellraw @a[tag=hub_ready] ["",{"text": ">> ","color":"red","bold": true},{"text": "晶石模式尚未完成, 请开始派对模式!","color":"red"}]
 execute as @a[tag=hub_ready] at @s run function lib:sounds/error
 execute as @a[tag=hub_ready] at @s run function lib:sounds/error
 scoreboard players set $countdown mem 0
 scoreboard players set $countdown mem 0

+ 4 - 4
data/ltw/functions/state/0/try_start_gameparty.mcfunction

@@ -1,16 +1,16 @@
-# 尝试开始小游戏模式
+# 尝试开始派对模式
 
 
 # 计算玩家数量
 # 计算玩家数量
 execute store result score $count mem if entity @a[tag=hub_ready]
 execute store result score $count mem if entity @a[tag=hub_ready]
 
 
 # 判断玩家数量过少
 # 判断玩家数量过少
 execute if score $count mem matches ..1 as @a at @s run function lib:sounds/error
 execute if score $count mem matches ..1 as @a at @s run function lib:sounds/error
-execute if score $count mem matches ..1 run tellraw @a ["",{"text": ">> ","color":"red","bold": true},{"text": "需要至少 2 人以开始小游戏模式, 当前人数不足!","color":"red"}]
+execute if score $count mem matches ..1 run tellraw @a ["",{"text": ">> ","color":"red","bold": true},{"text": "需要至少 2 人以开始派对模式, 当前人数不足!","color":"red"}]
 execute if score $count mem matches ..1 run scoreboard players set $countdown mem 0
 execute if score $count mem matches ..1 run scoreboard players set $countdown mem 0
 
 
 # 判断玩家数量过多
 # 判断玩家数量过多
-execute if score $count mem matches 9.. if score $countdown mem matches 10 run tellraw @a [{"text":"","color":"gold"},{"text":">> ","bold": true},"小游戏模式最多支持 8 人, 当前已有 ",{"score": { "name": "$count","objective": "mem"}}, " 人, 将随机抽取 8 人开始游戏!"]
-execute if score $count mem matches 9.. if score $countdown mem matches 1 run tellraw @a [{"text":"","color":"gold"},{"text":">> ","bold": true},"小游戏模式最多支持 8 人, 当前已有 ",{"score": { "name": "$count","objective": "mem"}}, " 人, 将随机抽取 8 人开始游戏!"]
+execute if score $count mem matches 9.. if score $countdown mem matches 10 run tellraw @a [{"text":"","color":"gold"},{"text":">> ","bold": true},"派对模式最多支持 8 人, 当前已有 ",{"score": { "name": "$count","objective": "mem"}}, " 人, 将随机抽取 8 人开始游戏!"]
+execute if score $count mem matches 9.. if score $countdown mem matches 1 run tellraw @a [{"text":"","color":"gold"},{"text":">> ","bold": true},"派对模式最多支持 8 人, 当前已有 ",{"score": { "name": "$count","objective": "mem"}}, " 人, 将随机抽取 8 人开始游戏!"]
 
 
 # 开始游戏
 # 开始游戏
 execute if score $countdown mem matches 1 run function ltw:state/0/start_gameparty
 execute if score $countdown mem matches 1 run function ltw:state/0/start_gameparty