def check_eggs(st, npc, progress):
    whom = int(st.get('dragon'))
    if (whom == 1):
        eggs = EX_EGG
    elif (whom == 2):
        eggs = ZW_EGG
    elif (whom == 3):
        eggs = KA_EGG
    elif (whom == 4):
        eggs = SU_EGG
    elif (whom == 5):
        eggs = SH_EGG
    if (npc == 'mymyu'):
        if ((progress in [19, 20]) and (st.getQuestItemsCount(eggs) == 1)):
            return (('420_' + npc) + '_10.htm')
        elif (st.getQuestItemsCount(eggs) >= 20):
            return (('420_' + npc) + '_9.htm')
        else:
            return (('420_' + npc) + '_8.htm')
    elif ((npc == 'exarion') and (whom == 1)):
        if (st.getQuestItemsCount(eggs) < 20):
            return (('420_' + npc) + '_3.htm')
        else:
            st.takeItems(eggs, 20)
            st.takeItems(SCALE_1, 1)
            if (progress in [14, 21]):
                st.set('progress', '19')
            elif (progress in [15, 22]):
                st.set('progress', '20')
            st.giveItems(eggs, 1)
            st.playSound('ItemSound.quest_itemget')
            st.set('cond', '7')
            return (('420_' + npc) + '_4.htm')
    elif ((npc == 'zwov') and (whom == 2)):
        if (st.getQuestItemsCount(eggs) < 20):
            return (('420_' + npc) + '_3.htm')
        else:
            st.takeItems(eggs, 20)
            st.takeItems(SCALE_2, 1)
            if (progress in [14, 21]):
                st.set('progress', '19')
            elif (progress in [15, 22]):
                st.set('progress', '20')
            st.giveItems(eggs, 1)
            st.set('cond', '7')
            st.playSound('ItemSound.quest_itemget')
            return (('420_' + npc) + '_4.htm')
    elif ((npc == 'kalibran') and (whom == 3)):
        if (st.getQuestItemsCount(eggs) < 20):
            return (('420_' + npc) + '_3.htm')
        else:
            st.takeItems(eggs, 20)
            return (('420_' + npc) + '_4.htm')
    elif ((npc == 'suzet') and (whom == 4)):
        if (st.getQuestItemsCount(eggs) < 20):
            return (('420_' + npc) + '_4.htm')
        else:
            st.takeItems(eggs, 20)
            st.takeItems(SCALE_4, 1)
            if (progress in [14, 21]):
                st.set('progress', '19')
            elif (progress in [15, 22]):
                st.set('progress', '20')
            st.giveItems(eggs, 1)
            st.set('cond', '7')
            st.playSound('ItemSound.quest_itemget')
            return (('420_' + npc) + '_5.htm')
    elif ((npc == 'shamhai') and (whom == 5)):
        if (st.getQuestItemsCount(eggs) < 20):
            return (('420_' + npc) + '_3.htm')
        else:
            st.takeItems(eggs, 20)
            st.takeItems(SCALE_5, 1)
            if (progress in [14, 21]):
                st.set('progress', '19')
            elif (progress in [15, 22]):
                st.set('progress', '20')
            st.giveItems(eggs, 1)
            st.set('cond', '7')
            st.playSound('ItemSound.quest_itemget')
            return (('420_' + npc) + '_4.htm')
    return 'check_eggs sux'
def check_eggs(st, npc, progress):
    whom = int(st.get('dragon'))
    if (whom == 1):
        eggs = EX_EGG
    elif (whom == 2):
        eggs = ZW_EGG
    elif (whom == 3):
        eggs = KA_EGG
    elif (whom == 4):
        eggs = SU_EGG
    elif (whom == 5):
        eggs = SH_EGG
    if (npc == 'mymyu'):
        if ((progress in [19, 20]) and (st.getQuestItemsCount(eggs) == 1)):
            return (('420_' + npc) + '_10.htm')
        elif (st.getQuestItemsCount(eggs) >= 20):
            return (('420_' + npc) + '_9.htm')
        else:
            return (('420_' + npc) + '_8.htm')
    elif ((npc == 'exarion') and (whom == 1)):
        if (st.getQuestItemsCount(eggs) < 20):
            return (('420_' + npc) + '_3.htm')
        else:
            st.takeItems(eggs, 20)
            st.takeItems(SCALE_1, 1)
            if (progress in [14, 21]):
                st.set('progress', '19')
            elif (progress in [15, 22]):
                st.set('progress', '20')
            st.giveItems(eggs, 1)
            st.playSound('ItemSound.quest_itemget')
            st.set('cond', '7')
            return (('420_' + npc) + '_4.htm')
    elif ((npc == 'zwov') and (whom == 2)):
        if (st.getQuestItemsCount(eggs) < 20):
            return (('420_' + npc) + '_3.htm')
        else:
            st.takeItems(eggs, 20)
            st.takeItems(SCALE_2, 1)
            if (progress in [14, 21]):
                st.set('progress', '19')
            elif (progress in [15, 22]):
                st.set('progress', '20')
            st.giveItems(eggs, 1)
            st.set('cond', '7')
            st.playSound('ItemSound.quest_itemget')
            return (('420_' + npc) + '_4.htm')
    elif ((npc == 'kalibran') and (whom == 3)):
        if (st.getQuestItemsCount(eggs) < 20):
            return (('420_' + npc) + '_3.htm')
        else:
            st.takeItems(eggs, 20)
            return (('420_' + npc) + '_4.htm')
    elif ((npc == 'suzet') and (whom == 4)):
        if (st.getQuestItemsCount(eggs) < 20):
            return (('420_' + npc) + '_4.htm')
        else:
            st.takeItems(eggs, 20)
            st.takeItems(SCALE_4, 1)
            if (progress in [14, 21]):
                st.set('progress', '19')
            elif (progress in [15, 22]):
                st.set('progress', '20')
            st.giveItems(eggs, 1)
            st.set('cond', '7')
            st.playSound('ItemSound.quest_itemget')
            return (('420_' + npc) + '_5.htm')
    elif ((npc == 'shamhai') and (whom == 5)):
        if (st.getQuestItemsCount(eggs) < 20):
            return (('420_' + npc) + '_3.htm')
        else:
            st.takeItems(eggs, 20)
            st.takeItems(SCALE_5, 1)
            if (progress in [14, 21]):
                st.set('progress', '19')
            elif (progress in [15, 22]):
                st.set('progress', '20')
            st.giveItems(eggs, 1)
            st.set('cond', '7')
            st.playSound('ItemSound.quest_itemget')
            return (('420_' + npc) + '_4.htm')
    return 'check_eggs sux'