ss
This commit is contained in:
parent
091afc2b5c
commit
28591233f3
85 changed files with 946 additions and 267 deletions
|
|
@ -34,7 +34,7 @@
|
|||
const PLAYER_SECRET_KEY = "tarinai_achievement_player_secret_v1";
|
||||
const LEGACY_PLAYER_KEY = "tarinai_achievement_legacy_player_v4";
|
||||
const API_URL = String(global.TARINAI_ACHIEVEMENT_API || "achievement_api.php");
|
||||
const GAME_VERSION = String(global.TARINAI_VERSION || "39.18.3");
|
||||
const GAME_VERSION = String(global.TARINAI_VERSION || "39.18.18");
|
||||
const DEBUG_MODE = ["1", "true"].includes(new URLSearchParams(global.location?.search || "").get("debug"));
|
||||
const PLAYER_ID_PATTERN = /^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;
|
||||
const LEGACY_PLAYER_ID_PATTERN = /^[A-Za-z0-9_-]{22}$/;
|
||||
|
|
@ -1021,7 +1021,7 @@
|
|||
}
|
||||
|
||||
function sharedAchievementText(id) {
|
||||
return `端末報告ベース ${percentageText(id)}(報告プレイヤー ${achieverCountText(id)})`;
|
||||
return `達成率 ${percentageText(id)}(達成人数 ${achieverCountText(id)})`;
|
||||
}
|
||||
|
||||
function continuousPlayElapsedMs(now = Date.now()) {
|
||||
|
|
@ -2671,6 +2671,7 @@
|
|||
const world = detail.world || tarinai?.world || null;
|
||||
if (kind === "slave") {
|
||||
unlock("natural_zunchi_slave", detail);
|
||||
if (tarinai?.isAcquiredTarinai) unlock("ochibi_natural_slave", detail);
|
||||
if (recordNaturalGeneration(world, tarinai, "_achievementNaturalSlaveLineageDepth", 5)) {
|
||||
unlock("natural_zunchi_slave_5_generations", detail);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue