Compare commits

...

10 Commits

Author SHA1 Message Date
Claude
ca53082bf7 Новачок трохи легший: трасування −30% замість −25%
All checks were successful
build / build (push) Successful in 2m34s
DIFF_TRACE[0] 0.75 -> 0.7. Бот балансу, Новачок, сіди 1-40: 40/40 до і після,
середньо дій 1245 -> 1239.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017HrHZvMfd7QKpZn8YVeNpa
2026-12-01 12:59:35 +00:00
Gitea Actions
cbf9b9a3c6 game_godot: TinMerezhi.exe v1.0.88 2026-12-01 12:47:15 +00:00
Claude
4fe63f302a Merge branch 'main' of https://serv.tail9357bc.ts.net/junior/TinMerezhi
All checks were successful
build / build (push) Successful in 2m28s
2026-12-01 12:43:55 +00:00
Claude
54b93f7f28 CI: version.txt на дзеркалі читабельний для Caddy (був 600 через umask)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017HrHZxa3KBighPXSxK7efY
2026-12-01 12:43:54 +00:00
Gitea Actions
5773d2a2d7 game_godot: TinMerezhi.exe v1.0.87 2026-12-01 12:39:29 +00:00
Claude
c0a8a64ad8 Merge branch 'main' of https://serv.tail9357bc.ts.net/junior/TinMerezhi
All checks were successful
build / build (push) Successful in 49s
2026-12-01 12:36:33 +00:00
Claude
cc3ff26523 Сторінка гри з рекордами (укр/англ) на tinmerezhi.duckdns.org: site/index.html, CI кладе її, картинки, version.txt і посилання на останній exe
All checks were successful
build / build (push) Successful in 3m4s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017HrHZxa3KBighPXSxK7efY
2026-12-01 12:36:16 +00:00
Gitea Actions
9a672b073c game_godot: TinMerezhi.exe v1.0.86 2026-12-01 12:32:19 +00:00
Claude
cdd1c0b670 CI: ключ хоста дроплета для дзеркала exe
All checks were successful
ci-image / image (push) Successful in 14s
build / build (push) Successful in 2m27s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017HrHZxa3KBighPXSxK7efY
2026-12-01 12:27:50 +00:00
Gitea Actions
572c02199b game_godot: TinMerezhi.exe v1.0.85 2026-12-01 12:25:08 +00:00
9 changed files with 192 additions and 7 deletions

View File

@@ -98,7 +98,7 @@ jobs:
run: |
TEMPLATE=tools/template.exe sh ../ci/wine_check.sh ../game_godot/TinMerezhi.exe /tmp/shots
- name: Mirror on the droplet (fast download for the updater)
- name: Mirror on the droplet (fast download for the updater, game page site/index.html)
if: startsWith(github.ref, 'refs/tags/')
env:
# repo secret MIRROR_SSH_KEY: private key of the sftp-only user "mirror" on the droplet; without it this step is skipped
@@ -106,6 +106,7 @@ jobs:
TAG: ${{ github.ref_name }}
run: |
if [ -z "$KEY" ] || [ ! -s ci/mirror_known_hosts ]; then echo "mirror: no MIRROR_SSH_KEY or ci/mirror_known_hosts, skipped (the updater falls back to Gitea)"; exit 0; fi
echo "$TAG" > /tmp/version.txt # before umask 077: sftp put keeps the mode, Caddy must be able to read it
umask 077; printf '%s\n' "$KEY" > /tmp/mirror_key
# before the Release: once the game sees the new tag, the mirror already has its exe (the updater checks the size)
sftp -b - -i /tmp/mirror_key -o UserKnownHostsFile=ci/mirror_known_hosts -o StrictHostKeyChecking=yes mirror@46.101.222.25 <<EOF \
@@ -114,6 +115,18 @@ jobs:
put game_godot/TinMerezhi.exe /srv/tm/$TAG/TinMerezhi.exe.tmp
-rm /srv/tm/$TAG/TinMerezhi.exe
rename /srv/tm/$TAG/TinMerezhi.exe.tmp /srv/tm/$TAG/TinMerezhi.exe
-rm /srv/tm/TinMerezhi.exe
symlink /srv/tm/$TAG/TinMerezhi.exe /srv/tm/TinMerezhi.exe
put /tmp/version.txt /srv/tm/version.txt
-mkdir /srv/tm/img
put itch/wide_cover_2520x1080.png /srv/tm/img/
put itch/social_1200x630.png /srv/tm/img/
put itch/favicon_512.png /srv/tm/img/
put itch/screenshots/1_start.png /srv/tm/img/
put itch/screenshots/2_crack.png /srv/tm/img/
put itch/screenshots/6_act5.png /srv/tm/img/
put itch/screenshots/11_endless_en.png /srv/tm/img/
put site/index.html /srv/tm/index.html
EOF
rm -f /tmp/mirror_key
echo "mirror: https://tinmerezhi.duckdns.org/$TAG/TinMerezhi.exe"

