fix smol minimap icons in lpd

This commit is contained in:
thetek 2024-05-19 17:12:43 +02:00
parent 47bffe3cc1
commit 1a04e77fb3
3 changed files with 24 additions and 24 deletions

View File

@ -51,8 +51,8 @@ const requestApprovalToAttackMessageHigh = (
id: uuid(),
modality: 'visual',
type: 'icon',
h: 50,
w: 50,
h: 80,
w: 80,
widgetId: minimapWidgetId1,
src: mapTargetTypeToWarningIcon(message.data.target.type),
} satisfies IconElement,
@ -78,8 +78,8 @@ const requestApprovalToAttackMessageHigh = (
type: 'map-warning',
x: message.data.target.location.x,
y: message.data.target.location.y,
w: 50,
h: 50,
w: 80,
h: 80,
screen: '/minimap',
canOverlap: true,
useElementLocation: false,
@ -185,8 +185,8 @@ const missileToOwnshipDetectedMessageHigh = (
id: uuid(),
modality: 'visual',
type: 'icon',
h: 50,
w: 50,
h: 128,
w: 128,
widgetId: minimapWidgetId1,
src: mapTargetTypeToWarningIcon('missile'),
expirationInterval: 5000,
@ -214,8 +214,8 @@ const missileToOwnshipDetectedMessageHigh = (
type: 'map-warning',
x: message.data.missileLocation.x,
y: message.data.missileLocation.y,
w: 50,
h: 50,
w: 128,
h: 128,
screen: '/minimap',
canOverlap: true,
useElementLocation: false,

View File

@ -44,8 +44,8 @@ const requestApprovalToAttackMessageLow = (
id: uuid(),
modality: 'visual',
type: 'icon',
h: 50,
w: 50,
h: 80,
w: 80,
widgetId: minimapWidgetId1,
src: mapTargetTypeToWarningIcon(message.data.target.type),
expirationInterval: 3000,
@ -73,8 +73,8 @@ const requestApprovalToAttackMessageLow = (
type: 'map-warning',
x: message.data.target.location.x,
y: message.data.target.location.y,
w: 50,
h: 50,
w: 80,
h: 80,
screen: '/minimap',
canOverlap: true,
useElementLocation: false,
@ -163,8 +163,8 @@ const missileToOwnshipDetectedMessageLow = (
id: uuid(),
modality: 'visual',
type: 'icon',
h: 50,
w: 50,
h: 128,
w: 128,
widgetId: minimapWidgetId1,
src: mapTargetTypeToWarningIcon('missile'),
} satisfies IconElement,
@ -190,8 +190,8 @@ const missileToOwnshipDetectedMessageLow = (
type: 'map-warning',
x: message.data.missileLocation.x,
y: message.data.missileLocation.y,
w: 50,
h: 50,
w: 128,
h: 128,
screen: '/minimap',
canOverlap: true,
useElementLocation: false,

View File

@ -44,8 +44,8 @@ const requestApprovalToAttackMessageMedium = (
id: uuid(),
modality: 'visual',
type: 'icon',
h: 50,
w: 50,
h: 80,
w: 80,
widgetId: minimapWidgetId1,
src: mapTargetTypeToWarningIcon(message.data.target.type),
} satisfies IconElement,
@ -71,8 +71,8 @@ const requestApprovalToAttackMessageMedium = (
type: 'map-warning',
x: message.data.target.location.x,
y: message.data.target.location.y,
w: 50,
h: 50,
w: 80,
h: 80,
screen: '/minimap',
canOverlap: true,
useElementLocation: false,
@ -176,8 +176,8 @@ const missileToOwnshipDetectedMessageMedium = (
id: uuid(),
modality: 'visual',
type: 'icon',
h: 50,
w: 50,
h: 128,
w: 128,
widgetId: minimapWidgetId1,
src: mapTargetTypeToWarningIcon('missile'),
onExpiration: 'escalate',
@ -204,8 +204,8 @@ const missileToOwnshipDetectedMessageMedium = (
type: 'map-warning',
x: message.data.missileLocation.x,
y: message.data.missileLocation.y,
w: 50,
h: 50,
w: 128,
h: 128,
screen: '/minimap',
canOverlap: true,
useElementLocation: false,