Add freshness bar, enhance overlays and renderers
- Add enemy freshness tracking (novelty bonus for repeated deploys) - Add freshness bar to sidepanel enemy cards with penalty indicator - Major overhaul of renderer-overlays.js (790+ lines for UI polish) - Enhanced combat log, shop overlays, and inventory UI - Improved weapon/upgrade display with partial ownership colors - Added element icons and weakness/resistance indicators to cards - Enhanced radial menu and tooltip system - Add "stale/%" penalty text when freshness depleted - Update play link to ffazeshift.net in index.html
This commit is contained in:
@@ -38,7 +38,7 @@ function drawInventoryOverlay() {
|
||||
|
||||
ctx.save();
|
||||
|
||||
const titleSuffix = equipMode ? `- SLOT ${_pickerSlot + 1}` : '- BAG';
|
||||
const titleSuffix = equipMode ? `- SLOT ${_pickerSlot + 1}` : '';
|
||||
ctx.font = '11px Orbitron, "Share Tech Mono", monospace';
|
||||
ctx.letterSpacing = '3px';
|
||||
ctx.textAlign = 'left';
|
||||
@@ -50,7 +50,7 @@ function drawInventoryOverlay() {
|
||||
const invCount = (G.weaponInventory || []).length;
|
||||
ctx.font = '10px "Share Tech Mono", monospace';
|
||||
ctx.fillStyle = '#3a6080';
|
||||
ctx.fillText(invCount + ' in bag', _PK_LIST_X + 270, _PK_Y + _PK_PAD + 1);
|
||||
ctx.fillText(invCount + ' in inventory', _PK_LIST_X + 270, _PK_Y + _PK_PAD + 1);
|
||||
|
||||
ctx.strokeStyle = '#1a3048';
|
||||
ctx.lineWidth = 1;
|
||||
@@ -177,7 +177,7 @@ function drawInventoryOverlay() {
|
||||
for (const w of (G.weaponInventory || [])) {
|
||||
const wRef = w;
|
||||
drawCard(w, getWeaponDef(w), {
|
||||
location: 'BAG',
|
||||
location: 'INVENTORY',
|
||||
source: { type: 'bag' },
|
||||
action: equipMode
|
||||
? () => { equipWeaponInstanceToSlot(_pickerSlot, wRef.instanceId); }
|
||||
|
||||
Reference in New Issue
Block a user