1
ci/mirror_known_hosts Normal file
View File

@@ -0,0 +1 @@
46.101.222.25 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDWagZdsEc7Ljc7qO0TudlpbCMtZZ4hlGbfvSwqxiJNc

BIN
game_godot/TinMerezhi.exe (Stored with Git LFS)

Binary file not shown.

170
site/index.html Normal file
View File

@@ -0,0 +1,170 @@
<!doctype html>
<html lang="uk">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ТінМережі · Shadow Net</title>
<meta name="description" content="Хакерська гра в терміналі українською та англійською · A hacking game played in a terminal, in Ukrainian and English">
<meta property="og:title" content="ТінМережі · Shadow Net">
<meta property="og:image" content="https://tinmerezhi.duckdns.org/img/social_1200x630.png">
<link rel="icon" href="img/favicon_512.png">
<!-- Сторінка гри на дзеркалі (CI кладе site/ та itch/ картинки в /srv/tm). Рекорди: /api/* → Caddy → сервер онлайн-рекордів (/tm-api). -->
<style>
:root { --bg: #0b0f0c; --panel: #111814; --line: #1f2e24; --fg: #c8f5d4; --dim: #6f9a7c; --acc: #39ff7a; --warn: #ffcc4d; --bad: #ff5c6c; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.55 ui-monospace, "Cascadia Mono", Consolas, monospace; }
main { max-width: 1100px; margin: 0 auto; padding: 20px 16px 48px; }
header { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
h1 { color: var(--acc); font-size: 34px; margin: 0; text-shadow: 0 0 14px rgba(57,255,122,.45); }
h2 { color: var(--acc); font-size: 20px; margin: 36px 0 12px; }
h3 { color: var(--acc); font-size: 16px; margin: 0 0 10px; }
a { color: var(--acc); }
.lang button { background: var(--panel); color: var(--dim); border: 1px solid var(--line); padding: 4px 10px; font: inherit; cursor: pointer; border-radius: 6px; }
.lang button.on { color: var(--acc); border-color: var(--acc); }
.tag { color: var(--dim); margin: 6px 0 20px; }
.hero { width: 100%; border: 1px solid var(--line); border-radius: 8px; display: block; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 20px 0; }
.btn { display: inline-block; background: var(--acc); color: #04140a; font-weight: bold; padding: 12px 20px; border-radius: 8px; text-decoration: none; }
.btn.alt { background: var(--panel); color: var(--acc); border: 1px solid var(--line); font-weight: normal; }
.small { color: var(--dim); font-size: 14px; }
ul.feat { padding-left: 20px; }
ul.feat li { margin: 4px 0; }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 12px; }
.shots img { width: 100%; border: 1px solid var(--line); border-radius: 6px; display: block; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
section.b { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 4px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: var(--dim); font-weight: normal; font-size: 13px; }
.n { text-align: right; font-variant-numeric: tabular-nums; }
tr.first td { color: var(--warn); }
.empty { color: var(--dim); }
.bad { color: var(--bad); }
footer { color: var(--dim); font-size: 13px; margin-top: 36px; }
</style>
</head>
<body>
<main>
<header>
<h1 data-t="title">▓ ТІНЬ МЕРЕЖІ</h1>
<div class="lang"><button data-l="uk">УКР</button> <button data-l="en">ENG</button></div>
</header>
<p class="tag" data-t="tag"></p>
<img class="hero" src="img/wide_cover_2520x1080.png" alt="ТінМережі / Shadow Net">
<div class="cta">
<a class="btn" href="TinMerezhi.exe" data-t="dl"></a>
<a class="btn alt" href="https://tuberon.itch.io/tinmerezhi">🎮 itch.io</a>
<a class="btn alt" href="#records" data-t="recs"></a>
<span class="small"><span data-t="ver"></span> <span id="ver">…</span> · Windows 10/11 · <span data-t="noinst"></span></span>
</div>
<p data-t="story"></p>
<ul class="feat" id="feat"></ul>
<h2 data-t="shots"></h2>
<div class="shots">
<img src="img/1_start.png" alt="" loading="lazy">
<img src="img/2_crack.png" alt="" loading="lazy">
<img src="img/6_act5.png" alt="" loading="lazy">
<img src="img/11_endless_en.png" alt="" loading="lazy">
</div>
<h2 id="records" data-t="recs"></h2>
<p class="small" data-t="recnote"></p>
<div class="grid" id="boards"></div>
<footer data-t="foot"></footer>
</main>
<script>
const T = {
uk: {
title: "▓ ТІНЬ МЕРЕЖІ", tag: "Хакерська гра, де все робиш у терміналі.",
dl: "⬇ Завантажити для Windows", recs: "🏆 Рекорди", ver: "Версія", noinst: "без встановлення",
story: "Ти — Shadow, хакер-одинак. Таємничий Оракул дає завдання: від Wi-Fi кав'ярні до Нульового вузла, де ховається серце Пуйла. Скануй мережу, підбирай коди, відкривай порти, будуй маршрут через зламані сервери й стирай логи, бо трасування росте з кожною помилкою.",
feat: ["6 актів, 48 глав і кілька кінцівок, що залежать від твоїх виборів",
"45 серверів на анімованій мапі мережі: шари шифрування, закриті порти, активне трасування",
"Міні-ігри зламу: обхід фаєрвола і словникова атака",
"Суперники-хакери Cobra, Mantis і Nyx: перегони за замовлення, крадіжки й помста",
"Соціальна інженерія, криптоголоволомки, чорний ринок експлойтів і рідкісні побічні квести",
"Після фіналу: Нескінченна мережа з рекордами, щоденний виклик і New Game+",
"Три складності: Новачок, Звичайний і Параноя (без збережень)",
"Адаптивна синтвейв-музика, українська та англійська мови, автооновлення"],
shots: "📸 Скриншоти",
recnote: "Онлайн-рекорди надсилаються з гри лише за згодою (налаштування → онлайн-рекорди). Таблиці оновлюються щохвилини.",
foot: "Розробник: JunioR. Гра і код — під ліцензією MIT. Рушій Godot.",
boards: ["♾ Нескінченна мережа", "📅 Виклик дня", "🤖 1 · Кур'єр", "🤖 2 · Прибиральник", "🤖 3 · Збирач", "🤖 4 · Нічний рейс"],
nick: "Нік", score: "Рахунок", depth: "Глибина", diff: "Складність", jobs: "Замовлень", lines: "Рядків", steps: "Кроків",
diffs: ["Новачок", "Звичайний", "Параноя"], empty: "Поки порожньо. Стань першим!", down: "Сервер рекордів недоступний"
},
en: {
title: "▓ SHADOW NET", tag: "A hacking game played entirely in a terminal.",
dl: "⬇ Download for Windows", recs: "🏆 Leaderboards", ver: "Version", noinst: "no install",
story: "You are Shadow, a lone hacker. The mysterious Oracle sends you jobs, from a café's Wi-Fi all the way to the Zero Node where Puilo's heart hides. Scan the network, crack codes, open ports, route through hacked servers and wipe your logs, because every mistake raises the trace.",
feat: ["6 acts, 48 chapters and several endings shaped by your choices",
"45 servers on an animated network map: encryption layers, closed ports, active tracing",
"Hacking mini-games: firewall bypass and dictionary attack",
"Rival hackers Cobra, Mantis and Nyx race you for jobs, steal from you and take revenge",
"Social engineering, crypto puzzles, a black market of exploits and rare side quests",
"After the finale: the Endless Network with leaderboards, a daily challenge and New Game+",
"Three difficulties: Novice, Normal and Paranoid (no saves)",
"Adaptive synthwave music, English and Ukrainian, auto-update"],
shots: "📸 Screenshots",
recnote: "Scores are sent from the game only if you opt in (settings → online leaderboards). Tables refresh every minute.",
foot: "Developer: JunioR. The game and its code are MIT-licensed. Godot engine.",
boards: ["♾ Endless Network", "📅 Daily", "🤖 1 · Courier", "🤖 2 · Janitor", "🤖 3 · Collector", "🤖 4 · Night Flight"],
nick: "Nick", score: "Score", depth: "Depth", diff: "Difficulty", jobs: "Jobs", lines: "Lines", steps: "Steps",
diffs: ["Novice", "Normal", "Paranoid"], empty: "Empty so far. Be the first!", down: "Leaderboard server unavailable"
}
};
const DAY = "d" + new Date().toISOString().slice(0, 10).replaceAll("-", ""); // виклик дня — за UTC, як у грі
const IDS = ["endless", DAY, "agent0", "agent1", "agent2", "agent3"];
let lang = "uk";
try { lang = localStorage.getItem("lang") || (navigator.language.startsWith("uk") ? "uk" : "en"); } catch (e) {}
if (new URLSearchParams(location.search).get("lang") in T) lang = new URLSearchParams(location.search).get("lang");
let tops = {}; // кеш таблиць, щоб перемикання мови не ходило в мережу
function el(tag, text, cls) { const e = document.createElement(tag); if (text !== undefined) e.textContent = text; if (cls) e.className = cls; return e; }
function render() {
const t = T[lang];
document.documentElement.lang = lang;
for (const e of document.querySelectorAll("[data-t]")) e.textContent = t[e.dataset.t];
for (const b of document.querySelectorAll("[data-l]")) b.classList.toggle("on", b.dataset.l === lang);
document.getElementById("feat").replaceChildren(...t.feat.map(f => el("li", f)));
document.getElementById("boards").replaceChildren(...IDS.map((id, k) => {
const s = el("section", undefined, "b"), tb = el("table"), head = el("tr");
s.append(el("h3", t.boards[k]));
const cols = k === 0 ? ["#", t.nick, t.score, t.depth, t.diff] : k === 1 ? ["#", t.nick, t.score, t.jobs] : ["#", t.nick, t.lines, t.steps];
cols.forEach((c, i) => head.append(el("th", c, i > 1 && c !== t.diff ? "n" : "")));
tb.append(head); s.append(tb);
const top = tops[id];
if (top === undefined) s.append(el("p", "…", "empty"));
else if (top === null) s.append(el("p", t.down, "bad"));
else if (!top.length) s.append(el("p", t.empty, "empty"));
else top.forEach((r, i) => {
const tr = el("tr");
tr.append(el("td", i + 1), el("td", r.nick), el("td", r.a.toLocaleString(lang), "n"), el("td", r.b, "n"));
if (k === 0) tr.append(el("td", t.diffs[r.diff] ?? ""));
if (i === 0) tr.className = "first";
tb.append(tr);
});
return s;
}));
}
async function load() {
await Promise.all(IDS.map(async id => {
try { const r = await fetch("api/top?board=" + id, {cache: "no-store"}); tops[id] = r.ok ? (await r.json()).top : null; }
catch (e) { tops[id] = null; }
}));
render();
}
for (const b of document.querySelectorAll("[data-l]")) b.onclick = () => {
lang = b.dataset.l;
try { localStorage.setItem("lang", lang); } catch (e) {}
render();
};
fetch("version.txt", {cache: "no-store"}).then(r => r.ok ? r.text() : "–").then(v => document.getElementById("ver").textContent = v.trim()).catch(() => {});
render();
load();
setInterval(load, 60000);
</script>
</body>
</html>

View File

@@ -44,7 +44,7 @@ const HELP := {
"about": "about — про гру і розробника.",
"update": "update — перевірити й завантажити нову версію гри.",
"choose": "choose 1|2 — вибір у фіналі акту.",
"difficulty": "difficulty novice|normal|paranoid — складність (лише до першого зламу).\nНовачок: трасування −25%, слідчі повільніші, +2 арешти, +20% дій у термінових главах. Параноя: трасування +90%, слідчі швидші, на 1 арешт менше, за замками серверів ще й код, збереження лише на початку кожного акту.",
"difficulty": "difficulty novice|normal|paranoid — складність (лише до першого зламу).\nНовачок: трасування −30%, слідчі повільніші, +2 арешти, +20% дій у термінових главах. Параноя: трасування +90%, слідчі швидші, на 1 арешт менше, за замками серверів ще й код, збереження лише на початку кожного акту.",
"firewall": "firewall — міні-гра \"Обхід фаєрвола\" перед зламом: вимкни всі фільтри (перемикач змінює себе й сусідів).\nУспіх — трасування на сервері −40% до відключення. Провал — +10%. Одна спроба за підключення.\nЗамок: на деяких серверах (🧱 📖 📞 🔐 у scan) саме ця атака відкриває зовнішній шар замість коду.",
"dict": "dict — міні-гра \"Словникова атака\": вгадай пароль адміна серед слів дампу (видно, скільки літер на місцях).\nУспіх — наступний crack почнеться з 2 відомими цифрами. Одна спроба за підключення.\nЗамок: на деяких серверах (🧱 📖 📞 🔐 у scan) саме ця атака відкриває зовнішній шар замість коду.",
"rivals": "rivals — суперники-хакери: хто в кого що вкрав і хто має на тебе образу.\nНа сервері із замовленням суперник може почати перегони: забери файл, поки не минув час, інакше оплата вдвічі менша.\nПереможений тримає образу і може злити твій IP слідчим, поки ти онлайн.",

View File

@@ -1372,7 +1372,7 @@ const EN := {
"🤍 Біла команда: \"Ключ від клітки — у тебе. Ми довіряємо тобі більше, ніж будь-якому замку.\"": "🤍 White Team: \"You hold the key to the cage. We trust you more than any lock.\"",
"🌀 Відлуння: \"Він був моїм початком. Тепер мережу вартую я — і я не забуду третього правила.\"": "🌀 Echo: \"He was my beginning. Now I guard the network — and I won't forget the third rule.\"",
"🌀 Відлуння вартує клітку Пуйла: батька стереже його ж відлуння. \"Він питає, чому я не такий, як він. Я кажу: через Shadow.\"": "🌀 Echo guards Puilo's cage: the father watched by his own echo. \"He asks why I'm not like him. I tell him: because of Shadow.\"",
"difficulty novice|normal|paranoid — складність (лише до першого зламу).\nНовачок: трасування −25%, слідчі повільніші, +2 арешти, +20% дій у термінових главах. Параноя: трасування +90%, слідчі швидші, на 1 арешт менше, за замками серверів ще й код, збереження лише на початку кожного акту.": "difficulty novice|normal|paranoid — difficulty (only before your first crack).\nNovice: trace −25%, investigators slower, +2 arrests, +20% actions in urgent chapters. Paranoid: trace +90%, investigators faster, 1 arrest fewer, server locks still have a code behind them, saves only at the start of each act.",
"difficulty novice|normal|paranoid — складність (лише до першого зламу).\nНовачок: трасування −30%, слідчі повільніші, +2 арешти, +20% дій у термінових главах. Параноя: трасування +90%, слідчі швидші, на 1 арешт менше, за замками серверів ще й код, збереження лише на початку кожного акту.": "difficulty novice|normal|paranoid — difficulty (only before your first crack).\nNovice: trace −30%, investigators slower, +2 arrests, +20% actions in urgent chapters. Paranoid: trace +90%, investigators faster, 1 arrest fewer, server locks still have a code behind them, saves only at the start of each act.",
"🆕 Нові команди: %s (докладно — help <команда>).": "🆕 New commands: %s (details — help <command>).",
" ще: daily, top, settings, lang, sound, save, update, about, achievements, newgame, clear": " more: daily, top, settings, lang, sound, save, update, about, achievements, newgame, clear",
"🔒 Ще %d команд відкриються з рівнем і сюжетом. help all — повний список.": "🔒 %d more commands unlock with your level and the story. help all — the full list.",
@@ -1385,7 +1385,7 @@ const EN := {
"🔎 Ціль невідома: прочитай %s (cat) на \"%s\" (№%d).": "🔎 Target unknown: read %s (cat) on \"%s\" (#%d).",
" Частин залито: %d/%d.": " Parts uploaded: %d/%d.",
"☠ Параноя: гра зберігається лише на початку кожного акту.": "☠ Paranoid: the game only saves at the start of each act.",
"🎚 Складність: %s. Варіанти: novice (Новачок: трасування −25%%, +2 арешти, +20%% дій у термінових главах), normal, paranoid (Параноя: трасування +90%%, слідчі швидші, на 1 арешт менше, за замками ще й код, ЗБЕРЕЖЕННЯ ЛИШЕ НА ПОЧАТКУ АКТУ).": "🎚 Difficulty: %s. Options: novice (Novice: trace −25%%, +2 arrests, +20%% actions in urgent chapters), normal, paranoid (Paranoid: trace +90%%, faster investigators, 1 arrest fewer, a code behind every lock, SAVES ONLY AT THE START OF AN ACT).",
"🎚 Складність: %s. Варіанти: novice (Новачок: трасування −30%%, +2 арешти, +20%% дій у термінових главах), normal, paranoid (Параноя: трасування +90%%, слідчі швидші, на 1 арешт менше, за замками ще й код, ЗБЕРЕЖЕННЯ ЛИШЕ НА ПОЧАТКУ АКТУ).": "🎚 Difficulty: %s. Options: novice (Novice: trace −30%%, +2 arrests, +20%% actions in urgent chapters), normal, paranoid (Paranoid: trace +90%%, faster investigators, 1 arrest fewer, a code behind every lock, SAVES ONLY AT THE START OF AN ACT).",
"☠ Параноя: гра зберігається лише на початку кожного акту. Закриєш вікно — повернешся на початок акту.": "☠ Paranoid: the game only saves at the start of each act. Close the window — and you go back to the start of the act.",
"🌐 Онлайн-рекорди і статистика": "🌐 Online leaderboards and stats",
"Твої результати в Нескінченній мережі, щоденному виклику й задачах агентів можуть потрапити в спільну онлайн-таблицю (top). Надсилаються лише нік і рахунок.\n\nАнонімна статистика допомагає розробнику побачити, на якій главі гравці застрягають: номер глави, кількість дій і арештів, складність, мова й версія. Без ніка, імені чи IP.\n\nОбидва вимкнені, поки ти їх не ввімкнеш. Змінити можна будь-коли командою settings.": "Your Endless Network, daily challenge and agent task results can go to a shared online leaderboard (top). Only your nickname and score are sent.\n\nAnonymous stats help the developer see which chapter players get stuck on: chapter number, action and arrest counts, difficulty, language and version. No nickname, name or IP.\n\nBoth are off until you turn them on. You can change this any time with the settings command.",

View File

@@ -1231,7 +1231,7 @@ func c_difficulty(a: String) -> void:
if a.is_valid_int() and int(a) >= 1 and int(a) <= 3:
i = int(a) - 1
if i < 0:
say(L.t("🎚 Складність: %s. Варіанти: novice (Новачок: трасування −25%%, +2 арешти, +20%% дій у термінових главах), normal, paranoid (Параноя: трасування +90%%, слідчі швидші, на 1 арешт менше, за замками ще й код, ЗБЕРЕЖЕННЯ ЛИШЕ НА ПОЧАТКУ АКТУ).") % L.t(T.DIFF_NAMES[diff]), "info")
say(L.t("🎚 Складність: %s. Варіанти: novice (Новачок: трасування −30%%, +2 арешти, +20%% дій у термінових главах), normal, paranoid (Параноя: трасування +90%%, слідчі швидші, на 1 арешт менше, за замками ще й код, ЗБЕРЕЖЕННЯ ЛИШЕ НА ПОЧАТКУ АКТУ).") % L.t(T.DIFF_NAMES[diff]), "info")
return
if not can_change_diff():
say(L.t("Складність обирають на початку гри (до першого зламу). Почни нову гру: newgame."), "err")

View File

@@ -77,7 +77,7 @@ const REFLEX_ADD := 4 # Рефлекси: + дій до термі
# ── рівні складності: 0 — Новачок, 1 — Звичайний, 2 — Параноя ──
const DIFF_NAMES := ["Новачок", "Звичайний", "Параноя"]
const DIFF_IDS := ["novice", "normal", "paranoid"]
const DIFF_TRACE := [0.75, 1.04, 2.0] # множник усього трасування (v1.0.62: було 0.6/1.0; 1.08 на Звичайному — запізнення в главах 32–33; v1.0.81 Параноя 1.5 → 2.0, бо зовнішній шар тепер пам'ятається після відступу)
const DIFF_TRACE := [0.7, 1.04, 2.0] # множник усього трасування (v1.0.89: Новачок 0.75 → 0.7; v1.0.62: було 0.6/1.0; 1.08 на Звичайному — запізнення в главах 32–33; v1.0.81 Параноя 1.5 → 2.0, бо зовнішній шар тепер пам'ятається після відступу)
const DIFF_INVEST := [1.4, 1.0, 0.7] # множник часу до арешту за лишені логи
const DIFF_BUSTS := [2, 0, -1] # + арештів до кінця гри
const DIFF_LIMIT := [1.2, 1.0, 1.0] # множник дій у термінових главах (v1.0.80: Новачок запізнювався так само часто, як Звичайний)

View File

@@ -8,6 +8,7 @@ const Updater = preload("res://updater.gd")
const MAX_ITEMS := 8 # коротко: вікно має влазити й з великим шрифтом
const CHANGES := [
["1.0.89", "Новачок трохи легший: трасування −30% замість −25%.", "Novice is a bit easier: trace −30% instead of −25%."],
["1.0.84", "Команда update качає нові версії зі швидшого сервера, а якщо він недоступний — як раніше.", "The update command downloads new versions from a faster server, and falls back to the old one if it is unavailable."],
["1.0.81", "Пароль зовнішнього шару більше не змінюється, коли відступаєш: усе, що ти про нього з'ясував, лишається до наступного візиту.", "The outer layer password no longer changes when you retreat: everything you learned about it stays until your next visit."],
["1.0.81", "Параноя: трасування вище (+90% замість +50%), щоб вона лишилась такою ж важкою, але без безкінечних повторних зламів.", "Paranoid: higher trace (+90% instead of +50%) so it stays just as hard, without endless repeated cracks."],