mirror of
https://bitbucket.org/projectswg/cucore.git
synced 2026-10-10 02:13:32 -04:00
13 lines
348 B
JavaScript
13 lines
348 B
JavaScript
function getOptions(options, player, target) {
|
|
var use = new RadialOption(RadialItem.ITEM_USE);
|
|
options.add(use);
|
|
options.get(0).setOverriddenText("@collection:consume_item");
|
|
}
|
|
function handleSelection(player, target, selection) {
|
|
switch (selection) {
|
|
case RadialItem.USE:
|
|
Log.d("bazaar.js", "Bazaar Selection: ITEM_USE");
|
|
break;
|
|
}
|
|
}
|