mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-26 19:14:32 +02:00
NETSCRIPT: Added changing tail font size through scripts (#1852)
This commit is contained in:
@@ -63,6 +63,7 @@ import {
|
||||
validateSourceFileOverrides,
|
||||
} from "../BitNode/BitNodeUtils";
|
||||
import { JSONMap } from "../Types/Jsonable";
|
||||
import { Settings } from "../Settings/Settings";
|
||||
|
||||
export const helpers = {
|
||||
string,
|
||||
@@ -747,6 +748,7 @@ function createPublicRunningScript(runningScript: RunningScript, workerScript?:
|
||||
y: logProps.y,
|
||||
width: logProps.width,
|
||||
height: logProps.height,
|
||||
fontSize: logProps.fontSize ?? Settings.styles.tailFontSize,
|
||||
},
|
||||
title: runningScript.title,
|
||||
threads: runningScript.threads,
|
||||
|
||||
@@ -602,6 +602,7 @@ export const RamCosts: RamCostTree<NSFull> = {
|
||||
resizeTail: 0,
|
||||
closeTail: 0,
|
||||
setTitle: 0,
|
||||
setTailFontSize: 0,
|
||||
clearPort: 0,
|
||||
openDevMenu: 0,
|
||||
alert: 0,
|
||||
|
||||
Reference in New Issue
Block a user