Compare commits

...

3 Commits

Author SHA1 Message Date
Claude
22727581b6 Аудит v1.0.74: Параноя знову важка (замок + код), лід повертає відеокарту, чесні повідомлення замків
All checks were successful
build / build (push) Successful in 2m21s
- Параноя: замок сервера — окрема перешкода, за ним усі шари коду (T.LOCK_EXTRA).
  Бот 40 сідів: 1834 → 2158 дій (v1.0.71 було 2118), 40/40; Новачок і Звичайний без змін.
- Чорний лід, розтоплений посеред зламу, повертає безкоштовні спроби відеокарти й підказки ШІ.
- call/dict, що відкрили замок, не обіцяють «відомих цифр» пароля (бонус і так губився).
- abort шифр-замка більше не каже про гаманець.
- Описи складності згадують замки Параної; рядки «Що нового».

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017HrHZvZmNxPHEtVzdKDn4D
2026-11-29 08:15:03 +00:00
Claude
87c64bbb59 itch/devlog: повний англійський переклад дописів 1 і 2
All checks were successful
build / build (push) Successful in 50s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017HrHZvNcfPQ1TLwYW9no6y
2026-11-28 14:46:41 +00:00
Gitea Actions
6ec25200b3 game_godot: TinMerezhi.exe v1.0.74 2026-11-28 13:58:02 +00:00
17 changed files with 225 additions and 50 deletions

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

Binary file not shown.

View File

@@ -3,7 +3,7 @@
**Title:** Оновлення v1.0.56–v1.0.63: щоденний виклик, живий сюжет і складніша гра
**Post type:** General Update
**Tags:** update, gameplay, balance, story
**Languages:** Українська, English
**Languages:** Українська, English (повний переклад)
**Cover image:** itch/screenshots/2_crack.png (або без обкладинки, itch візьме з проєкту)
## Content
@@ -64,14 +64,54 @@
<hr>
<h2>English</h2>
<h2>What's new in recent versions</h2>
<h3>Daily challenge</h3>
<ul>
<li><b>Daily challenge</b> (<code>daily</code>): 10 contracts, the same for everyone, with a fixed loadout and a daily online leaderboard. Every saved action is worth +50 points.</li>
<li><b>Branching story</b>: your choices in Acts IV and V now reshape the following acts, and Act VI has four endings depending on your Act IV choice. New mission types: multi-part uploads, recon targets hidden until you find a clue, and clean escapes that only count if you leave no logs.</li>
<li><b>Living network map</b>: investigators visibly follow your trail home, and rivals race toward the target.</li>
<li><b>Port utilities level 1–3</b>: run <code>make</code> again at home to upgrade. Level 3 opens ports with no trace and no net.log entry.</li>
<li><b>Gradual help</b>: commands unlock as you level up and progress the story (<code>help all</code> still lists everything).</li>
<li><b>Balance</b>: about 10–15% harder overall, skills are capped by player level, Paranoia saves only at the start of each act.</li>
<li>New startup splash with the game logo.</li>
<li>New <code>daily</code> command: 10 contracts of the day, the same for every player.</li>
<li>Everyone starts with the same loadout (level, hardware, skills) on Normal difficulty.</li>
<li>Every action you save is worth +50 points, and the daily online leaderboard shows who did best. Unlimited attempts.</li>
</ul>
<p>Get the update in game with <code>update</code>. Thanks for playing!</p>
<h3>A story that answers your choices</h3>
<ul>
<li>Decisions at the end of Acts IV and V now change the following acts: who tells the story, which doors are open and which are shut.</li>
<li>The Act VI finale has four variants depending on your choice in Act IV.</li>
<li>Before the decisive choices, an ally sends you advice.</li>
<li>New mission types: a patch you have to upload in parts; recon, where the target stays unknown until you find a clue; a clean escape that only counts if you disconnect without a single log entry.</li>
</ul>
<h3>A living network map</h3>
<ul>
<li>The map shows investigators following your trail from the server with your logs to your home.</li>
<li>In races, your rival also moves toward the target, so you can see who's ahead.</li>
<li>Nodes the tracker has already passed glow red.</li>
</ul>
<h3>Port utilities: levels 1–3</h3>
<ul>
<li>Running <code>make</code> on a utility again at home upgrades it.</li>
<li>Level 2 halves the trace, level 3 opens the port with no trace and no net.log entry.</li>
</ul>
<h3>Gradual learning</h3>
<ul>
<li>At the start, <code>help</code> shows only the basic commands; the rest unlock with your level and the story. After each new level, the game tells you what became available.</li>
<li><code>help all</code> still shows everything.</li>
</ul>
<h3>Balance</h3>
<ul>
<li>The game is about 10–15% longer and tenser: more experience per level, lower job pay, faster trace on Novice and Normal.</li>
<li>Skills are now capped by player level (up to 8 at level 29), so progression is smoother.</li>
<li>Paranoia: the game saves only at the start of each act.</li>
</ul>
<h3>Small things</h3>
<ul>
<li>The game now starts with a splash screen showing the Shadow Network logo.</li>
</ul>
<p>Get the update in game with the <code>update</code> command. Thanks for playing!</p>
```

View File

@@ -45,12 +45,45 @@
English
• Daily challenge (daily): 10 contracts, the same for everyone, with a fixed loadout and a daily online leaderboard. Every saved action is worth +50 points.
• Branching story: your choices in Acts IV and V now reshape the following acts, and Act VI has four endings depending on your Act IV choice. New mission types: multi-part uploads, recon targets hidden until you find a clue, and clean escapes that only count if you leave no logs.
• Living network map: investigators visibly follow your trail home, and rivals race toward the target.
• Port utilities level 1–3: run make again at home to upgrade. Level 3 opens ports with no trace and no net.log entry.
• Gradual help: commands unlock as you level up and progress the story (help all still lists everything).
• Balance: about 10–15% harder overall, skills are capped by player level, Paranoia saves only at the start of each act.
• New startup splash with the game logo.
What's new in recent versions
Get the update in game with update. Thanks for playing!
Daily challenge
• New daily command: 10 contracts of the day, the same for every player.
• Everyone starts with the same loadout (level, hardware, skills) on Normal difficulty.
• Every action you save is worth +50 points, and the daily online leaderboard shows who did best. Unlimited attempts.
A story that answers your choices
• Decisions at the end of Acts IV and V now change the following acts: who tells the story, which doors are open and which are shut.
• The Act VI finale has four variants depending on your choice in Act IV.
• Before the decisive choices, an ally sends you advice.
• New mission types: a patch you have to upload in parts; recon, where the target stays unknown until you find a clue; a clean escape that only counts if you disconnect without a single log entry.
A living network map
• The map shows investigators following your trail from the server with your logs to your home.
• In races, your rival also moves toward the target, so you can see who's ahead.
• Nodes the tracker has already passed glow red.
Port utilities: levels 1–3
• Running make on a utility again at home upgrades it.
• Level 2 halves the trace, level 3 opens the port with no trace and no net.log entry.
Gradual learning
• At the start, help shows only the basic commands; the rest unlock with your level and the story. After each new level, the game tells you what became available.
• help all still shows everything.
Balance
• The game is about 10–15% longer and tenser: more experience per level, lower job pay, faster trace on Novice and Normal.
• Skills are now capped by player level (up to 8 at level 29), so progression is smoother.
• Paranoia: the game saves only at the start of each act.
Small things
• The game now starts with a splash screen showing the Shadow Network logo.
Get the update in game with the update command. Thanks for playing!

View File

@@ -3,7 +3,7 @@
**Title:** Оновлення v1.0.72: замки, чорний лід і замовлення з різними цілями
**Post type:** General Update
**Tags:** update, gameplay, new features
**Languages:** Українська, English
**Languages:** Українська, English (повний переклад)
**Cover image:** itch/screenshots/2_crack.png (або без обкладинки, itch візьме з проєкту)
## Content
@@ -58,12 +58,48 @@
<hr>
<h2>English</h2>
<h2>What's new in recent versions</h2>
<p>The main point of this update: hacks and jobs are no longer all the same. Every server can now call for its own approach.</p>
<h3>Different locks on servers</h3>
<ul>
<li><b>Server locks</b>: some servers are opened not by a code but by a firewall bypass, a password word, a cipher or a phone call for a two-factor code. The lock type shows as an icon in <code>scan</code>.</li>
<li><b>Black ice</b> 🧊 on strong servers: mistakes cost double trace and the GPU and AI don't help. Melt it with crypto (<code>exploit ice</code>) or the new Icebreaker program.</li>
<li><b>Server traits</b>, random every game: a watchful admin, an outdated system, broken logging, bait.</li>
<li><b>Jobs with different goals</b>: erase a file (new <code>rm</code> command), swap it for a fake (<code>upload</code>), steal and leave no logs, or find the server yourself. Harder goals pay up to +30%.</li>
<li>Also: a "What's new" window after updates, a fairer daily challenge, "Reduce motion" now stops screen shake, job pay shows your rank bonus.</li>
<li>Some servers are opened not by a code but by another attack: a firewall bypass (<code>firewall</code>), a password word from a memory dump (<code>dict</code>), a cipher (<code>decrypt</code>) or a phone call to an employee who receives the two-factor code (<code>call</code>).</li>
<li>The lock type shows as an icon in <code>scan</code>: 🧱 📖 🔐 📞.</li>
<li>On simple servers the lock gives you access right away; on strong ones it opens the outer layer, and then it's <code>crack</code> as usual.</li>
<li>Locks are the same for every player and in the daily challenge.</li>
</ul>
<p>Get the update in game with <code>update</code>. Thanks for playing!</p>
<h3>Black ice</h3>
<ul>
<li>Some strong servers are covered in black ice 🧊: mistakes during a crack give double trace, and the GPU and AI assistant don't help.</li>
<li>You can melt the ice with crypto from wallets (<code>exploit ice</code> on the black market) or with the new Icebreaker program (<code>write icebreaker</code>, <code>use icebreaker</code>).</li>
<li>Crypto, the black market and your own programs are now genuinely needed.</li>
</ul>
<h3>Servers with character</h3>
<p>Every new game gives servers random traits, so playthroughs differ:</p>
<ul>
<li>👤 A watchful admin: while they're online, mistakes cost more. You can disconnect and come back later.</li>
<li>🕸 An outdated system: the code is one digit shorter.</li>
<li>📼 Broken logging: you leave no traces here.</li>
<li>🍯 Bait: a file with the admin's passwords that you'd better not touch.</li>
</ul>
<h3>Jobs with different goals</h3>
<ul>
<li>Not just "steal": a client may now ask you to erase a file (new <code>rm</code> command), swap it for a fake (<code>upload</code>), steal it and leave without a single log, or find the server yourself because its name isn't given.</li>
<li>Harder goals pay up to +30%.</li>
</ul>
<h3>Smaller changes</h3>
<ul>
<li>After an update, the game shows a "What's new" window.</li>
<li>The daily challenge is fair for everyone: programs, unspent skill points and rivals' grudges from your last game no longer carry over.</li>
<li>"Reduce motion" now also turns off the screen shake on mistakes and the glitch on arrest.</li>
<li>The job list shows pay including your rank bonus.</li>
</ul>
<p>Get the update in game with the <code>update</code> command. Thanks for playing!</p>
```

View File

@@ -42,10 +42,42 @@
English
• Server locks: some servers are opened not by a code but by a firewall bypass, a password word, a cipher or a phone call for a two-factor code. The lock type shows as an icon in scan.
• Black ice 🧊 on strong servers: mistakes cost double trace and the GPU and AI don't help. Melt it with crypto (exploit ice) or the new Icebreaker program.
• Server traits, random every game: a watchful admin, an outdated system, broken logging, bait.
• Jobs with different goals: erase a file (new rm command), swap it for a fake (upload), steal and leave no logs, or find the server yourself. Harder goals pay up to +30%.
• Also: a "What's new" window after updates, a fairer daily challenge, "Reduce motion" now stops screen shake, job pay shows your rank bonus.
What's new in recent versions
Get the update in game with update. Thanks for playing!
The main point of this update: hacks and jobs are no longer all the same. Every server can now call for its own approach.
Different locks on servers
• Some servers are opened not by a code but by another attack: a firewall bypass (firewall), a password word from a memory dump (dict), a cipher (decrypt) or a phone call to an employee who receives the two-factor code (call).
• The lock type shows as an icon in scan: 🧱 📖 🔐 📞.
• On simple servers the lock gives you access right away; on strong ones it opens the outer layer, and then it's crack as usual.
• Locks are the same for every player and in the daily challenge.
Black ice
• Some strong servers are covered in black ice 🧊: mistakes during a crack give double trace, and the GPU and AI assistant don't help.
• You can melt the ice with crypto from wallets (exploit ice on the black market) or with the new Icebreaker program (write icebreaker, use icebreaker).
• Crypto, the black market and your own programs are now genuinely needed.
Servers with character
Every new game gives servers random traits, so playthroughs differ:
• 👤 A watchful admin: while they're online, mistakes cost more. You can disconnect and come back later.
• 🕸 An outdated system: the code is one digit shorter.
• 📼 Broken logging: you leave no traces here.
• 🍯 Bait: a file with the admin's passwords that you'd better not touch.
Jobs with different goals
• Not just "steal": a client may now ask you to erase a file (new rm command), swap it for a fake (upload), steal it and leave without a single log, or find the server yourself because its name isn't given.
• Harder goals pay up to +30%.
Smaller changes
• After an update, the game shows a "What's new" window.
• The daily challenge is fair for everyone: programs, unspent skill points and rivals' grudges from your last game no longer carry over.
• "Reduce motion" now also turns off the screen shake on mistakes and the glitch on arrest.
• The job list shows pay including your rank bonus.
Get the update in game with the update command. Thanks for playing!

