38 lines
1.6 KiB
Python
38 lines
1.6 KiB
Python
import json
|
|
from datetime import date
|
|
|
|
with open("assets/data/version.json", "r", encoding="utf-8") as f:
|
|
data = json.load(f)
|
|
|
|
# Find the 2.4.0 entry or just add 2.4.1 at the top
|
|
changelog = [
|
|
"Fixed Gauntlet map layout to remove red unpassable barrier blocks and center blocks.",
|
|
"Fixed Gauntlet mode to prevent powerups or sticky bubbles from spawning on boundary tiles or under the central cannon.",
|
|
"Center Candy Cannon now shoots actual projectiles that fly towards sticky cells and leave a VFX trail.",
|
|
"Added new VFX to the Center Candy Cannon. It now has a glowing pink tank and spinning metallic rings.",
|
|
"Fixed Gauntlet Cleanser to stack charges instead of capping at 1.",
|
|
"Cleanser instantly clears a 3x3 AoE of sticky cells and frees any players inside immediately upon activation.",
|
|
"Added VFX and SFX when purifying cells with the Cleanser (cyan burst particles).",
|
|
"Added instant visual feedback indicator for Gauntlet Cleanser using popup text when consumed.",
|
|
"Fixed Gauntlet Cleanser UI phase label layout to ensure it does not overlap with other UI elements."
|
|
]
|
|
|
|
new_release = {
|
|
"version": "2.4.1",
|
|
"date": "2026-06-28",
|
|
"pck_url": "https://raw.githubusercontent.com/adtpdn/tekton-updates/main/latest/patch.pck",
|
|
"pck_size": 0,
|
|
"changelog": changelog
|
|
}
|
|
|
|
# Remove existing 2.4.1 if any
|
|
data["releases"] = [r for r in data["releases"] if r.get("version") != "2.4.1"]
|
|
|
|
# Insert at top
|
|
data["releases"].insert(0, new_release)
|
|
data["latest_version"] = "2.4.1"
|
|
|
|
with open("assets/data/version.json", "w", encoding="utf-8") as f:
|
|
json.dump(data, f, indent="\t")
|
|
f.write("\n")
|