@@ -32,4 +32,5 @@ function lib:bossbar/show
# TODO: [LTCat/HIM] 土豆的两个炸弹同时爆炸把两个人炸死,让他们俩并列第三(按存活回合数记分)
# FIXME: [HIM] 死亡复活后可能会捡到已经在地上待了很久的 “老物品”
# FIXME: <! 重要> [HIM] 锁定格子的物品会被带进其他小游戏
-# FIXME: [LTCat] BGM 可能会双响
+# FIXME: [LTCat] BGM 可能会双响
+# FIXME: 关掉 JourneyMap 的生物雷达
@@ -36,4 +36,7 @@ scoreboard players reset @s particle_type
scoreboard players add @s gold 20
scoreboard players add @s gold_total 20
+function item:shop/refresh_gold
+function item:shop/refresh_green
+
tellraw @s ["",{"text": ">> ","color": "green","bold":true},{"text":"由于服务器升级, 绿宝石购买已经重置, 补偿的 20 金粒已发放!","color":"green"}]
@@ -2,6 +2,9 @@
forceload add -32 -17 31 -80
kill @e[type=item]
+# 世界边界
+worldborder set 1000000
# 要求系统进入状态 0(等待大厅)
scoreboard players set $state mem 0
execute as @a[team=!debugging] run function ltw:state/0/player_enter
scoreboard players set $state mem 7
execute as @a[team=!debugging] run function ltw:state/7/player_enter
# HUD
scoreboard objectives setdisplay belowName total_score_disp
scoreboard objectives setdisplay sidebar total_score
@@ -15,6 +15,3 @@ execute as @a[team=playing] run scoreboard players operation @s mini_score += @s
# 清理物品栏
clear @a[team=playing]
-
-# 世界边界
-worldborder set 1000000
@@ -1,6 +1,6 @@
# 向单个玩家展示小游戏介绍
tp @s[team=!debugging] 1013.47 247.63 5045.62 -178.86 17.18
-worldborder set 999999
effect give @s[team=!debugging] night_vision 1000000 0 true
tellraw @s ["",{"text":"\n >> 钻石风暴 >>\n\n","color":"gold","bold":true}," 制作铁镐, 挖取钻石, 然后保住自己的小命!\n 不过, 或许也可以去地牢碰碰运气……\n"]
tellraw @s ["",{"text": " <积分制> ","color":"red","bold": true}, {"text":"太阳落山时游戏即会结束, 然后根据持有的钻石数排名。","color":"gray"}]
@@ -1,7 +1,7 @@
# 更新钻石数量
execute as @a[team=playing] store result score @s diamond run clear @s diamond 0
-execute if score $countdown mem matches ..60 run effect give @a glowing 1000000 0 true
+execute if score $countdown mem matches ..60 run effect give @a[team=playing] glowing 1000000 0 true
# effect give @a[scores={diamond=1..}] glowing 5 0 true
# 显示提示
@@ -1,12 +1,12 @@
# 游戏结束倒计时
-scoreboard players set $countdown mem 140
+scoreboard players set $countdown mem 130
scoreboard objectives setdisplay list total_score_disp
scoreboard objectives setdisplay sidebar treasure
scoreboard players set $bossbar_color mem 4
-scoreboard players set $countdown_max mem 140
+scoreboard players set $countdown_max mem 130
scoreboard players set $bossbar_type mem 2
function lib:bossbar/show
bossbar set mini:blue name "剩余时间"