Add ns.printf function

Behaviour is consistent with that of tprintf versus tprint and
should be equivalent to ns.print(ns.sprintf(...))
This commit is contained in:
Terrana
2022-01-21 11:34:10 +00:00
parent 07fe3c1906
commit f2c4109211
3 changed files with 18 additions and 0 deletions
+1
View File
@@ -114,6 +114,7 @@ export const RamCosts: IMap<any> = {
weaken: RamCostConstants.ScriptWeakenRamCost,
weakenAnalyze: RamCostConstants.ScriptWeakenAnalyzeRamCost,
print: 0,
printf: 0,
tprint: 0,
clearLog: 0,
disableLog: 0,