Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d2baf41c0d | ||
|
|
520c22e821 |
BIN
game_godot/TinMerezhi.exe
(Stored with Git LFS)
BIN
game_godot/TinMerezhi.exe
(Stored with Git LFS)
Binary file not shown.
@@ -722,6 +722,8 @@ const EN := {
|
||||
"⚠ Слідчі зовсім близько! Повернись і зітри логи (wipe), поки не пізно.": "⚠ The investigators are very close! Go back and wipe the logs (wipe) before it's too late.",
|
||||
"ТЕБЕ ВІДСТЕЖИЛИ": "YOU'VE BEEN TRACED",
|
||||
"📜 Контракт провалено: тебе заарештували з файлом.": "📜 Contract failed: you were arrested with the file.",
|
||||
"🔒 Оновитися можна після зламу: заверши його або відключись (disconnect).": "🔒 You can update after the crack: finish it or disconnect.",
|
||||
"📦 %s конфісковано під час арешту — доведеться завантажити знову.": "📦 %s was confiscated in the arrest — you will have to download it again.",
|
||||
"!!! %s !!! Конфісковано $%d.": "!!! %s !!! $%d confiscated.",
|
||||
"ВІДСТЕЖЕНО": "TRACED",
|
||||
"%s · конфісковано $%d": "%s · $%d confiscated",
|
||||
|
||||
@@ -886,6 +886,11 @@ func arrest(reason: String) -> void:
|
||||
if cur != null:
|
||||
Story._lock(cur)
|
||||
cur["logs"] = false
|
||||
for f in cur["files"]: # файл "піти без логів" конфісковано: інакше після арешту connect + disconnect зараховував главу
|
||||
if done.has("+" + f) and not done.has(f):
|
||||
done.erase("+" + f)
|
||||
done["?" + f] = true # ціль розвідки вже відома
|
||||
say(L.t("📦 %s конфісковано під час арешту — доведеться завантажити знову.") % f, "err")
|
||||
var burnt := route_servers()
|
||||
for s in burnt:
|
||||
node_fx.append([servers.find(s), time, "burn"])
|
||||
|
||||
@@ -99,11 +99,11 @@ static func c_disconnect(g: Main, _a: String) -> void:
|
||||
if s["logs"] and not g.heat.any(func(h): return h["ip"] == s["ip"]):
|
||||
g.heat.append({"ip": s["ip"], "t": g.investigation_time(s)})
|
||||
g.say(L.t("⚠ Ти лишив логи на \"%s\". Почалося розслідування: %d дій, щоб повернутися і стерти їх (wipe).") % [s["name"], g.investigation_time(s)], "err")
|
||||
if g.endless == null:
|
||||
g.Variety.on_disconnect(g, s) # ще онлайн: перегони за це замовлення зараховуються як виграні
|
||||
g.cur = null
|
||||
g.trace = 0.0
|
||||
g.say(L.t("Відключено. Трасування скинуто."))
|
||||
if g.endless == null:
|
||||
g.Variety.on_disconnect(g, s)
|
||||
var m = g.missions[g.mission]
|
||||
if g.endless == null and m.get("clean", false) and g.done.has("+" + m["file"]) and g.srv_of(m["file"]) == s:
|
||||
if s["logs"]:
|
||||
|
||||
@@ -106,7 +106,7 @@ static func _finish_mission(g: Main) -> void:
|
||||
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)) # після заставки акту
|
||||
g.get_tree().create_timer(5.0).timeout.connect(func(): if is_instance_valid(g): g.Settings.ask_rate(g)) # після заставки акту
|
||||
if g.mission == g.Data.MISSIONS.size():
|
||||
_relock_act4(g)
|
||||
if g.mission == g.A5_START:
|
||||
|
||||
@@ -1007,6 +1007,14 @@ func _variety() -> void:
|
||||
g.run("disconnect")
|
||||
ok(not g.done.has(f) and not g.done.has("+" + f), "без логів: наслідив — замовлення не зараховано")
|
||||
g.heat = []
|
||||
g.run("connect " + jcs["ip"])
|
||||
g.run("download " + f)
|
||||
g.arrest("тест")
|
||||
g.busts = 0
|
||||
jcs["open"] = true
|
||||
g.run("connect " + jcs["ip"])
|
||||
g.run("disconnect")
|
||||
ok(not g.done.has(f) and not g.done.has("+" + f), "без логів: арешт конфіскує файл — connect + disconnect не зараховує")
|
||||
g.heat = [] # прибрати хвости розслідувань з попередніх перевірок
|
||||
g.run("connect " + jcs["ip"])
|
||||
g.run("download " + f)
|
||||
|
||||
1
source_godot/tests/trailer.gd.uid
Normal file
1
source_godot/tests/trailer.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://dice1cde0wej5
|
||||
@@ -119,6 +119,8 @@ func run() -> void:
|
||||
check(true)
|
||||
elif g.paranoid_run():
|
||||
g.say(L.t("☠ Параноя зберігається лише на початку акту: оновлення перезапустить гру й поверне туди. Онови після кінця забігу."), "err")
|
||||
elif g.crack != null: # перезапуск посеред зламу = висмикнутий кабель (+25% трасування після старту), як і зі зміною мови
|
||||
g.say(L.t("🔒 Оновитися можна після зламу: заверши його або відключись (disconnect)."), "err")
|
||||
else:
|
||||
download()
|
||||
|
||||
|
||||
@@ -8,6 +8,9 @@ const Updater = preload("res://updater.gd")
|
||||
const MAX_ITEMS := 8 # коротко: вікно має влазити й з великим шрифтом
|
||||
|
||||
const CHANGES := [
|
||||
["1.0.79", "Арешт з файлом «піти без логів» конфіскує його: главу чи замовлення тепер не зарахувати простим connect і disconnect.", "An arrest while holding a \"leave no logs\" file confiscates it: the chapter or job no longer counts after a plain connect and disconnect."],
|
||||
["1.0.79", "Перегони із суперником за замовлення «піти без логів» зараховуються як виграні, коли ти чисто відключився.", "A rival race for a \"leave no logs\" job now counts as won when you disconnect cleanly."],
|
||||
["1.0.79", "update посеред зламу більше не перезапускає гру (це було б як висмикнути кабель): спершу заверши злам.", "update in the middle of a crack no longer restarts the game (that would be like pulling the cable): finish the crack first."],
|
||||
["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."],
|
||||
|
||||
Reference in New Issue
Block a user