onlinemodus fix failed
This commit is contained in:
@@ -9,7 +9,9 @@
|
||||
(function (root) {
|
||||
'use strict';
|
||||
const RC = root.RC, $ = Kit.$;
|
||||
RC.PAINTS = [0xd8452b, 0xff7a1a, 0xf2c230, 0x5fae3b, 0x2e9c8f, 0x2a6fd8, 0x6a3fb0, 0xd94f9a, 0xe6e6e6, 0x8c8c8c, 0x3a3d44, 0x15171b];
|
||||
RC.PAINTS = [0xd8452b, 0xff7a1a, 0xf2c230, 0x5fae3b, 0x2e9c8f, 0x2a6fd8, 0x6a3fb0, 0xd94f9a, 0xe6e6e6, 0x8c8c8c, 0x3a3d44, 0x15171b,
|
||||
0x39ff14, 0xc0c0c0, 0xff1e8e, 0x7b2fff]; // last 4 are mission rewards (locked until earned)
|
||||
RC.PAINT_REWARDS = [0x39ff14, 0xc0c0c0, 0xff1e8e, 0x7b2fff];
|
||||
// ready-made [body, accent] combinations
|
||||
RC.SCHEMES = [[0xff7a1a, 0x15171b], [0x15171b, 0xff7a1a], [0x2a6fd8, 0xe6e6e6], [0xd8452b, 0xf2c230],
|
||||
[0x5fae3b, 0x15171b], [0x6a3fb0, 0xf2c230], [0xe6e6e6, 0xd8452b], [0x3a3d44, 0x2e9c8f]];
|
||||
@@ -20,7 +22,7 @@
|
||||
const ICO = { hp: ['ico_hp', '❤️'], armour: ['ico_armour', '🛡️'], speed: ['ico_speed', '⏱️'], weight: ['ico_weight', '⚖️'],
|
||||
power: ['ico_power', '⚡'], money: ['ico_credits', '🪙'], fame: ['ico_fame', '⭐'], accel: [null, '🚀'], turn: [null, '↻'] };
|
||||
RC.pic = (name, glyph = '', cls = '') =>
|
||||
`<span class="pic ${cls}" data-f="${glyph}">${name ? `<img src="${Kit.asset('assets/Sprites/' + name + '.png')}" alt="" draggable="false" onerror="this.classList.add('missing')">` : ''}</span>`;
|
||||
`<span class="pic ${cls}" data-f="${glyph}">${name ? `<img src="${Kit.asset('assets/Sprites/' + name + '.png')}" alt="" draggable="false" decoding="async" onerror="this.classList.add('missing')">` : ''}</span>`;
|
||||
const ico = k => RC.pic(ICO[k][0], ICO[k][1]);
|
||||
|
||||
RC.Shop = function (opt) {
|
||||
|
||||
Reference in New Issue
Block a user