Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/binaries/data/mods/public/gui/session/session.js
Show First 20 Lines • Show All 972 Lines • ▼ Show 20 Lines | |||||
{ | { | ||||
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, | getArmorTooltip, | ||||
getEntityTooltip | getEntityTooltip, | ||||
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; | ||||
buttons.forEach((button, slot) => { | buttons.forEach((button, slot) => { | ||||
▲ Show 20 Lines • Show All 645 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator