Browse Source

TNT Run 进度

LTCatt 6 năm trước cách đây
mục cha
commit
98336b6c12

+ 2 - 2
data/ltw/advancements/combat/phantom1.json

@@ -5,10 +5,10 @@
         "item": "minecraft:stick"
       },
       "title": {
-        "text": "狩猎学徒    "
+        "text": "狩猎学徒      "
       },
       "description": [
-        {"text": "在月夜狩猎小游戏中击杀 8 只幻翼\n", "color":"gray"},
+        {"text": "在月夜狩猎中击杀 8 只幻翼\n", "color":"gray"},
         {"text": "奖励: ","color":"green"},
         {"text": "1 绿宝石","color":"white"}
       ],

+ 2 - 2
data/ltw/advancements/combat/phantom2.json

@@ -5,10 +5,10 @@
         "item": "minecraft:arrow"
       },
       "title": {
-        "text": "狩猎大师    "
+        "text": "狩猎大师      "
       },
       "description": [
-        {"text": "在月夜狩猎小游戏中击杀 16 只幻翼\n", "color":"gray"},
+        {"text": "在月夜狩猎中击杀 16 只幻翼\n", "color":"gray"},
         {"text": "奖励: ","color":"green"},
         {"text": "2 绿宝石","color":"white"}
       ],

+ 2 - 2
data/ltw/advancements/combat/phantom3.json

@@ -5,10 +5,10 @@
         "item": "minecraft:spectral_arrow"
       },
       "title": {
-        "text": "狩猎之神    "
+        "text": "狩猎之神      "
       },
       "description": [
-        {"text": "在月夜狩猎小游戏中击杀 24 只幻翼\n", "color":"gray"},
+        {"text": "在月夜狩猎中击杀 24 只幻翼\n", "color":"gray"},
         {"text": "奖励: ","color":"green"},
         {"text": "3 绿宝石","color":"white"}
       ],

+ 1 - 1
data/ltw/advancements/combat/root.json

@@ -4,7 +4,7 @@
         "item": "minecraft:wooden_sword"
       },
       "title": {
-        "text":"战斗"
+        "text":"战斗          "
       },
       "description": [
         {"text": "拼搏的时光开始了……", "color":"gray"}

+ 1 - 1
data/ltw/advancements/parkour/explore1.json

@@ -5,7 +5,7 @@
         "item": "minecraft:mossy_cobblestone"
       },
       "title": {
-        "text": "闲来无事    "
+        "text": "闲来无事      "
       },
       "description": [
         {"text": "完成大厅中的旅途\n", "color":"gray"},

+ 1 - 1
data/ltw/advancements/parkour/explore2.json

@@ -5,7 +5,7 @@
         "item": "minecraft:crimson_hyphae"
       },
       "title": {
-        "text": "挑战自我    "
+        "text": "挑战自我      "
       },
       "description": [
         {"text": "完成大厅中的隐藏跑酷\n", "color":"gray"},

+ 1 - 1
data/ltw/advancements/parkour/explore3.json

@@ -5,7 +5,7 @@
         "item": "minecraft:gilded_blackstone"
       },
       "title": {
-        "text": "空手而返    "
+        "text": "空手而返      "
       },
       "description": [
         {"text": "到达神秘老板的面前\n", "color":"gray"},

+ 1 - 1
data/ltw/advancements/parkour/root.json

@@ -4,7 +4,7 @@
       "item": "minecraft:leather_boots"
     },
     "title": {
-      "text":"跑酷"
+      "text":"跑酷          "
     },
     "description": [
       {"text": "这很简单, 只是从这里跳到那里而已", "color":"gray"}

+ 33 - 0
data/ltw/advancements/parkour/tnt1.json

@@ -0,0 +1,33 @@
+{
+    "parent": "ltw:parkour/root",
+    "display": {
+      "icon": {
+        "item": "minecraft:dead_horn_coral_block"
+      },
+      "title": {
+        "text": "圣坛之慰      "
+      },
+      "description": [
+        {"text": "在地陷圣坛中获胜\n", "color":"gray"},
+        {"text": "奖励: ","color":"green"},
+        {"text": "1 绿宝石","color":"white"}
+      ],
+      "frame": "task",
+      "show_toast": true,
+      "announce_to_chat": true,
+      "hidden": false
+    },
+    "rewards": {
+      "function": "ltw:advancement/bonus_1"
+    },
+    "criteria": {
+      "get_score":{
+          "trigger": "minecraft:impossible"
+      }
+    },
+    "requirements": [
+      [
+          "get_score"
+      ]
+    ]
+  }

+ 33 - 0
data/ltw/advancements/parkour/tnt2.json

@@ -0,0 +1,33 @@
+{
+    "parent": "ltw:parkour/tnt1",
+    "display": {
+      "icon": {
+        "item": "minecraft:crying_obsidian"
+      },
+      "title": {
+        "text": "圣坛之主      "
+      },
+      "description": [
+        {"text": "在地陷圣坛中获胜, 且位于第 3 或第 4 层\n", "color":"gray"},
+        {"text": "奖励: ","color":"green"},
+        {"text": "3 绿宝石","color":"white"}
+      ],
+      "frame": "challenge",
+      "show_toast": true,
+      "announce_to_chat": true,
+      "hidden": false
+    },
+    "rewards": {
+      "function": "ltw:advancement/bonus_3"
+    },
+    "criteria": {
+      "get_score":{
+          "trigger": "minecraft:impossible"
+      }
+    },
+    "requirements": [
+      [
+          "get_score"
+      ]
+    ]
+  }

+ 2 - 2
data/ltw/advancements/parkour/treasure1.json

@@ -5,10 +5,10 @@
         "item": "minecraft:oak_leaves"
       },
       "title": {
-        "text": "宝藏学徒    "
+        "text": "宝藏学徒      "
       },
       "description": [
-        {"text": "在遗迹寻宝小游戏中收集 4 处宝藏\n", "color":"gray"},
+        {"text": "在遗迹寻宝中收集 4 处宝藏\n", "color":"gray"},
         {"text": "奖励: ","color":"green"},
         {"text": "1 绿宝石","color":"white"}
       ],

