Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/session/session.js
Show First 20 Lines • Show All 1,069 Lines • ▼ Show 20 Lines | |||||
function createPanelEntityTooltip(panelEntState, template) | function createPanelEntityTooltip(panelEntState, template) | ||||
{ | { | ||||
let getPanelEntNameTooltip = panelEntState => "[font=\"sans-bold-16\"]" + template.name.specific + "[/font]"; | let getPanelEntNameTooltip = panelEntState => "[font=\"sans-bold-16\"]" + template.name.specific + "[/font]"; | ||||
return [ | return [ | ||||
getPanelEntNameTooltip, | getPanelEntNameTooltip, | ||||
getCurrentHealthTooltip, | getCurrentHealthTooltip, | ||||
getAttackTooltip, | getAttackTooltip, | ||||
getArmorTooltip, | getResistanceTooltip, | ||||
getEntityTooltip, | getEntityTooltip, | ||||
getAurasTooltip | getAurasTooltip | ||||
].map(tooltip => tooltip(panelEntState)).filter(tip => tip).join("\n"); | ].map(tooltip => tooltip(panelEntState)).filter(tip => tip).join("\n"); | ||||
} | } | ||||
function displayPanelEntities() | function displayPanelEntities() | ||||
{ | { | ||||
let buttons = Engine.GetGUIObjectByName("panelEntityPanel").children; | let buttons = Engine.GetGUIObjectByName("panelEntityPanel").children; | ||||
▲ Show 20 Lines • Show All 633 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator