mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-09-29 14:13:03 -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;
|
|
}
|
|
}
|