def PyOnBankSlot(args):
    from mud.client.playermind import PLAYERMIND
    slot = int(args[1])
    
    if not PLAYERMIND.cursorItem and not NPCWND.bankPane.bank.get(slot+RPG_SLOT_BANK_BEGIN,None):
        return
    
    PLAYERMIND.onBankSlot(slot+RPG_SLOT_BANK_BEGIN)
Beispiel #2
0
def PyOnBankSlot(args):
    from mud.client.playermind import PLAYERMIND
    slot = int(args[1])

    if not PLAYERMIND.cursorItem and not NPCWND.bankPane.bank.get(
            slot + RPG_SLOT_BANK_BEGIN, None):
        return

    PLAYERMIND.onBankSlot(slot + RPG_SLOT_BANK_BEGIN)