LTCatt 6 лет назад
Родитель
Сommit
4665a3878b

+ 1 - 1
data/item/functions/bonus_item/call.mcfunction

@@ -7,7 +7,7 @@ data modify block 0 0 0 RecordItem set from entity @s Inventory[{"tag":{"bonus_n
 clear @s #item:bonus{"bonus_new":1b}
 
 # 通知玩家物品被拾取
-tellraw @a ["",{"text": ">> ","color":"aqua","bold": true},{"selector": "@s","color":"yellow"},{"text":"获得了 "},{"nbt": "RecordItem.tag.item_name","block": "0 0 0","interpret": true}]
+tellraw @a ["",{"text": ">> ","color":"aqua","bold": true},{"selector": "@s","color":"aqua"}," 获得了 ",{"nbt": "RecordItem.tag.item_name","block": "0 0 0","interpret": true}]
 
 # 如果有 return 标签则退回物品
 execute if data block 0 0 0 RecordItem.tag{"bonus_return":1b} run function item:bonus_item/return_item

+ 1 - 1
data/mini/functions/colormatch/player_lose_heart.mcfunction

@@ -1,5 +1,5 @@
 # 告知玩家
-tellraw @a ["",{"text":">> ","color":"gold","bold": true},{"selector":"@s","color":"yellow"}," 掉入了陷阱!"]
+tellraw @a ["",{"text":">> ","color":"gold","bold": true},{"selector":"@s","color":"gold"}," 掉入了陷阱!"]
 
 # 失去一颗心
 function mini:main/player_lose_heart

+ 1 - 1
data/mini/functions/hotpm/game/damage_dealt2.mcfunction

@@ -6,4 +6,4 @@ function lib:sounds/hit
 # 转移土豆
 function mini:hotpm/game/pm_lost
 execute as @p[tag=pm_damage_taken,tag=!pm_damage_dealt] run function mini:hotpm/game/pm_get
-tellraw @a ["",{"text":">> ","color":"gold","bold":true},{"selector":"@s","color":"yellow"}," 将土豆拍在了 ",{"selector":"@a[tag=pm_holding]","color":"yellow"}," 的脸上!"]
+tellraw @a ["",{"text":">> ","color":"gold","bold":true},{"selector":"@s","color":"gold"}," 将土豆拍在了 ",{"selector":"@a[tag=pm_holding]","color":"gold"}," 的脸上!"]

+ 1 - 1
data/mini/functions/hotpm/game/pm_init.mcfunction

@@ -2,7 +2,7 @@
 function mini:hotpm/game/pm_get
 
 # 告知玩家
-tellraw @a ["",{"text":">> ","color":"red","bold": true},{"selector":"@s","color":"yellow"}," 幸运地获得了美味的土豆!"]
+tellraw @a ["",{"text":">> ","color":"red","bold": true},{"selector":"@s","color":"red"}," 幸运地获得了美味的土豆!"]
 
 # 土豆爆炸时间 = 2 * 存活人数 + 4(秒)
 scoreboard players set $countdown_fast mem 40

+ 1 - 1
data/mini/functions/hotpm/player_leave.mcfunction

@@ -1,4 +1,4 @@
 # 玩家下线时检测重新生成土豆
 
-execute unless entity @a[tag=pm_holding] run tellraw @a ["",{"text":">>","color":"red","bold": true},{"text":" 由于有玩家带着土豆跑路了, 正在为土豆选择更适合它的拥有者!"}]
+execute unless entity @a[tag=pm_holding] run tellraw @a ["",{"text":">> ","color":"red","bold": true},"由于有玩家带着土豆跑路了, 正在为土豆选择更适合它的拥有者!"]
 execute unless entity @a[tag=pm_holding] run function mini:hotpm/game/pm_init_first

+ 1 - 1
data/mini/functions/hotpm/player_lose_heart.mcfunction

@@ -1,6 +1,6 @@
 # 玩家失败时由玩家自己触发
 
-tellraw @a ["",{"text":">> ","color":"gold","bold": true},{"selector":"@s","color":"yellow"}," 爆炸了!"]
+tellraw @a ["",{"text":">> ","color":"gold","bold": true},{"selector":"@s","color":"gold"}," 爆炸了!"]
 # 玩家失去土豆
 function mini:hotpm/game/pm_lost
 # 特效

+ 1 - 1
data/mini/functions/main/player_failed.mcfunction

@@ -5,7 +5,7 @@ tag @s remove mini_running
 function mini:main/update_player_count
 
 # 显示提示
-execute if entity @s[tag=!rejoining] if score $player_alive mem matches 1.. run tellraw @a ["",{"text": ">> ","color":"red"},{"selector": "@s","color":"yellow"}," 已失败! 剩余 ",{"score": {"name": "$player_alive","objective": "mem"}}," 人!"]
+execute if entity @s[tag=!rejoining] if score $player_alive mem matches 1.. run tellraw @a ["",{"text": ">> ","color":"red","bold":true},{"selector": "@s","color":"red"}," 已失败! 还有 ",{"score": {"name": "$player_alive","objective": "mem"}}," 人存活!"]
 execute as @a at @s run function lib:sounds/error
 
 # 给存活的玩家加分

+ 1 - 1
data/mini/functions/main/player_finished.mcfunction

@@ -5,7 +5,7 @@ tag @s remove mini_running
 function mini:main/update_player_count
 
 # 显示提示
-execute if entity @s[tag=!rejoining] if score $player_finish mem matches ..3 run tellraw @a ["",{"text": ">> ","color":"green"},{"selector": "@s","color":"yellow"}," 已成功! 获得了第 ",{"score": {"name": "$player_finish","objective": "mem"}}," 名!"]
+execute if entity @s[tag=!rejoining] if score $player_finish mem matches ..3 run tellraw @a ["",{"text": ">> ","color":"green","bold": true},{"selector": "@s","color":"green"}," 已成功! 获得了第 ",{"score": {"name": "$player_finish","objective": "mem"}}," 名!"]
 execute as @a at @s run function lib:sounds/error
 
 # 给已完成的玩家加分