

def buildRadial(self, owner, target, radials):
    radial_list = RadialOptionsList()
    bank = self.getKernel().serviceManager().equipmentService().getEquippedObject(owner, 'bank')
    if bank:
        radial_list.append(RadialOptions(0, RadialIdentifier.itemUse, 1, ''))
        radial_list.append(RadialOptions(1, RadialIdentifier.bankTransfer, 3, '@sui:bank_credits'))
        if (bank.scene_id == owner.scene_id):
            radial_list.append(RadialOptions(1, RadialIdentifier.bankItems, 3, '@sui:bank_items'))
            radial_list.append(RadialOptions(1, RadialIdentifier.bankQuit, 3, '@sui:bank_quit'))
        elif (owner.scene_id == 0):
            radial_list.append(RadialOptions(1, RadialIdentifier.bankJoin, 3, '@sui:bank_join'))
        if (owner.bank_credits > 0):
            radial_list.append(RadialOptions(1, RadialIdentifier.bankWithdrawAll, 3, '@sui:bank_withdrawall'))
        if (owner.cash_credits > 0):
            radial_list.append(RadialOptions(1, RadialIdentifier.bankDepositAll, 3, '@sui:bank_depositall'))
    return radial_list

dataset/ETHPy150Open anhstudios/swganh/data/scripts/radials/bank.py PyRadialMenu.buildRadial/VarMisuse@138/211 `bank`->`owner`