Compare commits
24 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
208d0aac5c | ||
|
|
27db08393f | ||
|
|
4b306a368a | ||
|
|
7b1d552bb1 | ||
|
|
ab605e7678 | ||
|
|
4bb27b63b7 | ||
|
|
81c79159a5 | ||
|
|
bd267a09f7 | ||
|
|
37f0dc0889 | ||
|
|
48b745a8f7 | ||
|
|
b7c19cc989 | ||
|
|
1d8585823e | ||
|
|
d53dbbfd8d | ||
|
|
bfac0e68e6 | ||
|
|
2041c668dd | ||
|
|
22727581b6 | ||
|
|
87c64bbb59 | ||
|
|
6ec25200b3 | ||
|
|
33a6bbcc8f | ||
|
|
e49c13053f | ||
|
|
0cd3039438 | ||
|
|
a05daaa703 | ||
|
|
22c937f600 | ||
|
|
7b17b5451a |
BIN
game_godot/TinMerezhi.exe
(Stored with Git LFS)
|
Before Width: | Height: | Size: 177 KiB After Width: | Height: | Size: 191 KiB |
@@ -1,9 +1,9 @@
|
||||
# Допис 1 журналу розробки (v1.0.56 – v1.0.63)
|
||||
|
||||
**Title:** Оновлення v1.0.56–v1.0.63: щоденний виклик, живий сюжет і складніша гра
|
||||
**Title:** Оновлення v1.0.56–v1.0.63: щоденний виклик, живий сюжет і складніша гра / Update v1.0.56–v1.0.63: daily challenge, a living story and a harder game
|
||||
**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>
|
||||
```
|
||||
|
||||
@@ -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!
|
||||
|
||||
105
itch/devlog/02_v1.0.64-v1.0.72.md
Normal file
@@ -0,0 +1,105 @@
|
||||
# Допис 2 журналу розробки (v1.0.64 – v1.0.72)
|
||||
|
||||
**Title:** Оновлення v1.0.72: замки, чорний лід і замовлення з різними цілями / Update v1.0.72: locks, black ice and jobs with different goals
|
||||
**Post type:** General Update
|
||||
**Tags:** update, gameplay, new features
|
||||
**Languages:** Українська, English (повний переклад)
|
||||
**Cover image:** itch/screenshots/2_crack.png (або без обкладинки, itch візьме з проєкту)
|
||||
|
||||
## Content
|
||||
|
||||
Найпростіше вставити через кнопку `<>` (джерело HTML) у редакторі itch, тоді списки й заголовки збережуться. Перед збереженням вийди з режиму `<>`, інакше itch пише "body: expected text".
|
||||
|
||||
```html
|
||||
<h2>Що нового в останніх версіях</h2>
|
||||
|
||||
<p>Головне в цьому оновленні: злам і замовлення більше не однакові. Кожен сервер тепер може вимагати свого підходу.</p>
|
||||
|
||||
<h3>Різні замки на серверах</h3>
|
||||
<ul>
|
||||
<li>Частину серверів відкриває не код, а інша атака: обхід фаєрвола (<code>firewall</code>), пароль-слово з дампу (<code>dict</code>), шифр (<code>decrypt</code>) або дзвінок працівнику, якому приходить код двофакторки (<code>call</code>).</li>
|
||||
<li>Тип замка видно значком у <code>scan</code>: 🧱 📖 🔐 📞.</li>
|
||||
<li>На простих серверах замок одразу дає доступ, на сильних відкриває зовнішній шар, а далі як завжди <code>crack</code>.</li>
|
||||
<li>Замки однакові в усіх гравців і в щоденному виклику.</li>
|
||||
</ul>
|
||||
|
||||
<h3>Чорний лід</h3>
|
||||
<ul>
|
||||
<li>Деякі сильні сервери вкриті чорним льодом 🧊: помилки під час зламу дають удвічі більше трасування, а відеокарта й ШІ-асистент не допомагають.</li>
|
||||
<li>Розтопити лід можна криптою з гаманців (<code>exploit ice</code> на чорному ринку) або новою програмою Криголам (<code>write icebreaker</code>, <code>use icebreaker</code>).</li>
|
||||
<li>Тепер крипта, чорний ринок і власні програми справді потрібні.</li>
|
||||
</ul>
|
||||
|
||||
<h3>Сервери з характером</h3>
|
||||
<p>Кожна нова гра роздає серверам випадкові властивості, тож проходження відрізняються:</p>
|
||||
<ul>
|
||||
<li>👤 Пильний адмін: коли він онлайн, помилки дорожчі. Можна відключитися й зайти пізніше.</li>
|
||||
<li>🕸 Застаріла система: код коротший на одну цифру.</li>
|
||||
<li>📼 Зламане логування: тут не лишається слідів.</li>
|
||||
<li>🍯 Приманка: файл із паролями адміна, який краще не чіпати.</li>
|
||||
</ul>
|
||||
|
||||
<h3>Замовлення з різними цілями</h3>
|
||||
<ul>
|
||||
<li>Не лише «вкрасти»: тепер замовник може попросити стерти файл (нова команда <code>rm</code>), підмінити його фальшивкою (<code>upload</code>), вкрасти й піти без жодного логу або знайти сервер самому, бо його назву не кажуть.</li>
|
||||
<li>Складніші цілі платять до +30%.</li>
|
||||
</ul>
|
||||
|
||||
<h3>Дрібніші зміни</h3>
|
||||
<ul>
|
||||
<li>Після оновлення гра показує вікно «Що нового».</li>
|
||||
<li>Щоденний виклик чесний для всіх: програми, вільні очки навичок і образи суперників з минулої гри туди не переходять.</li>
|
||||
<li>«Менше анімацій» тепер вимикає й трусіння екрана від помилок та глітч при арешті.</li>
|
||||
<li>Список замовлень показує оплату з урахуванням звання.</li>
|
||||
</ul>
|
||||
|
||||
<p>Оновлення підтягується в грі командою <code>update</code>. Дякую, що граєте!</p>
|
||||
|
||||
<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>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>
|
||||
|
||||
<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>
|
||||
```
|
||||
83
itch/devlog/02_v1.0.64-v1.0.72.txt
Normal file
@@ -0,0 +1,83 @@
|
||||
Що нового в останніх версіях
|
||||
|
||||
Головне в цьому оновленні: злам і замовлення більше не однакові. Кожен сервер тепер може вимагати свого підходу.
|
||||
|
||||
Різні замки на серверах
|
||||
|
||||
• Частину серверів відкриває не код, а інша атака: обхід фаєрвола (firewall), пароль-слово з дампу (dict), шифр (decrypt) або дзвінок працівнику, якому приходить код двофакторки (call).
|
||||
• Тип замка видно значком у scan: 🧱 📖 🔐 📞.
|
||||
• На простих серверах замок одразу дає доступ, на сильних відкриває зовнішній шар, а далі як завжди crack.
|
||||
• Замки однакові в усіх гравців і в щоденному виклику.
|
||||
|
||||
Чорний лід
|
||||
|
||||
• Деякі сильні сервери вкриті чорним льодом 🧊: помилки під час зламу дають удвічі більше трасування, а відеокарта й ШІ-асистент не допомагають.
|
||||
• Розтопити лід можна криптою з гаманців (exploit ice на чорному ринку) або новою програмою Криголам (write icebreaker, use icebreaker).
|
||||
• Тепер крипта, чорний ринок і власні програми справді потрібні.
|
||||
|
||||
Сервери з характером
|
||||
|
||||
Кожна нова гра роздає серверам випадкові властивості, тож проходження відрізняються:
|
||||
|
||||
• 👤 Пильний адмін: коли він онлайн, помилки дорожчі. Можна відключитися й зайти пізніше.
|
||||
• 🕸 Застаріла система: код коротший на одну цифру.
|
||||
• 📼 Зламане логування: тут не лишається слідів.
|
||||
• 🍯 Приманка: файл із паролями адміна, який краще не чіпати.
|
||||
|
||||
Замовлення з різними цілями
|
||||
|
||||
• Не лише «вкрасти»: тепер замовник може попросити стерти файл (нова команда rm), підмінити його фальшивкою (upload), вкрасти й піти без жодного логу або знайти сервер самому, бо його назву не кажуть.
|
||||
• Складніші цілі платять до +30%.
|
||||
|
||||
Дрібніші зміни
|
||||
|
||||
• Після оновлення гра показує вікно «Що нового».
|
||||
• Щоденний виклик чесний для всіх: програми, вільні очки навичок і образи суперників з минулої гри туди не переходять.
|
||||
• «Менше анімацій» тепер вимикає й трусіння екрана від помилок та глітч при арешті.
|
||||
• Список замовлень показує оплату з урахуванням звання.
|
||||
|
||||
Оновлення підтягується в грі командою update. Дякую, що граєте!
|
||||
|
||||
———
|
||||
|
||||
English
|
||||
|
||||
What's new in recent versions
|
||||
|
||||
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!
|
||||
91
itch/devlog/03_v1.0.73-v1.0.76.md
Normal file
@@ -0,0 +1,91 @@
|
||||
# Допис 3 журналу розробки (v1.0.73 – v1.0.76)
|
||||
|
||||
**Title:** Оновлення v1.0.76: трейлер, масштаб інтерфейсу і важка Параноя / Update v1.0.76: trailer, interface scale and a harder Paranoid
|
||||
**Post type:** General Update
|
||||
**Tags:** update, trailer, gameplay
|
||||
**Languages:** Українська, English (повний переклад)
|
||||
**Cover image:** кадр із трейлера або itch/wide_cover_2520x1080.png
|
||||
|
||||
## Content
|
||||
|
||||
Найпростіше вставити через кнопку `<>` (джерело HTML) у редакторі itch, тоді списки й заголовки збережуться. Перед збереженням вийди з режиму `<>`, інакше itch пише "body: expected text".
|
||||
|
||||
**Трейлер:** посилання вже вставлені (українське відео в українській частині, англійське в англійській). Щоб відео було вбудованим плеєром, а не лише посиланням, після вставки HTML постав курсор на окремий рядок під «Трейлер» і встав посилання через кнопку вбудовування (Embed) в редакторі itch.
|
||||
|
||||
```html
|
||||
<h2>Що нового в останніх версіях</h2>
|
||||
|
||||
<p>У гри з'явився трейлер і англійська назва: <strong>Shadow Net · Тінь Мережі</strong>. А в самій грі стало зручніше грати на ноутбуках, і Параноя знову по-справжньому важка.</p>
|
||||
|
||||
<h3>Трейлер</h3>
|
||||
<p>Півтори хвилини справжнього ігроладу: сканування мережі, злам кодів, мапа серверів і трасування, що наздоганяє. Дивитися: <a href="https://www.youtube.com/watch?v=4ovaVhqCdK8">https://www.youtube.com/watch?v=4ovaVhqCdK8</a></p>
|
||||
|
||||
<h3>Масштаб інтерфейсу</h3>
|
||||
<ul>
|
||||
<li>У налаштуваннях з'явився масштаб інтерфейсу від 100% до 200%.</li>
|
||||
<li>За замовчуванням він береться з масштабу Windows, тож на ноутбуках з високою роздільністю текст і кнопки більші й не дрібні.</li>
|
||||
<li>Масштаб більше не виштовхує кнопки за край екрана: він зменшується до того, що влазить у вікно, і перераховується, коли змінюєш розмір вікна.</li>
|
||||
</ul>
|
||||
|
||||
<h3>Параноя знову важка</h3>
|
||||
<ul>
|
||||
<li>Після появи замків на серверах найвища складність стала помітно коротшою: замок часто відкривав сервер одразу.</li>
|
||||
<li>Тепер на Параної замок лише перша перешкода. За ним ще треба зламати код з усіма шарами.</li>
|
||||
<li>Складності Новачок і Звичайний не змінилися.</li>
|
||||
</ul>
|
||||
|
||||
<h3>Виправлення</h3>
|
||||
<ul>
|
||||
<li>Чорний лід, розтоплений посеред зламу, тепер повертає допомогу відеокарти й ШІ-асистента.</li>
|
||||
<li>Замок, відкритий дзвінком чи словом з дампу, більше не обіцяє «відомих цифр» пароля, яких потім не буде.</li>
|
||||
<li>Перерваний злам шифр-замка більше не пише зайвого про гаманець.</li>
|
||||
</ul>
|
||||
|
||||
<h3>Дрібніші зміни</h3>
|
||||
<ul>
|
||||
<li>Після першого акту гра один раз запитає, чи не хочеш ти оцінити її на itch.io. Більше не набридатиме.</li>
|
||||
<li>Англійська версія гри тепер називається Shadow Net.</li>
|
||||
</ul>
|
||||
|
||||
<p>Оновлення підтягується в грі командою <code>update</code>. Якщо гра подобається, оцінка на itch.io дуже допомагає. Дякую, що граєте!</p>
|
||||
|
||||
<hr>
|
||||
|
||||
<h2>English</h2>
|
||||
|
||||
<h2>What's new in recent versions</h2>
|
||||
|
||||
<p>The game now has a trailer and an English name: <strong>Shadow Net · Тінь Мережі</strong>. In the game itself, playing on laptops is more comfortable, and Paranoid is properly hard again.</p>
|
||||
|
||||
<h3>Trailer</h3>
|
||||
<p>A minute and a half of real gameplay: scanning the network, cracking codes, the server map and a trace that keeps catching up. Watch it: <a href="https://www.youtube.com/watch?v=KeN4H3WhOXI">https://www.youtube.com/watch?v=KeN4H3WhOXI</a></p>
|
||||
|
||||
<h3>Interface scale</h3>
|
||||
<ul>
|
||||
<li>Settings now have an interface scale from 100% to 200%.</li>
|
||||
<li>By default it follows the Windows scale, so on high-resolution laptops text and buttons are bigger instead of tiny.</li>
|
||||
<li>The scale no longer pushes buttons off the screen: it shrinks to what fits the window and is recalculated when you resize the window.</li>
|
||||
</ul>
|
||||
|
||||
<h3>Paranoid is hard again</h3>
|
||||
<ul>
|
||||
<li>After server locks arrived, the highest difficulty became noticeably shorter: a lock often opened the server right away.</li>
|
||||
<li>Now on Paranoid a lock is only the first obstacle. Behind it you still have to crack the code with all its layers.</li>
|
||||
<li>Novice and Normal difficulties are unchanged.</li>
|
||||
</ul>
|
||||
|
||||
<h3>Fixes</h3>
|
||||
<ul>
|
||||
<li>Black ice melted in the middle of a crack now brings back the help of your GPU and AI assistant.</li>
|
||||
<li>A lock opened by a phone call or a word from a dump no longer promises password digits that never come.</li>
|
||||
<li>An aborted cipher-lock crack no longer says something irrelevant about a wallet.</li>
|
||||
</ul>
|
||||
|
||||
<h3>Smaller changes</h3>
|
||||
<ul>
|
||||
<li>After the first act the game asks once whether you would like to rate it on itch.io. It won't bother you again.</li>
|
||||
<li>The English version of the game is now called Shadow Net.</li>
|
||||
</ul>
|
||||
|
||||
<p>Get the update in game with the <code>update</code> command. If you enjoy the game, a rating on itch.io helps a lot. Thanks for playing!</p>
|
||||
```
|
||||
69
itch/devlog/03_v1.0.73-v1.0.76.txt
Normal file
@@ -0,0 +1,69 @@
|
||||
Що нового в останніх версіях
|
||||
|
||||
У гри з'явився трейлер і англійська назва: Shadow Net · Тінь Мережі. А в самій грі стало зручніше грати на ноутбуках, і Параноя знову по-справжньому важка.
|
||||
|
||||
Трейлер
|
||||
|
||||
Півтори хвилини справжнього ігроладу: сканування мережі, злам кодів, мапа серверів і трасування, що наздоганяє. Дивитися: https://www.youtube.com/watch?v=4ovaVhqCdK8
|
||||
|
||||
Масштаб інтерфейсу
|
||||
|
||||
• У налаштуваннях з'явився масштаб інтерфейсу від 100% до 200%.
|
||||
• За замовчуванням він береться з масштабу Windows, тож на ноутбуках з високою роздільністю текст і кнопки більші й не дрібні.
|
||||
• Масштаб більше не виштовхує кнопки за край екрана: він зменшується до того, що влазить у вікно, і перераховується, коли змінюєш розмір вікна.
|
||||
|
||||
Параноя знову важка
|
||||
|
||||
• Після появи замків на серверах найвища складність стала помітно коротшою: замок часто відкривав сервер одразу.
|
||||
• Тепер на Параної замок лише перша перешкода. За ним ще треба зламати код з усіма шарами.
|
||||
• Складності Новачок і Звичайний не змінилися.
|
||||
|
||||
Виправлення
|
||||
|
||||
• Чорний лід, розтоплений посеред зламу, тепер повертає допомогу відеокарти й ШІ-асистента.
|
||||
• Замок, відкритий дзвінком чи словом з дампу, більше не обіцяє «відомих цифр» пароля, яких потім не буде.
|
||||
• Перерваний злам шифр-замка більше не пише зайвого про гаманець.
|
||||
|
||||
Дрібніші зміни
|
||||
|
||||
• Після першого акту гра один раз запитає, чи не хочеш ти оцінити її на itch.io. Більше не набридатиме.
|
||||
• Англійська версія гри тепер називається Shadow Net.
|
||||
|
||||
Оновлення підтягується в грі командою update. Якщо гра подобається, оцінка на itch.io дуже допомагає. Дякую, що граєте!
|
||||
|
||||
──────────
|
||||
|
||||
English
|
||||
|
||||
What's new in recent versions
|
||||
|
||||
The game now has a trailer and an English name: Shadow Net · Тінь Мережі. In the game itself, playing on laptops is more comfortable, and Paranoid is properly hard again.
|
||||
|
||||
Trailer
|
||||
|
||||
A minute and a half of real gameplay: scanning the network, cracking codes, the server map and a trace that keeps catching up. Watch it: https://www.youtube.com/watch?v=KeN4H3WhOXI
|
||||
|
||||
Interface scale
|
||||
|
||||
• Settings now have an interface scale from 100% to 200%.
|
||||
• By default it follows the Windows scale, so on high-resolution laptops text and buttons are bigger instead of tiny.
|
||||
• The scale no longer pushes buttons off the screen: it shrinks to what fits the window and is recalculated when you resize the window.
|
||||
|
||||
Paranoid is hard again
|
||||
|
||||
• After server locks arrived, the highest difficulty became noticeably shorter: a lock often opened the server right away.
|
||||
• Now on Paranoid a lock is only the first obstacle. Behind it you still have to crack the code with all its layers.
|
||||
• Novice and Normal difficulties are unchanged.
|
||||
|
||||
Fixes
|
||||
|
||||
• Black ice melted in the middle of a crack now brings back the help of your GPU and AI assistant.
|
||||
• A lock opened by a phone call or a word from a dump no longer promises password digits that never come.
|
||||
• An aborted cipher-lock crack no longer says something irrelevant about a wallet.
|
||||
|
||||
Smaller changes
|
||||
|
||||
• After the first act the game asks once whether you would like to rate it on itch.io. It won't bother you again.
|
||||
• The English version of the game is now called Shadow Net.
|
||||
|
||||
Get the update in game with the update command. If you enjoy the game, a rating on itch.io helps a lot. Thanks for playing!
|
||||
|
Before Width: | Height: | Size: 135 KiB After Width: | Height: | Size: 214 KiB |
26
itch/trailer/build.sh
Executable file
@@ -0,0 +1,26 @@
|
||||
#!/bin/bash
|
||||
# Трейлер: 1) godot --fixed-fps 30 --write-movie raw_<lang>.avi -s tests/trailer.gd -- <lang> (див. tests/trailer.gd)
|
||||
# 2) python3 itch/trailer/cards.py 3) itch/trailer/build.sh en|uk — усе в одній робочій папці з raw_*.avi
|
||||
# build.sh en|uk — збирає trailer_<lang>.mp4
|
||||
set -e
|
||||
L=$1
|
||||
FONT=/usr/share/fonts/truetype/jetbrains-mono/JetBrainsMono-Bold.ttf
|
||||
if [ $L = en ]; then C=("Crack codes. Steal files. Wipe your logs." "Every mistake raises the trace. At 100%, you're caught." "Firewall puzzles" "Dictionary attacks" "Rival hackers race you for jobs" "6 acts · 48 chapters · multiple endings")
|
||||
else C=("Підбирай коди. Крадь файли. Стирай логи." "Кожна помилка підіймає трасування. На 100% тебе спіймано." "Головоломки фаєрвола" "Словникові атаки" "Суперники-хакери полюють на ті ж замовлення" "6 актів · 48 глав · кілька кінцівок"); fi
|
||||
T=(7.3 31.0 49.1 59.8 68.8 72.5 77.0)
|
||||
DT=""
|
||||
for i in 0 1 2 3 4 5; do
|
||||
printf '%s' "${C[$i]}" > cap_${L}_$i.txt
|
||||
DT="$DT,drawtext=fontfile=$FONT:textfile=cap_${L}_$i.txt:expansion=none:fontsize=50:fontcolor=0xE8FFF0:box=1:boxcolor=0x000803@0.85:boxborderw=24:x=(w-tw)/2:y=h-150:enable='between(t,${T[$i]},${T[$((i+1))]}-0.3)'"
|
||||
done
|
||||
ffmpeg -v error -y \
|
||||
-loop 1 -t 3.5 -i intro_$L.png -i raw_$L.avi -loop 1 -t 6 -i outro_$L.png \
|
||||
-f lavfi -t 3.5 -i anullsrc=r=44100:cl=stereo -f lavfi -t 6 -i anullsrc=r=44100:cl=stereo \
|
||||
-filter_complex "\
|
||||
[0:v]format=yuv420p,fps=30,setsar=1,fade=in:0:20,fade=out:st=3:d=0.5[v0];\
|
||||
[1:v]scale=-2:1080:flags=lanczos,pad=1920:1080:(ow-iw)/2:0:color=0x000803,setsar=1,fps=30,format=yuv420p${DT},trim=0:77,setpts=PTS-STARTPTS,fade=in:0:10,fade=out:st=76.4:d=0.6[v1];\
|
||||
[2:v]format=yuv420p,fps=30,setsar=1,fade=in:0:15,fade=out:st=5.2:d=0.8[v2];\
|
||||
[1:a]aresample=44100,aformat=channel_layouts=stereo,atrim=0:77,asetpts=PTS-STARTPTS,afade=t=in:d=0.5,afade=t=out:st=75.5:d=1.5[a1];\
|
||||
[3:a]aformat=channel_layouts=stereo[a0];[4:a]aformat=channel_layouts=stereo[a2];\
|
||||
[v0][a0][v1][a1][v2][a2]concat=n=3:v=1:a=1[v][a]" \
|
||||
-map "[v]" -map "[a]" -c:v libx264 -preset slow -crf 18 -pix_fmt yuv420p -c:a aac -b:a 192k -movflags +faststart trailer_$L.mp4
|
||||
18
itch/trailer/cards.py
Normal file
@@ -0,0 +1,18 @@
|
||||
from PIL import Image, ImageDraw, ImageFont, ImageFilter, ImageChops
|
||||
F='/usr/share/fonts/truetype/jetbrains-mono/JetBrainsMono-ExtraBold.ttf'
|
||||
R='/usr/share/fonts/truetype/jetbrains-mono/JetBrainsMono-Regular.ttf'
|
||||
G=(61,255,122)
|
||||
bg=Image.open(__import__('os').path.join(__import__('os').path.dirname(__file__),'..','background_1920.png')).convert('RGB').crop((0,110,1920,1190))
|
||||
def card(lines,out):
|
||||
img=bg.copy(); W,H=img.size
|
||||
for y,s,font,fill,glow in lines:
|
||||
d=ImageDraw.Draw(img); w=d.textlength(s,font=font); x=(W-w)/2
|
||||
if glow:
|
||||
g=Image.new('RGB',(W,H)); ImageDraw.Draw(g).text((x,y),s,font=font,fill=(20,130,60))
|
||||
img=ImageChops.add(img,g.filter(ImageFilter.GaussianBlur(18)))
|
||||
ImageDraw.Draw(img).text((x,y),s,font=font,fill=fill)
|
||||
img.save(out)
|
||||
big=ImageFont.truetype(F,190); mid=ImageFont.truetype(F,64); sm=ImageFont.truetype(R,44); xs=ImageFont.truetype(R,36)
|
||||
for L,sub,free,plat in [('en','a hacking game played in a terminal','Free on itch.io','Windows · English / Ukrainian'),('uk','хакерська гра в терміналі','Безкоштовно на itch.io','Windows · українська / English')]:
|
||||
card([(330,'SHADOW NET',big,G,True),(560,'ТІНЬ МЕРЕЖІ',mid,(160,230,180),True),(690,sub,sm,(200,245,210),False)],f'intro_{L}.png')
|
||||
card([(230,'SHADOW NET',big,G,True),(460,'ТІНЬ МЕРЕЖІ',mid,(160,230,180),True),(620,free,mid,(235,255,240),False),(730,'tuberon.itch.io/tinmerezhi',sm,G,False),(830,plat,xs,(160,200,170),False)],f'outro_{L}.png')
|
||||
BIN
itch/trailer/shadow_net.gif
Normal file
|
After Width: | Height: | Size: 2.6 MiB |
|
Before Width: | Height: | Size: 325 KiB After Width: | Height: | Size: 562 KiB |
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 510 KiB |
@@ -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 слідчим, поки ти онлайн.",
|
||||
|
||||
@@ -8,7 +8,7 @@ dedicated_server=false
|
||||
custom_features=""
|
||||
export_filter="all_resources"
|
||||
include_filter=""
|
||||
exclude_filter="tests/*"
|
||||
exclude_filter="tests/*,tools/*"
|
||||
export_path="../game_godot/TinMerezhi.exe"
|
||||
encryption_include_filters=""
|
||||
encryption_exclude_filters=""
|
||||
|
||||
@@ -50,6 +50,10 @@ static func tick(g: Main, delta: float) -> void:
|
||||
var m: ShaderMaterial = g.crt.material
|
||||
m.set_shader_parameter("threat", g.threat_v)
|
||||
m.set_shader_parameter("noise", clampf((g.threat_v - 0.35) / 0.65, 0.0, 1.0) * k)
|
||||
# ефект на нулі й спокійно — шейдер повернув би картинку як є, тож не копіюємо екран щокадру
|
||||
g.crt.visible = g.cfg["crt"] > 0 or g.flash.a > 0.0 or g.threat_v > 0.002 \
|
||||
or (g.cur != null and g.trace > 60) \
|
||||
or THEMES[clampi(int(g.cfg.get("theme", 0)), 0, THEMES.size() - 1)][1] >= 0.0
|
||||
g.side_style.border_color = Color("#11aa55").lerp(Color("#ff3333"), g.threat_v)
|
||||
g.side_style.shadow_color = Color(Color(0.2, 1, 0.4).lerp(Color(1, 0.2, 0.2), g.threat_v), 0.12 + 0.2 * g.threat_v)
|
||||
# рамка тремтить, коли от-от відстежать (не заважаючи трусінню від помилок)
|
||||
|
||||
@@ -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",
|
||||
@@ -1014,6 +1016,8 @@ const EN := {
|
||||
"📺 Ефект CRT": "📺 CRT effect",
|
||||
"⚡ Глітч і трусіння": "⚡ Glitch and shake",
|
||||
"🔤 Розмір шрифту": "🔤 Font size",
|
||||
"🔍 Масштаб інтерфейсу": "🔍 Interface scale",
|
||||
"Авто": "Auto",
|
||||
"🖥 Повний екран (F11)": "🖥 Fullscreen (F11)",
|
||||
"Звичайний": "Normal",
|
||||
"Параноя": "Paranoid",
|
||||
@@ -1365,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.",
|
||||
@@ -1378,12 +1382,15 @@ 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.",
|
||||
"Налаштувати": "Set up",
|
||||
"Не зараз": "Not now",
|
||||
"💚 Подобається гра?": "💚 Enjoying the game?",
|
||||
"Акт пройдено! Якщо гра тобі до вподоби, оціни її на itch.io або залиш коментар. Для гри від одного розробника кожна оцінка дуже допомагає: так її знайдуть інші гравці.": "Act complete! If you like the game, please rate it on itch.io or leave a comment. For a solo developer every rating helps a lot: it's how other players find the game.",
|
||||
"Оцінити на itch.io": "Rate on itch.io",
|
||||
"Що нового у v%s": "What's new in v%s",
|
||||
"Грати": "Play",
|
||||
# ── різноманіття (variety.gd, v1.0.72) ──
|
||||
|
||||
@@ -272,6 +272,7 @@ func _ready() -> void:
|
||||
Settings.load_into(self)
|
||||
UiBuild.build(self)
|
||||
Settings.apply(self)
|
||||
get_window().size_changed.connect(func(): Settings.apply_scale(self)) # масштаб залежить від розміру вікна
|
||||
_load_ach()
|
||||
var loaded := Save.load_into(self)
|
||||
apply_branches()
|
||||
@@ -1210,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")
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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():
|
||||
|
||||
@@ -21,7 +21,7 @@ run/main_scene="res://main.tscn"
|
||||
config/features=PackedStringArray("4.7", "GL Compatibility")
|
||||
config/icon="res://icon.png"
|
||||
config/windows_native_icon="res://icon.ico"
|
||||
boot_splash/bg_color=Color(0.0196, 0.0392, 0.0275, 1)
|
||||
boot_splash/bg_color=Color(0.0118, 0.0314, 0.102, 1)
|
||||
boot_splash/show_image=true
|
||||
boot_splash/image="res://boot_splash.png"
|
||||
|
||||
|
||||
@@ -1,13 +1,15 @@
|
||||
# Налаштування гравця (user://settings.json — окремо від збереження, нова гра їх не стирає):
|
||||
# гучність музики й ефектів, сила CRT і глітчу, розмір шрифту, повний екран, мова, тема терміналу, менше анімацій, історія команд,
|
||||
# гучність музики й ефектів, сила CRT і глітчу, розмір шрифту, масштаб інтерфейсу (0 — авто за DPI), повний екран, мова, тема терміналу, менше анімацій, історія команд,
|
||||
# онлайн-рекорди з ніком і анонімна статистика (обидва вимкнені, поки гравець не ввімкне; tok/sid — випадкові ключі для online.gd).
|
||||
extends RefCounted
|
||||
|
||||
const L = preload("res://lang.gd")
|
||||
|
||||
const DEFAULTS := {"music": 50, "sfx": 80, "crt": 100, "glitch": 100, "font": 16, "full": false, "lang": "uk", "theme": 0, "calm": false, "hist": [],
|
||||
"online": false, "nick": "", "tok": "", "stats": false, "sid": "", "asked": false, "seen": ""}
|
||||
const DEFAULTS := {"music": 50, "sfx": 80, "crt": 100, "glitch": 100, "font": 16, "ui": 0, "full": false, "lang": "uk", "theme": 0, "calm": false, "hist": [],
|
||||
"online": false, "nick": "", "tok": "", "stats": false, "sid": "", "asked": false, "seen": "", "rated": false}
|
||||
const HIST_MAX := 100
|
||||
const UI_SCALES := [0, 100, 125, 150, 175, 200] # відсотки; 0 — авто
|
||||
const BASE := Vector2i(1366, 860) # розмір вікна з project.godot при масштабі 100%
|
||||
|
||||
static func load_into(g: Main) -> void:
|
||||
var d = g.Save.read_json(g.settings_path, false)
|
||||
@@ -19,6 +21,9 @@ static func load_into(g: Main) -> void:
|
||||
for k in ["music", "sfx", "crt", "glitch"]:
|
||||
g.cfg[k] = clampi(int(g.cfg[k]), 0, 100)
|
||||
g.cfg["font"] = clampi(int(g.cfg["font"]), 12, 26)
|
||||
if not int(g.cfg["ui"]) in UI_SCALES:
|
||||
g.cfg["ui"] = 0
|
||||
g.cfg["ui"] = int(g.cfg["ui"])
|
||||
g.cfg["theme"] = clampi(int(g.cfg["theme"]), 0, g.Gfx.THEMES.size() - 1)
|
||||
if not g.cfg["lang"] in ["uk", "en"]:
|
||||
g.cfg["lang"] = "uk"
|
||||
@@ -33,17 +38,47 @@ static func save(g: Main) -> void:
|
||||
static func vol_db(v: int) -> float:
|
||||
return linear_to_db(v / 100.0) if v > 0 else -80.0
|
||||
|
||||
# Авто: масштаб Windows для цього екрана (96 DPI = 100%), кроком 25%, від 100 до 200%
|
||||
static func auto_scale() -> float:
|
||||
return clampf(snappedf(DisplayServer.screen_get_dpi() / 96.0, 0.25), 1.0, 2.0)
|
||||
|
||||
static func ui_scale(g: Main) -> float:
|
||||
return g.cfg["ui"] / 100.0 if g.cfg["ui"] > 0 else auto_scale()
|
||||
|
||||
static var _want := 0.0 # останній обраний масштаб: вікно підганяємо лише коли він змінився
|
||||
|
||||
# Інтерфейс розрахований на 1366x860 логічних пікселів: масштаб не більший, ніж влазить у вікно,
|
||||
# інакше нижні кнопки й рядок вводу йдуть за край (1080p зі 150% дає лише 1280x688)
|
||||
static func apply_scale(g: Main, resize := false) -> void:
|
||||
var w := g.get_window()
|
||||
var want := ui_scale(g)
|
||||
if want != _want or resize:
|
||||
_want = want
|
||||
# у вікні (не розгорнутому) збільшуємо й саме вікно, не більше екрана
|
||||
if DisplayServer.get_name() != "headless" and w.mode == Window.MODE_WINDOWED:
|
||||
var area := DisplayServer.screen_get_usable_rect(w.current_screen)
|
||||
w.size = Vector2i((Vector2(BASE) * want).min(Vector2(area.size) * 0.95))
|
||||
w.position = area.position + (area.size - w.size) / 2
|
||||
var fit := minf(float(w.size.x) / BASE.x, float(w.size.y) / BASE.y)
|
||||
var s := maxf(1.0, minf(want, floorf(fit * 100.0) / 100.0))
|
||||
if not is_equal_approx(w.content_scale_factor, s):
|
||||
w.content_scale_factor = s
|
||||
g.ui.set_anchors_and_offsets_preset(Control.PRESET_FULL_RECT) # контейнер сам не стискається назад після більшого масштабу
|
||||
|
||||
static func apply(g: Main) -> void:
|
||||
g.sfx_player.volume_db = vol_db(g.cfg["sfx"])
|
||||
g.music_player.volume_db = vol_db(g.cfg["music"])
|
||||
g.crt.material.set_shader_parameter("strength", g.cfg["crt"] / 100.0)
|
||||
g.theme.default_font_size = g.cfg["font"]
|
||||
g.Gfx.apply_theme(g)
|
||||
var to_window := false # з повного екрана у вікно: вікно знову під масштаб
|
||||
if DisplayServer.get_name() != "headless":
|
||||
var full: bool = g.cfg["full"]
|
||||
var now := DisplayServer.window_get_mode() == DisplayServer.WINDOW_MODE_FULLSCREEN
|
||||
if full != now:
|
||||
DisplayServer.window_set_mode(DisplayServer.WINDOW_MODE_FULLSCREEN if full else DisplayServer.WINDOW_MODE_WINDOWED)
|
||||
to_window = not full
|
||||
apply_scale(g, to_window)
|
||||
g.update_music()
|
||||
|
||||
static func set_value(g: Main, k: String, v) -> void:
|
||||
@@ -72,6 +107,16 @@ static func build_dialog(g: Main) -> AcceptDialog:
|
||||
s.value = g.cfg[row[0]]
|
||||
s.value_changed.connect(func(v): set_value(g, row[0], int(v)))
|
||||
grid.add_child(s)
|
||||
var ul := Label.new()
|
||||
ul.text = L.t("🔍 Масштаб інтерфейсу")
|
||||
grid.add_child(ul)
|
||||
var uo := OptionButton.new()
|
||||
uo.name = "ui"
|
||||
for v in UI_SCALES:
|
||||
uo.add_item(L.t("Авто") + " (%d%%)" % roundi(auto_scale() * 100) if v == 0 else "%d%%" % v)
|
||||
uo.selected = UI_SCALES.find(g.cfg["ui"])
|
||||
uo.item_selected.connect(func(i): set_value(g, "ui", UI_SCALES[i]))
|
||||
grid.add_child(uo)
|
||||
var fl := Label.new()
|
||||
fl.text = L.t("🖥 Повний екран (F11)")
|
||||
grid.add_child(fl)
|
||||
@@ -151,6 +196,7 @@ static func build_dialog(g: Main) -> AcceptDialog:
|
||||
grid.get_node(k).set_value_no_signal(g.cfg[k])
|
||||
fc.set_pressed_no_signal(g.cfg["full"])
|
||||
to.select(g.cfg["theme"])
|
||||
uo.select(UI_SCALES.find(g.cfg["ui"]))
|
||||
cc.set_pressed_no_signal(g.cfg["calm"])
|
||||
oc.set_pressed_no_signal(g.cfg["online"])
|
||||
ne.text = g.cfg["nick"]
|
||||
@@ -174,3 +220,23 @@ static func ask_online(g: Main) -> void:
|
||||
d.visibility_changed.connect(func(): if not d.visible: d.queue_free())
|
||||
g.add_child(d)
|
||||
d.popup_centered()
|
||||
|
||||
const ITCH_URL := "https://tuberon.itch.io/tinmerezhi"
|
||||
|
||||
# Один раз за все життя гри (після 1-го акту) просить оцінити гру на itch.io: оцінки піднімають гру в каталозі.
|
||||
static func ask_rate(g: Main) -> void:
|
||||
if g.cfg["rated"] or g.settings_path != "user://settings.json": # тести мають свій файл налаштувань
|
||||
return
|
||||
g.cfg["rated"] = true
|
||||
save(g)
|
||||
var d := ConfirmationDialog.new()
|
||||
d.title = L.t("💚 Подобається гра?")
|
||||
d.dialog_text = L.t("Акт пройдено! Якщо гра тобі до вподоби, оціни її на itch.io або залиш коментар. Для гри від одного розробника кожна оцінка дуже допомагає: так її знайдуть інші гравці.")
|
||||
d.get_label().autowrap_mode = TextServer.AUTOWRAP_WORD_SMART
|
||||
d.get_label().custom_minimum_size.x = 560
|
||||
d.ok_button_text = L.t("Оцінити на itch.io")
|
||||
d.cancel_button_text = L.t("Не зараз")
|
||||
d.confirmed.connect(func(): OS.shell_open(ITCH_URL))
|
||||
d.visibility_changed.connect(func(): if not d.visible: d.queue_free())
|
||||
g.add_child(d)
|
||||
d.popup_centered()
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -105,6 +105,8 @@ static func _finish_mission(g: Main) -> void:
|
||||
if nm.has("act"):
|
||||
Gfx.act_card(g, nm["act"], L.t("Нова частина історії"))
|
||||
Modes.ng_mail(g, g.missions.slice(0, g.mission + 1).filter(func(x): return x.has("act")).size() - 1)
|
||||
if g.endless == null:
|
||||
g.get_tree().create_timer(5.0).timeout.connect(func(): g.Settings.ask_rate(g)) # після заставки акту
|
||||
if g.mission == g.Data.MISSIONS.size():
|
||||
_relock_act4(g)
|
||||
if g.mission == g.A5_START:
|
||||
@@ -130,6 +132,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 треба залити латки
|
||||
|
||||
@@ -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")
|
||||
|
||||
@@ -75,13 +75,34 @@ func _run() -> void:
|
||||
# ── налаштування ──
|
||||
g.Settings.set_value(g, "crt", 40)
|
||||
g.Settings.set_value(g, "font", 20)
|
||||
g.get_window().size = Vector2i(1920, 1032)
|
||||
g.Settings.set_value(g, "ui", 150)
|
||||
ok(is_equal_approx(g.get_window().content_scale_factor, 1.2), "масштаб не більший, ніж влазить у вікно")
|
||||
g.get_window().size = Vector2i(2732, 1720)
|
||||
ok(is_equal_approx(g.get_window().content_scale_factor, 1.5), "масштаб інтерфейсу застосовано")
|
||||
g._on_submit("status")
|
||||
g._on_submit("scan")
|
||||
ok(g.theme.default_font_size == 20, "розмір шрифту застосовано")
|
||||
ok(is_equal_approx(g.crt.material.get_shader_parameter("strength"), 0.4), "сила CRT застосована до шейдера")
|
||||
g.Gfx.tick(g, 0.016)
|
||||
ok(g.crt.visible, "CRT-шар увімкнений, поки ефект не на нулі")
|
||||
g.Settings.set_value(g, "crt", 0)
|
||||
g.Gfx.tick(g, 0.016)
|
||||
ok(not g.crt.visible or g.threat_v > 0.002, "CRT на нулі в спокої — шар вимкнено")
|
||||
g.flash = Color(1, 0, 0, 0.5)
|
||||
g.Gfx.tick(g, 0.016)
|
||||
ok(g.crt.visible, "спалах показує CRT-шар і на нулі")
|
||||
g.flash = Color(0, 0, 0, 0)
|
||||
g.Settings.set_value(g, "crt", 40)
|
||||
drop(g)
|
||||
g = fresh(true)
|
||||
ok(g.cfg["crt"] == 40 and g.cfg["font"] == 20, "налаштування зберігаються між запусками")
|
||||
ok(g.cfg["crt"] == 40 and g.cfg["font"] == 20 and g.cfg["ui"] == 150, "налаштування зберігаються між запусками")
|
||||
g.cfg["ui"] = 130
|
||||
g.Settings.save(g)
|
||||
g.Settings.load_into(g)
|
||||
ok(g.cfg["ui"] == 0, "невідомий масштаб → авто")
|
||||
g.Settings.set_value(g, "ui", 0)
|
||||
g.get_window().size = g.Settings.BASE
|
||||
ok(g.history.slice(-2) == ["status", "scan"], "історія команд зберігається між запусками")
|
||||
g.history = []
|
||||
g._on_submit("help")
|
||||
@@ -780,8 +801,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 = [] # прибрати хвости розслідувань з попередніх перевірок
|
||||
@@ -808,10 +830,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 = [] # прибрати хвости розслідувань з попередніх перевірок
|
||||
@@ -857,6 +892,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])
|
||||
|
||||
120
source_godot/tests/trailer.gd
Normal file
@@ -0,0 +1,120 @@
|
||||
extends SceneTree
|
||||
## Запис ігроладу для трейлера (відео + звук рушія):
|
||||
## xvfb-run godot --path . --resolution 1920x1080 --fixed-fps 30 --write-movie /шлях/raw.avi -s tests/trailer.gd -- uk|en
|
||||
|
||||
var g
|
||||
var lang := "en"
|
||||
|
||||
func _initialize() -> void:
|
||||
var args := OS.get_cmdline_user_args()
|
||||
if args.size() > 0:
|
||||
lang = args[0]
|
||||
_run.call_deferred()
|
||||
|
||||
# позначка часу розділу для підписів у ffmpeg (fixed-fps: кадри / 30)
|
||||
func mark(name: String) -> void:
|
||||
print("MARK %s %.2f" % [name, Engine.get_process_frames() / 30.0])
|
||||
|
||||
func wait(s: float) -> void:
|
||||
await create_timer(s).timeout
|
||||
|
||||
# друк команди в поле вводу по літері (з клацанням клавіш), потім виконання
|
||||
func type(cmd: String, after := 1.2) -> void:
|
||||
g.inp.text = ""
|
||||
for ch in cmd:
|
||||
g.inp.text += ch
|
||||
g.inp.caret_column = g.inp.text.length()
|
||||
await wait(0.06)
|
||||
await wait(0.25)
|
||||
g.inp.text = ""
|
||||
g.run(cmd)
|
||||
await wait(after)
|
||||
|
||||
func wrong_code() -> String:
|
||||
var c: String = g.crack["code"]
|
||||
var w: String = g.random_code(c.length())
|
||||
while w == c:
|
||||
w = g.random_code(c.length())
|
||||
return w
|
||||
|
||||
func crack_it(misses: int) -> void:
|
||||
await type("crack", 1.5)
|
||||
for i in misses:
|
||||
await type(wrong_code(), 1.0)
|
||||
while g.crack != null: # шари: кожен ламаємо правильним кодом
|
||||
await type(g.crack["code"], 1.6)
|
||||
|
||||
func _run() -> void:
|
||||
for p in ["user://tr_save.json", "user://tr_ach.json", "user://tr_rec.json", "user://tr_set.json"]:
|
||||
if FileAccess.file_exists(p):
|
||||
DirAccess.remove_absolute(ProjectSettings.globalize_path(p))
|
||||
load("res://lang.gd").lang = lang
|
||||
var f := FileAccess.open("user://tr_set.json", FileAccess.WRITE)
|
||||
f.store_string(JSON.stringify({"lang": lang, "asked": true, "rated": true, "seen": "9.9.9", "music": 70, "sfx": 80}))
|
||||
f.close()
|
||||
g = load("res://main.tscn").instantiate()
|
||||
g.save_path = "user://tr_save.json"
|
||||
g.ach_path = "user://tr_ach.json"
|
||||
g.legacy_path = "user://tr_legacy.json"
|
||||
g.records_path = "user://tr_rec.json"
|
||||
g.settings_path = "user://tr_set.json"
|
||||
root.add_child(g)
|
||||
g.variety = false
|
||||
await wait(7.0) # заставка і перший лист Оракула
|
||||
mark("hack")
|
||||
# 1. перший злам: кав'ярня
|
||||
await type("scan", 2.0)
|
||||
await type("connect 10.0.0.7", 1.5)
|
||||
await crack_it(2)
|
||||
await type("ls", 1.0)
|
||||
await type("download wifi_pass.txt", 2.5)
|
||||
await type("wipe", 1.0)
|
||||
await type("disconnect", 3.0)
|
||||
mark("trace")
|
||||
# 2. пізніше: маршрут, глибокий сервер, трасування росте до тривоги
|
||||
g.run("clear")
|
||||
g.level = 14
|
||||
g.money = 9000
|
||||
for i in 12:
|
||||
g.servers[i]["open"] = true
|
||||
g.render()
|
||||
await type("route auto", 1.5)
|
||||
await type("connect 20", 1.5)
|
||||
g.cur["ports_open"] = g.cur["ports"].duplicate()
|
||||
await type("crack", 1.2)
|
||||
await type(wrong_code(), 0.8)
|
||||
g.trace = 62.0
|
||||
await type("hint", 1.0)
|
||||
await type(wrong_code(), 0.8)
|
||||
g.trace = 84.0
|
||||
await type(wrong_code(), 3.0)
|
||||
await type("abort", 0.5)
|
||||
await type("disconnect", 1.5)
|
||||
mark("firewall")
|
||||
# 3. міні-гра фаєрвола
|
||||
g.run("clear")
|
||||
g.trace = 0.0
|
||||
g.render()
|
||||
await type("connect 14", 1.0)
|
||||
await type("firewall", 1.5)
|
||||
await type("2", 0.8)
|
||||
await type("4", 2.0)
|
||||
await type("abort", 0.5)
|
||||
await type("disconnect", 0.8)
|
||||
mark("dict")
|
||||
# 4. словникова атака
|
||||
g.run("clear")
|
||||
await type("connect 16", 1.0)
|
||||
await type("dict", 1.5)
|
||||
await type(g.mg["words"][0] if g.mg["words"][0] != g.mg["pass"] else g.mg["words"][1], 1.2)
|
||||
await type(g.mg["pass"], 2.5)
|
||||
g.run("disconnect")
|
||||
mark("rivals")
|
||||
# 5. суперники й заставка акту
|
||||
g.run("clear")
|
||||
await type("rivals", 3.0)
|
||||
mark("act")
|
||||
g.Gfx.act_card(g, g.L.t("АКТ V — АРГУС"), g.L.t("Нова частина історії"))
|
||||
await wait(5.0)
|
||||
mark("end")
|
||||
quit()
|
||||
@@ -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% дій; шум-трасування за обхід майже не діяв)
|
||||
|
||||
@@ -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")
|
||||
|
||||
@@ -8,6 +8,14 @@ const Updater = preload("res://updater.gd")
|
||||
const MAX_ITEMS := 8 # коротко: вікно має влазити й з великим шрифтом
|
||||
|
||||
const CHANGES := [
|
||||
["1.0.78", "Ефект CRT на нулі тепер справді вимкнений: на слабких ноутбуках гра менше навантажує відеокарту.", "CRT effect at zero is now truly off: the game puts less load on the GPU of weak laptops."],
|
||||
["1.0.77", "Нова заставка при запуску: тінь у капюшоні з оком мережі над нічним Києвом.", "New startup splash: a hooded shadow with a network eye over night Kyiv."],
|
||||
["1.0.76", "Після першого акту гра один раз запропонує оцінити її на itch.io.", "After the first act the game asks once whether you would rate it on itch.io."],
|
||||
["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."],
|
||||
["1.0.72", "Чорний лід на сильних серверах: помилки вдвічі дорожчі. Розтопи криптою (exploit ice) або новою програмою Криголам.", "Black ice on strong servers: mistakes cost double. Melt it with crypto (exploit ice) or the new Icebreaker program."],
|
||||
["1.0.72", "Кожна гра роздає серверам властивості: пильний адмін, застаріла система, зламане логування, приманка.", "Every game gives servers traits: a watchful admin, an outdated system, broken logging, bait."],
|
||||
|
||||