Improve GUI, clarify home goals
This commit is contained in:
1 parent
5a8d9234b6
commit
21a9b8af65
8 files changed
+24
-22
No files matched your search
@@ -36,8 +36,8 @@ Free
|
||||
### Five homes
|
||||
- 2500 diamonds
|
||||
- 15 days played
|
||||
- 5000k blocks travelled on pig
|
||||
- 1000k blocks travelled on strider
|
||||
- 5000 blocks travelled on pig
|
||||
- 1000 blocks travelled on strider
|
||||
- Kill 50 dolphins
|
||||
- Kill 50 zoglins
|
||||
- The Cutest Predator advancement
|
||||
@@ -53,8 +53,8 @@ Free
|
||||
### Six Homes
|
||||
- 5000 diamonds
|
||||
- 30 days played
|
||||
- 10000k blocks walked on water
|
||||
- 10000k blocks walked underwater
|
||||
- 10000 blocks walked on water
|
||||
- 10000 blocks walked underwater
|
||||
- All 13 music discs
|
||||
- All advancements
|
||||
- 1500 blocks of obsidian mined
|
||||
|
||||
+1
-1
Submodule libs/GxUI-OG updated: 24b385d3f7...e606c9d638.
@@ -24,7 +24,7 @@ class QuestGuiCommand : CommandExecutor {
|
||||
if (debug) QuestsOG.plugin.logger.info("/questgui coroutine entered for ${sender.name}")
|
||||
val nextQuest = HomesProgression.getNextQuest(sender)
|
||||
if (debug) QuestsOG.plugin.logger.info("/questgui nextQuest=${nextQuest?.javaClass?.simpleName}")
|
||||
val builder = AdvancementMenu.builder(QuestsOG.plugin, sender, "&6Home Quests")
|
||||
val builder = AdvancementMenu.builder(QuestsOG.plugin, sender, "&aHome Quests")
|
||||
|
||||
HomesProgression.quests.forEach { quest ->
|
||||
builder.add(questName(quest), stateFor(quest, nextQuest))
|
||||
|
||||
@@ -176,9 +176,9 @@ class HomesFive : Quest {
|
||||
|
||||
return arrayOf(
|
||||
ProgressRequirement("Total Shards", requirements.totalShards, 2500L * 9),
|
||||
ProgressRequirement("Ticks Played", (requirements.ticksPlayed).toLong(), (25920000).toLong()),
|
||||
ProgressRequirement("Cm Travelled on Pig", (requirements.pigOneCm).toLong(), (500000).toLong()),
|
||||
ProgressRequirement("Cm Travelled on Strider", (requirements.striderOneCm).toLong(), (100000).toLong()),
|
||||
ProgressRequirement("Days Played", (requirements.ticksPlayed / 1_728_000).toLong(), 15L),
|
||||
ProgressRequirement("Blocks Travelled on Pig", (requirements.pigOneCm / 100).toLong(), 5_000L),
|
||||
ProgressRequirement("Blocks Travelled on Strider", (requirements.striderOneCm / 100).toLong(), 1_000L),
|
||||
ProgressRequirement("Dolphins Killed", (requirements.dolphinKills).toLong(), (50).toLong()),
|
||||
ProgressRequirement("Zoglins Killed", (requirements.zoglinKills).toLong(), (50).toLong()),
|
||||
BooleanRequirement("The Cutest Predator", requirements.hasCutestPredator),
|
||||
|
||||
@@ -145,8 +145,8 @@ class HomesFour : Quest {
|
||||
|
||||
return arrayOf(
|
||||
ProgressRequirement("Total Shards", requirements.totalShards, 1000L * 9),
|
||||
ProgressRequirement("Ticks Played", (requirements.ticksPlayed).toLong(), (17280000).toLong()),
|
||||
ProgressRequirement("Total Cm Travelled", (requirements.totalCm).toLong(), (20000000).toLong()),
|
||||
ProgressRequirement("Days Played", (requirements.ticksPlayed / 1_728_000).toLong(), 10L),
|
||||
ProgressRequirement("Blocks Travelled", (requirements.totalCm / 100).toLong(), 200_000L),
|
||||
BooleanRequirement("A Furious Cocktail", requirements.hasFuriousCocktail),
|
||||
BooleanRequirement("Serious Dedication", requirements.hasSeriousDedication),
|
||||
ProgressRequirement("Levels", (requirements.levels).toLong(), (150).toLong()),
|
||||
|
||||
@@ -167,12 +167,12 @@ class HomesSix : Quest {
|
||||
|
||||
return arrayOf(
|
||||
ProgressRequirement("Total Shards", requirements.totalShards, 5000L * 9),
|
||||
ProgressRequirement("Ticks Played", (requirements.ticksPlayed).toLong(), (51840000).toLong()),
|
||||
ProgressRequirement("Cm Walked on Water", (requirements.walkOnWaterOneCm).toLong(), (1000000).toLong()),
|
||||
ProgressRequirement("Days Played", (requirements.ticksPlayed / 1_728_000).toLong(), 30L),
|
||||
ProgressRequirement("Blocks Walked on Water", (requirements.walkOnWaterOneCm / 100).toLong(), 10_000L),
|
||||
ProgressRequirement(
|
||||
"Cm Walked under Water",
|
||||
(requirements.walkUnderWaterOneCm).toLong(),
|
||||
(1000000).toLong(),
|
||||
"Blocks Walked Under Water",
|
||||
(requirements.walkUnderWaterOneCm / 100).toLong(),
|
||||
10_000L,
|
||||
),
|
||||
ProgressRequirement("Music Discs", (requirements.discs).toLong(), (13).toLong()),
|
||||
ProgressRequirement("Finished Advancements", (requirements.finishedAdvancements).toLong(), (1179).toLong()),
|
||||
|
||||
@@ -80,7 +80,7 @@ class HomesThree : Quest {
|
||||
|
||||
return requirements.totalShards >= 250L * 9 &&
|
||||
requirements.ticksPlayed / 20.0 / 60.0 / 60.0 / 24.0 >= 5 &&
|
||||
requirements.totalCm / 100.0 >= 50000 && // 100k?
|
||||
requirements.totalCm / 100.0 >= 50000 &&
|
||||
requirements.hasBeaconator &&
|
||||
requirements.levels >= 100 &&
|
||||
requirements.duelsWins >= 20
|
||||
@@ -123,8 +123,8 @@ class HomesThree : Quest {
|
||||
|
||||
return arrayOf(
|
||||
ProgressRequirement("Total Shards", requirements.totalShards, 250L * 9),
|
||||
ProgressRequirement("Ticks Played", (requirements.ticksPlayed).toLong(), (8640000).toLong()),
|
||||
ProgressRequirement("Total Cm Travelled", (requirements.totalCm).toLong(), (5000000).toLong()),
|
||||
ProgressRequirement("Days Played", (requirements.ticksPlayed / 1_728_000).toLong(), 5L),
|
||||
ProgressRequirement("Blocks Travelled", (requirements.totalCm / 100).toLong(), 50_000L),
|
||||
BooleanRequirement("Beaconator", requirements.hasBeaconator),
|
||||
ProgressRequirement("Levels", (requirements.levels).toLong(), (100).toLong()),
|
||||
ProgressRequirement("Duels Wins", (requirements.duelsWins).toLong(), (20).toLong()),
|
||||
|
||||
@@ -88,7 +88,7 @@ class HomesTwo : Quest {
|
||||
return false
|
||||
}
|
||||
|
||||
runOnMainThread { player.level -= 100 }
|
||||
runOnMainThread { player.level -= 50 }
|
||||
|
||||
return true
|
||||
}
|
||||
@@ -108,8 +108,10 @@ class HomesTwo : Quest {
|
||||
|
||||
return arrayOf(
|
||||
ProgressRequirement("Total Shards", requirements.totalShards, 100L * 9),
|
||||
ProgressRequirement("Ticks Played", (requirements.ticksPlayed).toLong(), (1728000).toLong()),
|
||||
ProgressRequirement("Total Cm Travelled", (requirements.totalCm).toLong(), (1000000).toLong()),
|
||||
ProgressRequirement("Hours Played", (requirements.ticksPlayed / 72000).toLong(), 24L),
|
||||
ProgressRequirement("Blocks Travelled", (requirements.totalCm / 100).toLong(), 10_000L),
|
||||
ProgressRequirement("Levels", (requirements.levels).toLong(), 50L),
|
||||
ProgressRequirement("Duels Wins", (requirements.duelsWins).toLong(), 10L),
|
||||
)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user