Compare commits

..

13 Commits

Author SHA1 Message Date
Claude
208d0aac5c Оптимізація: CRT-шар вимикається на нулі, tools/ не потрапляє в exe
All checks were successful
build / build (push) Successful in 2m22s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017HrHZwmRt6eUYiekz66wM8
2026-11-29 10:31:33 +00:00
Gitea Actions
27db08393f game_godot: TinMerezhi.exe v1.0.77 2026-11-29 10:18:08 +00:00
Claude
4b306a368a Нова заставка при запуску (капюшон з оком мережі + нічний Київ)
All checks were successful
build / build (push) Successful in 2m23s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017HrHZuUKCAkyg45yitgPGt
2026-11-29 10:14:52 +00:00
Claude
7b1d552bb1 itch: нова обкладинка (капюшон з оком мережі + нічний Київ)
All checks were successful
build / build (push) Successful in 48s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017HrHZuUKCAkyg45yitgPGt
2026-11-29 10:13:41 +00:00
Claude
ab605e7678 itch/devlog: назви дописів 1 і 2 двома мовами
All checks were successful
build / build (push) Successful in 46s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017HrHZz8CMmvTHjGLy1S6ac
2026-11-29 10:01:50 +00:00
Claude
4bb27b63b7 itch/devlog: назва допису 3 двома мовами
All checks were successful
build / build (push) Successful in 47s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017HrHZz8CMmvTHjGLy1S6ac
2026-11-29 10:00:58 +00:00
Claude
81c79159a5 itch/devlog: українське посилання на трейлер в українській частині допису 3
All checks were successful
build / build (push) Successful in 48s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017HrHZz8CMmvTHjGLy1S6ac
2026-11-29 09:59:22 +00:00
Claude
bd267a09f7 itch/devlog: посилання на трейлери в дописі 3
Some checks failed
build / build (push) Has been cancelled
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017HrHZz8CMmvTHjGLy1S6ac
2026-11-29 09:59:09 +00:00
Claude
37f0dc0889 itch/devlog: допис 3 журналу розробки (v1.0.73–v1.0.76)
All checks were successful
build / build (push) Successful in 47s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017HrHZz8CMmvTHjGLy1S6ac
2026-11-29 09:53:11 +00:00
Claude
48b745a8f7 itch/trailer: скрипти монтажу трейлера і GIF для сторінки
Some checks failed
build / build (push) Has been cancelled
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017HrHZxdn3GSjky6KSDLdNV
2026-11-29 09:52:47 +00:00
Claude
b7c19cc989 itch: англійська назва на широкій обкладинці й картинці для соцмереж
All checks were successful
build / build (push) Successful in 47s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017HrHZxdn3GSjky6KSDLdNV
2026-11-29 09:47:18 +00:00
Claude
1d8585823e tests/trailer.gd: запис ігроладу для трейлера (Godot movie writer)
All checks were successful
build / build (push) Successful in 47s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017HrHZxdn3GSjky6KSDLdNV
2026-11-29 08:59:24 +00:00
Gitea Actions
d53dbbfd8d game_godot: TinMerezhi.exe v1.0.76 2026-11-29 08:43:23 +00:00
18 changed files with 346 additions and 6 deletions

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

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 146 KiB

After

Width:  |  Height:  |  Size: 191 KiB

View File

@@ -1,6 +1,6 @@
# Допис 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 (повний переклад)

View File

@@ -1,6 +1,6 @@
# Допис 2 журналу розробки (v1.0.64 – v1.0.72)
**Title:** Оновлення 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 (повний переклад)

View 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>
```

View 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!

Binary file not shown.

Before

Width:  |  Height:  |  Size: 135 KiB

After

Width:  |  Height:  |  Size: 214 KiB

26
itch/trailer/build.sh Executable file
View 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
View 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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 325 KiB

After

Width:  |  Height:  |  Size: 562 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 510 KiB

View File

@@ -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=""

View File

@@ -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)
# рамка тремтить, коли от-от відстежать (не заважаючи трусінню від помилок)

View File

@@ -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"

View File

@@ -84,6 +84,16 @@ func _run() -> void:
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 and g.cfg["ui"] == 150, "налаштування зберігаються між запусками")

View 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()

View File

@@ -8,6 +8,8 @@ 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."],