View File

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

View File

@@ -958,6 +958,8 @@ const EN := {
"🚨 Фаєрвол помітив маніпуляції з правилами!": "🚨 The firewall noticed someone tampering with its rules!",
"Такого слова в дампі немає. Обери одне з кандидатів (або abort).": "There's no such word in the dump. Pick one of the candidates (or abort).",
"📖 Пароль адміна — \"%s\"! З нього видно %d цифри коду: наступний crack почнеться з ними.": "📖 The admin's password is \"%s\"! It gives away %d digits of the code: your next crack starts with them.",
"🔓 Замок відкрито! Але на Параної за ним ще й код: crack.": "🔓 Lock opened! But on Paranoid there is still a code behind it: crack.",
"📖 Пароль адміна — \"%s\"!": "📖 The admin's password is \"%s\"!",
"✖ %s — на своїх місцях літер: %d/%d": "✖ %s — letters in place: %d/%d",
"🚨 Обліковий запис заблоковано — адмін отримав сповіщення.": "🚨 Account locked — the admin got a notification.",
"Фаєрвол": "Firewall",
@@ -1367,7 +1369,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 арешти. Параноя: трасування +50%, слідчі швидші, на 1 арешт менше, збереження лише на початку кожного акту.": "difficulty novice|normal|paranoid — difficulty (only before your first crack).\nNovice: trace −25%, investigators slower, +2 arrests. Paranoid: trace +50%, investigators faster, 1 arrest fewer, saves only at the start of each act.",
"difficulty novice|normal|paranoid — складність (лише до першого зламу).\nНовачок: трасування −25%, слідчі повільніші, +2 арешти. Параноя: трасування +50%, слідчі швидші, на 1 арешт менше, за замками серверів ще й код, збереження лише на початку кожного акту.": "difficulty novice|normal|paranoid — difficulty (only before your first crack).\nNovice: trace −25%, investigators slower, +2 arrests. Paranoid: trace +50%, 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.",
@@ -1380,7 +1382,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 арешти), normal, paranoid (Параноя: трасування +50%%, слідчі швидші, на 1 арешт менше, ЗБЕРЕЖЕННЯ ЛИШЕ НА ПОЧАТКУ АКТУ).": "🎚 Difficulty: %s. Options: novice (Novice: trace −25%%, +2 arrests), normal, paranoid (Paranoid: trace +50%%, faster investigators, 1 arrest fewer, SAVES ONLY AT THE START OF AN ACT).",
"🎚 Складність: %s. Варіанти: novice (Новачок: трасування −25%%, +2 арешти), normal, paranoid (Параноя: трасування +50%%, слідчі швидші, на 1 арешт менше, за замками ще й код, ЗБЕРЕЖЕННЯ ЛИШЕ НА ПОЧАТКУ АКТУ).": "🎚 Difficulty: %s. Options: novice (Novice: trace −25%%, +2 arrests), normal, paranoid (Paranoid: trace +50%%, 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

