chore: add eslint, remove dead variables, pin line endings (P0-4)

This commit is contained in:
Benjamin Oezcan
2026-11-19 01:41:27 +01:00
parent fa68ef620d
commit 1156bc68eb
8 changed files with 1134 additions and 6 deletions

View File

@@ -15,7 +15,6 @@
// ready-made [body, accent] combinations
RC.SCHEMES = [[0xff7a1a, 0x15171b], [0x15171b, 0xff7a1a], [0x2a6fd8, 0xe6e6e6], [0xd8452b, 0xf2c230],
[0x5fae3b, 0x15171b], [0x6a3fb0, 0xf2c230], [0xe6e6e6, 0xd8452b], [0x3a3d44, 0x2e9c8f]];
const hex = n => '#' + (n >>> 0).toString(16).padStart(6, '0');
const SELL = 0.5;
const HOTKEY = { weapon: 'hk_weapon', tower: 'hk_tower', gadget: 'hk_gadget' };
const GLYPH = { chassis: '🧱', motor: '⚙️', wheels: '🛞', battery: '🔋', armour: '🛡️', weapon: '🪓', tower: '🔥', gadget: '🧰' };