+ 2 - 2
data/ltw/advancements/parkour/treasure2.json

@@ -5,10 +5,10 @@
         "item": "minecraft:chest"
       },
       "title": {
-        "text": "宝藏大师    "
+        "text": "宝藏大师      "
       },
       "description": [
-        {"text": "在遗迹寻宝小游戏中收集 7 处宝藏\n", "color":"gray"},
+        {"text": "在遗迹寻宝中收集 7 处宝藏\n", "color":"gray"},
         {"text": "奖励: ","color":"green"},
         {"text": "2 绿宝石","color":"white"}
       ],

+ 2 - 2
data/ltw/advancements/parkour/treasure3.json

@@ -5,10 +5,10 @@
         "item": "minecraft:ender_chest"
       },
       "title": {
-        "text": "宝藏之神    "
+        "text": "宝藏之神      "
       },
       "description": [
-        {"text": "在遗迹寻宝小游戏中收集全部宝藏\n", "color":"gray"},
+        {"text": "在遗迹寻宝中收集全部宝藏\n", "color":"gray"},
         {"text": "奖励: ","color":"green"},
         {"text": "3 绿宝石","color":"white"}
       ],

+ 2 - 2
data/ltw/advancements/vs/potato1.json

@@ -5,10 +5,10 @@
         "item": "minecraft:redstone_torch"
       },
       "title": {
-        "text": "幸存者      "
+        "text": "幸存者        "
       },
       "description": [
-        {"text": "在炸弹狂魔小游戏中获胜\n", "color":"gray"},
+        {"text": "在炸弹狂魔中获胜\n", "color":"gray"},
         {"text": "奖励: ","color":"green"},
         {"text": "1 绿宝石","color":"white"}
       ],

+ 2 - 2
data/ltw/advancements/vs/potato2.json

@@ -5,10 +5,10 @@
         "item": "minecraft:tnt"
       },
       "title": {
-        "text": "炸弹仁      "
+        "text": "炸弹仁        "
       },
       "description": [
-        {"text": "在炸弹狂魔小游戏中获胜, 且剩余 3 心或更多的生命值\n", "color":"gray"},
+        {"text": "在炸弹狂魔中获胜, 且剩余 3 心或更多的生命值\n", "color":"gray"},
         {"text": "奖励: ","color":"green"},
         {"text": "3 绿宝石","color":"white"}
       ],

+ 1 - 1
data/ltw/advancements/vs/root.json

@@ -4,7 +4,7 @@
         "item": "minecraft:wooden_axe"
       },
       "title": {
-        "text":"竞技"
+        "text":"竞技          "
       },
       "description": [
         {"text": "还好, 这里不会因为一轮的失败就把你淘汰……", "color":"gray"}

+ 2 - 0
data/mini/functions/main/game_end.mcfunction

@@ -26,6 +26,8 @@ tag @a[tag=max_uncounted] remove max_uncounted
 tag @a[tag=!mini_rank1,tag=!mini_rank2,tag=!mini_rank3,tag=!watcher] add mini_rank4
 
 # 给予进度
+execute if score $mini_type mem matches 1 as @a[tag=mini_rank1] run advancement grant @s only ltw:parkour/tnt1
+execute if score $mini_type mem matches 1 as @a[tag=mini_rank1,scores={layer=3..}] run advancement grant @s only ltw:parkour/tnt2
 execute if score $mini_type mem matches 3 as @a[tag=mini_rank1] run advancement grant @s only ltw:vs/potato1
 execute if score $mini_type mem matches 3 as @a[tag=mini_rank1,scores={mini_heart=3..}] run advancement grant @s only ltw:vs/potato2