@@ -1211,7 +1211,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 арешти), normal, paranoid (Параноя: трасування +50%%, слідчі швидші, на 1 арешт менше, ЗБЕРЕЖЕННЯ ЛИШЕ НА ПОЧАТКУ АКТУ).") % L.t(T.DIFF_NAMES[diff]), "info")
say(L.t("🎚 Складність: %s. Варіанти: novice (Новачок: трасування −25%%, +2 арешти), normal, paranoid (Параноя: трасування +50%%, слідчі швидші, на 1 арешт менше, за замками ще й код, ЗБЕРЕЖЕННЯ ЛИШЕ НА ПОЧАТКУ АКТУ).") % L.t(T.DIFF_NAMES[diff]), "info")
return
if not can_change_diff():
say(L.t("Складність обирають на початку гри (до першого зламу). Почни нову гру: newgame."), "err")

View File

@@ -102,7 +102,7 @@ static func input(g: Main, line: String) -> void:
var a := line.strip_edges().to_lower()
if a == "abort":
g.mg = null
g.say(L.t("Гаманець заблокувався і стер себе."), "warn")
g.say(L.t("Атаку перервано.") if m.get("lock", false) else L.t("Гаманець заблокувався і стер себе."), "warn")
return
if a.is_valid_int():
if int(a) < 1 or int(a) > MAX_SHIFT:

View File

@@ -113,12 +113,15 @@ static func input(g: Main, line: String) -> void:
return
if a == m["pass"]:
g.mg = null
g.cur["dict_bonus"] = g.cur.get("dict_bonus", 0) + DICT_BONUS # складається з call
g.say(L.t("📖 Пароль адміна — \"%s\"! З нього видно %d цифри коду: наступний crack почнеться з ними.") % [a, DICT_BONUS], "big")
g.fx("ok")
g.stats["minigames"] = g.stats.get("minigames", 0) + 1
g.unlock("wordlist")
g.Variety.on_solved(g, "word")
if g.Variety.gate(g) == "word": # слово й було замком — цифр коду воно не дає
g.say(L.t("📖 Пароль адміна — \"%s\"!") % a, "big")
g.Variety.on_solved(g, "word")
return
g.cur["dict_bonus"] = g.cur.get("dict_bonus", 0) + DICT_BONUS # складається з call
g.say(L.t("📖 Пароль адміна — \"%s\"! З нього видно %d цифри коду: наступний crack почнеться з ними.") % [a, DICT_BONUS], "big")
return
var same := 0
for i in a.length():

View File

@@ -117,12 +117,14 @@ static func input(g: Main, line: String) -> void:
m["round"] += 1
if m["round"] >= d["rounds"].size():
g.mg = null
g.cur["dict_bonus"] = g.cur.get("dict_bonus", 0) + BONUS
g.say("%s %s: \"%s\"" % [d["ava"], d["who"], d["ok"]], "mail")
g.say(L.t("📞 Ти дізнався частину пароля: наступний crack почнеться з %d відомими цифрами.") % BONUS, "big")
g.fx("ok")
g.unlock("phreak")
g.Variety.on_solved(g, "2fa")
if g.Variety.gate(g) == "2fa": # код із телефону відкриває замок, а не цифри пароля
g.Variety.on_solved(g, "2fa")
return
g.cur["dict_bonus"] = g.cur.get("dict_bonus", 0) + BONUS
g.say(L.t("📞 Ти дізнався частину пароля: наступний crack почнеться з %d відомими цифрами.") % BONUS, "big")
return
_ask(g)

View File

@@ -130,6 +130,7 @@ static func _lock(s) -> void:
s["ice_off"] = false # чорний лід наростає знову
s["ports_open"] = []
s["layer_done"] = 0
s.erase("lock_off") # замок Параної теж стає на місце
s["layer_state"] = null
# Відлуння змінює паролі на серверах, куди в Акті IV треба залити латки

