Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/binaries/data/mods/public/gui/session/unit_actions.js
Show First 20 Lines • Show All 1,254 Lines • ▼ Show 20 Lines | var g_EntityCommands = | ||||
"select-trading-goods": { | "select-trading-goods": { | ||||
"getInfo": function(entState) | "getInfo": function(entState) | ||||
{ | { | ||||
if (!entState.market) | if (!entState.market) | ||||
return false; | return false; | ||||
return { | return { | ||||
"tooltip": translate("Select trading goods"), | "tooltip": translate("Barter & Trade"), | ||||
"icon": "economics.png" | "icon": "economics.png" | ||||
}; | }; | ||||
}, | }, | ||||
"execute": function(entState) | "execute": function(entState) | ||||
{ | { | ||||
toggleTrade(); | toggleTrade(); | ||||
}, | }, | ||||
}, | }, | ||||
▲ Show 20 Lines • Show All 181 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator