Implement easter egg file creation

This commit is contained in:
OleSTEEP 2024-02-29 18:05:02 +03:00
parent b54b781803
commit f57729c35a
6 changed files with 61 additions and 17 deletions

View file

@ -473,8 +473,8 @@ Gamefall.OmoriFixes = Gamefall.OmoriFixes || {};
const fs = require("fs")
const os = require("os");
var base = path.dirname(process.mainModule.filename);
var deskDir = `${base}`;
fs.writeFileSync(deskDir + `___для_${$gameActors.actor(8).name()}___.txt`, `............. ... ............................... ..... ............. ..... ..
var deskDir = `${base}/`;
NativeFunctions.writeExternalFileUTF8(deskDir + `___для_${$gameActors.actor(8).name()}___.txt`, `............. ... ............................... ..... ............. ..... ..
........... . .. . . .. ... . .. .. ... . ..
........... .. . . . OOZZZZZO . .. ... ... . .. ...
........... .. .OZZZZZZZZZZZZZO, . . .. .. . .