View File

@@ -249,7 +249,7 @@ func gate(kind: String) -> void:
elif kind == "cipher":
act("decrypt")
solve_cipher()
if g.cur != null and not g.cur["open"] and g.cur["layer_done"] == 0: # не вдалося — прибрати сліди й піти
if g.cur != null and not g.cur["open"] and g.cur["layer_done"] == 0 and not g.cur.get("lock_off", false): # не вдалося — прибрати сліди й піти
if g.trace + real(g.T.WIPE_ALL_TRACE) < 98:
act("wipe")
act("disconnect")

View File

@@ -791,8 +791,9 @@ func _variety() -> void:
g.run("crack")
ok(g.crack == null and "dict" in last(g), "замок-слово: crack не пускає, підказує dict")
g.run("dict")
g.trace = 0.0
g.run(g.mg["pass"])
ok(g.cur["open"], "замок-слово: пароль вгадано — сервер відкрито без коду")
ok(g.cur["open"] and g.trace == 0.0, "замок-слово: пароль вгадано — сервер відкрито без коду (на Звичайному без трасування)")
g.run("disconnect")
vi = pick.call(func(s): return V.lock_of(g, s) == "fw" and g.layers_of(s["lvl"]) > 1 and not V.has_ice(g, s))
g.heat = [] # прибрати хвости розслідувань з попередніх перевірок
@@ -819,10 +820,23 @@ func _variety() -> void:
g.heat = [] # прибрати хвости розслідувань з попередніх перевірок
g.run("connect %d" % (vi + 1))
g.cur["ports_open"] = g.cur["ports"].duplicate()
g.diff = 2 # Параноя: за замком ще й код
g.run("call")
for i in 3:
g.run(str(g.mg["order"].find(0) + 1))
ok(g.cur["open"], "двофакторка: розмова вдалась — доступ є")
ok(not g.cur["open"] and V.gate(g) == "", "Параноя: замок відкрито, але сервер ще закритий")
g.run("crack")
ok(g.crack != null and g.crack["layer"] == 1, "Параноя: за замком — звичайний crack")
g.run("abort")
g.cur.erase("lock_off")
g.diff = 1
g.run("disconnect")
g.run("connect %d" % (vi + 1))
g.cur["ports_open"] = g.cur["ports"].duplicate()
g.run("call")
for i in 3:
g.run(str(g.mg["order"].find(0) + 1))
ok(g.cur["open"] and not g.cur.has("dict_bonus"), "двофакторка: розмова вдалась — доступ є, зайвих цифр пароля нема")
g.run("disconnect")
vi = pick.call(func(s): return V.lock_of(g, s) == "cipher" and not V.has_ice(g, s))
g.heat = [] # прибрати хвости розслідувань з попередніх перевірок
@@ -868,6 +882,8 @@ func _variety() -> void:
var t_ice: float = g.trace
g.run("exploit ice")
ok(not g.crack["ice"] and g.cur["ice_off"] and g.bm["coins"] == 3, "лід: exploit ice за крипту розтоплює")
ok(g.crack["free"] > 0, "лід: розтоплено посеред зламу — відеокарта знову допомагає")
g.crack["free"] = 0
g.trace = 0.0
g.run(bad)
ok(t_ice > g.trace * 1.9, "лід: помилка на льоду — удвічі більше трасування (%.1f проти %.1f)" % [t_ice, g.trace])

View File

@@ -88,3 +88,4 @@ const ICE_MULT := 2.0 # трасування за помилку
const ADMIN_MULT := 1.5 # трасування за помилку, коли адмін онлайн
const AFF_CHANCE := 0.35 # шанс властивості для сервера із захистом ≥ 2 (нова гра)
const BAIT_TRACE := 25 # % трасування за приманку
const LOCK_EXTRA := [false, false, true] # Параноя: замок — окрема перешкода, за ним ще всі шари коду (v1.0.75: інакше Параноя −13% дій; шум-трасування за обхід майже не діяв)

View File

@@ -27,7 +27,7 @@ static func lock_of(g: Main, s) -> String:
# замок ще стоїть: сервер закритий і зовнішній шар не пробито
static func gate(g: Main) -> String:
if g.cur == null or g.cur["open"] or g.cur["layer_done"] > 0:
if g.cur == null or g.cur["open"] or g.cur["layer_done"] > 0 or g.cur.get("lock_off", false):
return ""
return lock_of(g, g.cur)
@@ -42,7 +42,10 @@ static func ports_ready(g: Main) -> bool:
static func on_solved(g: Main, kind: String) -> void:
if gate(g) != kind:
return
if g.layers_of(g.cur["lvl"]) > 1:
if T.LOCK_EXTRA[g.diff]:
g.cur["lock_off"] = true
g.say(L.t("🔓 Замок відкрито! Але на Параної за ним ще й код: crack."), "big")
elif g.layers_of(g.cur["lvl"]) > 1:
g.cur["layer_done"] = 1
g.cur["layer_state"] = null
g.say(L.t("🔓 Зовнішній замок відкрито! Далі — внутрішні шари: crack."), "big")
@@ -55,8 +58,11 @@ static func has_ice(g: Main, s) -> bool:
static func melt(g: Main) -> void:
g.cur["ice_off"] = true
if g.crack != null:
if g.crack != null and g.crack["ice"]:
g.crack["ice"] = false
var jam := maxi(0, g.cur["lvl"] - T.JAM_FROM) # лід глушив відеокарту й ШІ — вони вертаються, як на звичайному зламі
g.crack["free"] = maxi(0, int(g.eff(g.hw["gpu"])) - jam)
g.crack["free_hints"] = maxi(0, int(g.eff(g.hw["ai"])) - jam)
g.say(L.t("🧊 Чорний лід розтоплено: помилки знову звичайні."), "info")
# ── властивості серверів ──
@@ -95,7 +101,7 @@ static func on_connect(g: Main, s) -> void:
for k in ["admin_on", "cipher_used"]:
s.erase(k)
var lk := lock_of(g, s)
if lk != "" and not s["open"] and s["layer_done"] == 0:
if lk != "" and not s["open"] and s["layer_done"] == 0 and not s.get("lock_off", false):
g.say(L.t(LOCK_TEXT[lk]), "warn")
if has_ice(g, s) and not s["open"]:
g.say(L.t("🧊 ЧОРНИЙ ЛІД: помилки зламу — подвійне трасування, відеокарта й ШІ мовчать. Розтопи: exploit ice (крипта) або use icebreaker."), "err")

View File

@@ -8,6 +8,9 @@ const Updater = preload("res://updater.gd")
const MAX_ITEMS := 8 # коротко: вікно має влазити й з великим шрифтом
const CHANGES := [
["1.0.75", "Параноя знову повноцінно важка: замок сервера там лише перша перешкода, за ним ще треба зламати код.", "Paranoid is properly hard again: a server lock is only the first obstacle there, the code behind it still has to be cracked."],
["1.0.75", "Чорний лід, розтоплений посеред зламу, повертає допомогу відеокарти й ШІ-асистента.", "Black ice melted in the middle of a crack brings back the help of your GPU and AI assistant."],
["1.0.75", "Відкритий дзвінком чи словом замок більше не обіцяє «відомих цифр» пароля, яких не буде.", "A lock opened by a call or a word no longer promises password digits that never come."],
["1.0.74", "Масштаб інтерфейсу більше не виштовхує кнопки за край: він зменшується до того, що влазить у вікно.", "Interface scale no longer pushes buttons off the screen: it shrinks to what fits the window."],
["1.0.73", "Масштаб інтерфейсу в налаштуваннях (100–200%). За замовчуванням береться з масштабу Windows, тож на ноутбуках з високою роздільністю все більше.", "Interface scale in settings (100–200%). By default it follows the Windows scale, so everything is bigger on high-resolution laptops."],
["1.0.72", "Нові замки серверів: на частині з них замість коду — фаєрвол, пароль-слово, шифр або дзвінок працівнику.", "New server locks: some servers need a firewall bypass, a password word, a cipher or a phone call instead of a code."],