mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 02:37:05 +02:00
feat: logs
This commit is contained in:
1 parent
04cd205fee
commit
dba5a0a2cd
3 files changed
+22
-9
No files matched your search
@@ -0,0 +1,13 @@
|
||||
# Blitzkrieg 1.17.0
|
||||
|
||||
A preview command and a touchup.
|
||||
|
||||
## Features
|
||||
|
||||
- Added `/research` in preview only accessible in the official Discord server.
|
||||
- More details will be posted when the command is made public.
|
||||
|
||||
## Changes
|
||||
|
||||
- `/owned-tanks` now returns a simple text message listing all the tanks instead of an image.
|
||||
- This is meant to improve the readability and ease of copying.
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "blitzkrieg",
|
||||
"version": "1.16.4",
|
||||
"version": "1.17.0",
|
||||
"description": "🎉 Tools for everything World of Tanks Blitz",
|
||||
"main": "src/server.ts",
|
||||
"type": "module",
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { readFile } from 'fs/promises';
|
||||
import { deburr } from 'lodash';
|
||||
import { Vector2Tuple } from 'three';
|
||||
import { TankClass, TreeType } from '../../../components/Tanks';
|
||||
import { superDecompress } from '../superDecompress';
|
||||
import { asset } from '../asset';
|
||||
import { fetchCdonLz4 } from '../fetchCdonLz4';
|
||||
import { TIERS } from './constants';
|
||||
|
||||
export type ShellType = 'ap' | 'ap_cr' | 'hc' | 'he';
|
||||
@@ -142,14 +142,14 @@ export type ShellDefinition = {
|
||||
explosionRadius?: number;
|
||||
};
|
||||
|
||||
// export const tankDefinitions = fetchCdonLz4<TankDefinitions>(
|
||||
// asset('definitions/tanks.cdon.lz4'),
|
||||
// );
|
||||
|
||||
export const tankDefinitions = readFile('test.tanks.cdon.lz4').then((data) =>
|
||||
superDecompress<TankDefinitions>(data.buffer),
|
||||
export const tankDefinitions = fetchCdonLz4<TankDefinitions>(
|
||||
asset('definitions/tanks.cdon.lz4'),
|
||||
);
|
||||
|
||||
// export const tankDefinitions = readFile('test.tanks.cdon.lz4').then((data) =>
|
||||
// superDecompress<TankDefinitions>(data.buffer),
|
||||
// );
|
||||
|
||||
const entries = new Promise<TankDefinition[]>(async (resolve) => {
|
||||
resolve(Object.entries(await tankDefinitions).map(([, entry]) => entry));
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user