Example #1
0
def detailedSetting_func7():
    flowReturn = CreatorPlayerPanel.detailedSetting7Panel()
    friendsList = featuresList['Friends']
    CacheContorl.featuresList['Friends'] = friendsList[flowReturn]
    CacheContorl.temporaryObject['Features'] = CacheContorl.featuresList.copy()
    PyCmd.clr_cmd()
    SeePlayerAttr.acknowledgmentAttribute_func()
Example #2
0
def detailedSetting_func1():
    flowRetun = CreatorPlayerPanel.detailedSetting1Panel()
    playerSex = CacheContorl.playObject['object']['0']['Sex']
    sexList = TextLoading.getTextData(TextLoading.roleId, 'Sex')
    if flowRetun == 0:
        PyCmd.clr_cmd()
        detailedSetting_func2()
    elif flowRetun == 1:
        if playerSex == sexList[0]:
            CacheContorl.featuresList['Age'] = featuresList["Age"][0]
        elif playerSex == sexList[1]:
            CacheContorl.featuresList['Age'] = featuresList["Age"][1]
        else:
            CacheContorl.featuresList['Age'] = featuresList["Age"][2]
        PyCmd.clr_cmd()
        CacheContorl.temporaryObject[
            'Features'] = CacheContorl.featuresList.copy()
        playerAgeTemName = AttrCalculation.getAgeTemList()[1]
        playerAge = AttrCalculation.getAge(playerAgeTemName)
        playerTem = TextLoading.getTextData(TextLoading.temId,
                                            'TemList')[playerSex]
        playerHeigt = AttrCalculation.getHeight(playerTem, playerAge)
        playerWeight = AttrCalculation.getWeight('Ordinary',
                                                 playerHeigt['NowHeight'])
        playerMeasurements = AttrCalculation.getMeasurements(
            playerTem, playerHeigt['NowHeight'], 'Ordinary')
        CacheContorl.temporaryObject['Age'] = playerAge
        CacheContorl.temporaryObject['Height'] = playerHeigt
        CacheContorl.temporaryObject['Weight'] = playerWeight
        CacheContorl.temporaryObject['Measurements'] = playerMeasurements
        detailedSetting_func2()
Example #3
0
def seeScene_func(judge):
    inputS = []
    InScenePanel.seeScenePanel()
    if judge == '0':
        inputS = inputS + InScenePanel.seeScenePlayerListPanel()
    else:
        pass
    sceneId = CacheContorl.playObject['object']['0']['Position']
    scenePlayerNameList = MapHandle.getScenePlayerNameList(sceneId)
    if len(scenePlayerNameList) == 1:
        CacheContorl.playObject['objectId'] = '0'
    else:
        pass
    InScenePanel.seeObjectInfoPanel()
    inSceneCmdList1 = InScenePanel.inSceneButtonPanel()
    inputS = inputS + inSceneCmdList1
    startId1 = len(inSceneCmdList1)
    yrn = GameInit.askfor_All(inputS)
    PyCmd.clr_cmd()
    if yrn in scenePlayerNameList:
        CacheContorl.playObject[
            'objectId'] = MapHandle.getPlayerIdByPlayerName(yrn, sceneId)
        seeScene_func(judge)
    elif yrn == '0':
        import Flow.SeeMap as seemap
        seemap.seeMapFlow()
    elif yrn == '1':
        SeePlayerAttr.seeAttrOnEveryTime_func('InScenePanel')
    elif yrn == '2':
        CacheContorl.playObject['objectId'] = '0'
        SeePlayerAttr.seeAttrOnEveryTime_func('InScenePanel')
Example #4
0
def askForMainFrame(ansList):
    playerId = CacheContorl.playObject['objectId']
    playerData = AttrHandle.getAttrData(playerId)
    playerName = playerData['Name']
    ans = GameInit.askfor_All(ansList)
    PyCmd.clr_cmd()
    if ans == playerName:
        mainFrameSeeAttrPanel()
    elif ans == '0':
        InScene.getInScene_func()
    elif ans == '1':
        SeePlayerList.seePlayerList_func('MainFramePanel')
    elif ans == '2':
        ChangeClothes.changePlayerClothes(playerId)
    elif ans == '3':
        Shop.shopMainFrame_func()
    elif ans == '4':
        GameSetting.changeGameSetting_func()
    elif ans == '5':
        pass
    elif ans == '6':
        SaveHandleFrame.establishSave_func('MainFramePanel')
    elif ans == '7':
        SaveHandleFrame.loadSave_func('MainFramePanel')
        pass
Example #5
0
def acknowledgmentAttributeAns(inputList):
    playerId = CacheContorl.playObject['objectId']
    yrn = GameInit.askfor_All(inputList)
    showAttrHandleData = TextLoading.getTextData(TextLoading.cmdId,'seeAttrPanelHandle')
    PyCmd.clr_cmd()
    if yrn in panelList:
        PanelStateHandle.panelStateChange(yrn)
        acknowledgmentAttribute_func()
    elif yrn == '0':
        GameTime.initTime()
        AttrCalculation.setAttrOver(playerId)
        CharacterHandle.initCharacterList()
        SeePlayerAttrPanel.initShowAttrPanelList()
        playerPosition = CacheContorl.playObject['object'][playerId]['Position']
        MapHandle.playerMoveScene('0', playerPosition, playerId)
        import script.Flow.Main as mainframe
        mainframe.mainFrame_func()
    elif yrn == '1':
        CacheContorl.wframeMouse['wFrameRePrint'] = 1
        EraPrint.pnextscreen()
        SeePlayerAttrPanel.initShowAttrPanelList()
        import Design.StartFlow as mainflow
        mainflow.main_func()
    elif yrn in showAttrHandleData:
        index = showAttrHandleData.index(yrn)
        index = str(index)
        CacheContorl.panelState['AttrShowHandlePanel'] = index
        acknowledgmentAttribute_func()
Example #6
0
def detailedSetting_func6():
    flowReturn = CreatorPlayerPanel.detailedSetting6Panel()
    selfConfidenceList = featuresList['SelfConfidence']
    CacheContorl.featuresList['SelfConfidence'] = selfConfidenceList[
        flowReturn]
    CacheContorl.temporaryObject['Features'] = CacheContorl.featuresList.copy()
    PyCmd.clr_cmd()
    detailedSetting_func7()
Example #7
0
def attributeGenerationBranchPanel():
    playerId = CacheContorl.playObject['objectId']
    AttrCalculation.setAttrDefault(playerId)
    PyCmd.clr_cmd()
    EraPrint.pline()
    EraPrint.pl(TextLoading.getTextData(TextLoading.messageId, '9'))
    yrn = CmdButtonQueue.optionint(CmdButtonQueue.currencymenu, 1)
    return yrn
Example #8
0
def seeAttrOnEveryTime_func(oldPanel,tooOldFlow = None):
    objectId = CacheContorl.playObject['objectId']
    if oldPanel == 'InScenePanel':
        sceneId = CacheContorl.playObject['object']['0']['Position']
        objectIdList = MapHandle.getScenePlayerIdList(sceneId)
    else:
        objectIdList = ValueHandle.dictKeysToList(CacheContorl.playObject['object'])
    objectIdIndex = objectIdList.index(objectId)
    inputS = []
    seeAttrList = seeAttrInEveryTime_func()
    inputS = inputS + seeAttrList
    askSeeAttr = SeePlayerAttrPanel.askForSeeAttr()
    inputS = inputS + askSeeAttr
    yrn = GameInit.askfor_All(inputS)
    PyCmd.clr_cmd()
    showAttrHandleData = TextLoading.getTextData(TextLoading.cmdId, 'seeAttrPanelHandle')
    objectMax = objectIdList[len(objectIdList) - 1]
    if yrn in showAttrHandleData:
        index = showAttrHandleData.index(yrn)
        index = str(index)
        CacheContorl.panelState['AttrShowHandlePanel'] = index
        seeAttrOnEveryTime_func(oldPanel,tooOldFlow)
    elif yrn in panelList:
        PanelStateHandle.panelStateChange(yrn)
        seeAttrOnEveryTime_func(oldPanel,tooOldFlow)
    elif yrn == '0':
        if objectIdIndex == 0:
            CacheContorl.playObject['objectId'] = objectMax
            seeAttrOnEveryTime_func(oldPanel,tooOldFlow)
        else:
            playerId = objectIdList[objectIdIndex - 1]
            CacheContorl.playObject['objectId'] = playerId
            seeAttrOnEveryTime_func(oldPanel,tooOldFlow)
    elif yrn == '1':
        if oldPanel == 'MainFramePanel':
            import Flow.Main as mainframe
            SeePlayerAttrPanel.initShowAttrPanelList()
            CacheContorl.playObject['objectId'] = '0'
            mainframe.mainFrame_func()
        elif oldPanel == 'SeePlayerListPanel':
            SeePlayerAttrPanel.initShowAttrPanelList()
            import Flow.SeePlayerList as seeplayerlist
            seeplayerlist.seePlayerList_func(tooOldFlow)
        elif oldPanel == 'InScenePanel':
            SeePlayerAttrPanel.initShowAttrPanelList()
            import Flow.InScene as inscene
            CacheContorl.playObject['objectId'] = '0'
            inscene.getInScene_func()
    elif yrn == '2':
        if objectId == objectMax:
            objectId = objectIdList[0]
            CacheContorl.playObject['objectId'] = objectId
            seeAttrOnEveryTime_func(oldPanel,tooOldFlow)
        else:
            objectId = objectIdList[objectIdIndex  + 1]
            CacheContorl.playObject['objectId'] = objectId
            seeAttrOnEveryTime_func(oldPanel,tooOldFlow)
    pass
Example #9
0
def inputSelfNamePanel():
    playerId = CacheContorl.playObject['objectId']
    PyCmd.clr_cmd()
    CacheContorl.playObject['object'][
        playerId] = CacheContorl.temporaryObject.copy()
    EraPrint.pline()
    EraPrint.pl(TextLoading.getTextData(TextLoading.messageId, '14'))
    yrn = CmdButtonQueue.optionint(CmdButtonQueue.inputselfname, 1)
    EraPrint.p('\n')
    return yrn
Example #10
0
def confirmationOverlaySave_func(oldPanel, saveId):
    cmdList = SaveHandleFramePanel.confirmationOverlaySavePanel()
    yrn = GameInit.askfor_All(cmdList)
    PyCmd.clr_cmd()
    if yrn == '0':
        SaveHandle.establishSave(saveId)
        establishSave_func(oldPanel)
    else:
        establishSave_func(oldPanel)
    pass
Example #11
0
def detailedSetting_func2():
    ansList = TextLoading.getTextData(TextLoading.cmdId, 'detailedSetting2')
    flowReturn = CreatorPlayerPanel.detailedSetting2Panel()
    if flowReturn == ansList[len(ansList) - 1]:
        PyCmd.clr_cmd()
        detailedSetting_func3()
    else:
        PyCmd.clr_cmd()
        AttrCalculation.setAnimalCache(flowReturn)
        detailedSetting_func3()
Example #12
0
def confirmationLoadSave_func(oldPanel, saveId):
    cmdList = SaveHandleFramePanel.confirmationLoadSavePanel()
    yrn = GameInit.askfor_All(cmdList)
    PyCmd.clr_cmd()
    if yrn == '0':
        SaveHandle.inputLoadSave(saveId)
        import script.Flow.Main as mainframe
        mainframe.mainFrame_func()
    else:
        loadSave_func(oldPanel)
    pass
Example #13
0
def askForLoadSave_func(oldPanel, saveId):
    cmdList = SaveHandleFramePanel.askLoadSavePanel()
    yrn = GameInit.askfor_All(cmdList)
    PyCmd.clr_cmd()
    if yrn == '0':
        confirmationLoadSave_func(oldPanel, saveId)
    elif yrn == '1':
        confirmationRemoveSave_func(saveId, 'LoadSavePanel', oldPanel)
    elif yrn == '2':
        loadSave_func(oldPanel)
    pass
Example #14
0
def detailedSetting_func5():
    flowReturn = CreatorPlayerPanel.detailedSetting5Panel()
    dispositionList = featuresList['Disposition']
    if flowReturn == 0:
        CacheContorl.featuresList['Disposition'] = dispositionList[0]
    elif flowReturn == 1:
        pass
    elif flowReturn == 2:
        CacheContorl.featuresList['Disposition'] = dispositionList[1]
    CacheContorl.temporaryObject['Features'] = CacheContorl.featuresList.copy()
    PyCmd.clr_cmd()
    detailedSetting_func6()
Example #15
0
def detailedSettind_func4():
    flowReturn = CreatorPlayerPanel.detailedSetting4Panel()
    courageList = featuresList['Courage']
    if flowReturn == 0:
        CacheContorl.featuresList['Courage'] = courageList[0]
    elif flowReturn == 1:
        pass
    elif flowReturn == 2:
        CacheContorl.featuresList['Courage'] = courageList[1]
    CacheContorl.temporaryObject['Features'] = CacheContorl.featuresList.copy()
    PyCmd.clr_cmd()
    detailedSetting_func5()
Example #16
0
def askForOverlaySave_func(oldPanel, saveId):
    cmdList = SaveHandleFramePanel.askForOverlaySavePanel()
    yrn = GameInit.askfor_All(cmdList)
    yrn = str(yrn)
    PyCmd.clr_cmd()
    if yrn == '0':
        confirmationOverlaySave_func(oldPanel, saveId)
    elif yrn == '1':
        confirmationRemoveSave_func(saveId, 'EstablishSavePanel', oldPanel)
    elif yrn == '2':
        establishSave_func(oldPanel)
    pass
Example #17
0
def confirmationRemoveSave_func(saveId, oldPanel, tooOldPanel):
    cmdList = SaveHandleFramePanel.confirmationRemoveSavePanel()
    yrn = GameInit.askfor_All(cmdList)
    if yrn == '0':
        SaveHandle.removeSave(saveId)
    else:
        pass
    PyCmd.clr_cmd()
    if oldPanel == 'LoadSavePanel':
        loadSave_func(tooOldPanel)
    elif oldPanel == 'EstablishSavePanel':
        establishSave_func(tooOldPanel)
    pass
Example #18
0
def detailedSetting_func3():
    flowReturn = CreatorPlayerPanel.detailedSetting3Panel()
    sexTemDataList = ValueHandle.dictKeysToList(
        TextLoading.getTextData(TextLoading.temId, 'SexExperience'))
    sexTemDataList = ValueHandle.reverseArrayList(sexTemDataList)
    sexTemName = sexTemDataList[flowReturn]
    if flowReturn != len(sexTemDataList) - 1:
        CacheContorl.featuresList['Chastity'] = ''
    else:
        pass
    playerSexExperienceData = AttrCalculation.getSexExperience(sexTemName)
    CacheContorl.temporaryObject['SexExperience'] = playerSexExperienceData
    CacheContorl.temporaryObject['SexGrade'] = AttrCalculation.getSexGrade(
        playerSexExperienceData)
    PyCmd.clr_cmd()
    detailedSettind_func4()
Example #19
0
def establishSave_func(oldPanel):
    inputS = []
    savePage = savePageIndex()
    showSaveValue = savePage[0]
    lastSavePageValue = savePage[1]
    SaveHandleFramePanel.establishSaveInfoHeadPanel()
    flowReturn = SaveHandleFramePanel.seeSaveListPanel(showSaveValue,
                                                       lastSavePageValue)
    inputS = inputS + flowReturn
    startId = len(inputS)
    flowReturn = SaveHandleFramePanel.askForChangeSavePagePanel(startId)
    inputS = inputS + flowReturn
    yrn = GameInit.askfor_Int(inputS)
    PyCmd.clr_cmd()
    if yrn == str(startId):
        savePanelPage = int(CacheContorl.panelState['SeeSaveListPanel'])
        if savePanelPage == 0:
            CacheContorl.panelState[
                'SeeSaveListPanel'] = CacheContorl.maxSavePage
        else:
            CacheContorl.panelState['SeeSaveListPanel'] = savePanelPage - 1
        establishSave_func(oldPanel)
    elif yrn == str(startId + 1):
        if oldPanel == 'MainFramePanel':
            CacheContorl.panelState['SeeSaveListPanel'] = 0
            import script.Flow.Main as mainframe
            mainframe.mainFrame_func()
            pass
        else:
            pass
    elif yrn == str(startId + 2):
        savePanelPage = int(CacheContorl.panelState['SeeSaveListPanel'])
        if savePanelPage == CacheContorl.maxSavePage:
            CacheContorl.panelState['SeeSaveListPanel'] = 0
        else:
            CacheContorl.panelState['SeeSaveListPanel'] = savePanelPage + 1
        establishSave_func(oldPanel)
    else:
        ansReturn = int(yrn)
        saveId = SaveHandle.getSavePageSaveId(showSaveValue, ansReturn)
        if SaveHandle.judgeSaveFileExist(saveId) == '1':
            askForOverlaySave_func(oldPanel, saveId)
        else:
            SaveHandle.establishSave(saveId)
            establishSave_func(oldPanel)
    pass
Example #20
0
def loadSave_func(oldPanel):
    inputS = []
    savePage = savePageIndex()
    showSaveValue = savePage[0]
    lastSavePageValue = savePage[1]
    SaveHandleFramePanel.loadSaveInfoHeadPanel()
    flowReturn = SaveHandleFramePanel.seeSaveListPanel(showSaveValue,
                                                       lastSavePageValue, True)
    inputS = inputS + flowReturn
    startId = len(inputS)
    flowReturn = SaveHandleFramePanel.askForChangeSavePagePanel(startId)
    inputS = inputS + flowReturn
    yrn = GameInit.askfor_Int(inputS)
    PyCmd.clr_cmd()
    if yrn == str(startId):
        savePanelPage = int(CacheContorl.panelState['SeeSaveListPanel'])
        if savePanelPage == 0:
            CacheContorl.panelState[
                'SeeSaveListPanel'] = CacheContorl.maxSavePage
        else:
            CacheContorl.panelState['SeeSaveListPanel'] = savePanelPage - 1
        loadSave_func(oldPanel)
    elif yrn == str(startId + 1):
        if oldPanel == 'MainFlowPanel':
            CacheContorl.wframeMouse['wFrameRePrint'] = 1
            CacheContorl.panelState['SeeSaveListPanel'] = 0
            import Design.StartFlow as mainflow
            mainflow.main_func()
        elif oldPanel == 'MainFramePanel':
            CacheContorl.panelState['SeeSaveListPanel'] = 0
            import script.Flow.Main as mainframe
            mainframe.mainFrame_func()
            pass
    elif yrn == str(startId + 2):
        savePanelPage = int(CacheContorl.panelState['SeeSaveListPanel'])
        if savePanelPage == CacheContorl.maxSavePage:
            CacheContorl.panelState['SeeSaveListPanel'] = 0
        else:
            CacheContorl.panelState['SeeSaveListPanel'] = savePanelPage + 1
        loadSave_func(oldPanel)
    else:
        ansReturn = int(yrn)
        saveId = SaveHandle.getSavePageSaveId(showSaveValue, ansReturn)
        askForLoadSave_func(oldPanel, saveId)
    pass
Example #21
0
def seePlayerList_func(oldPanel):
    maxPage = getPlayerListPageMax()
    inputS = []
    seePlayerListPanelInput = SeePlayerListPanel.seePlayerListPanel(maxPage)
    startId = len(seePlayerListPanelInput)
    inputS = inputS + seePlayerListPanelInput
    askForSeePlayerListPanelInput = SeePlayerListPanel.askForSeePlayerListPanel(
        startId)
    inputS = inputS + askForSeePlayerListPanelInput
    yrn = GameInit.askfor_All(inputS)
    yrn = str(yrn)
    playerIdList = CharacterHandle.getCharacterIdList()
    PyCmd.clr_cmd()
    pageId = int(CacheContorl.panelState['SeePlayerListPanel'])
    if yrn in playerIdList:
        import script.Flow.SeePlayerAttr as seeplayerattr
        CacheContorl.playObject['objectId'] = yrn
        seeplayerattr.seeAttrOnEveryTime_func('SeePlayerListPanel', oldPanel)
    elif yrn == str(startId):
        if pageId == 0:
            CacheContorl.panelState['SeePlayerListPanel'] = str(maxPage)
            seePlayerList_func(oldPanel)
        else:
            pageId = str(pageId - 1)
            CacheContorl.panelState['SeePlayerListPanel'] = pageId
            seePlayerList_func(oldPanel)
    elif yrn == str(startId + 1):
        if oldPanel == 'MainFramePanel':
            import script.Flow.Main as mainframe
            CacheContorl.playObject['objectId'] = '0'
            mainframe.mainFrame_func()
        else:
            pass
    elif yrn == str(startId + 2):
        if pageId == maxPage:
            CacheContorl.panelState['SeePlayerListPanel'] = '0'
            seePlayerList_func(oldPanel)
        else:
            pageId = str(pageId + 1)
            CacheContorl.panelState['SeePlayerListPanel'] = pageId
            seePlayerList_func(oldPanel)
    pass
Example #22
0
def inputNickName_func():
    flowReturn = CreatorPlayerPanel.inputNickNamePanel()
    if flowReturn == 0:
        PyCmd.clr_cmd()
        inputSelfName_func()
    elif flowReturn == 1:
        PyCmd.clr_cmd()
        CreatorPlayerPanel.startInputNickNamePanel()
        PyCmd.clr_cmd()
        inputNickName_func()
    elif flowReturn == 2:
        PyCmd.clr_cmd()
        CacheContorl.temporaryObject[
            'NickName'] = CacheContorl.temporaryObject['Name']
        inputNickName_func()
    elif flowReturn == 3:
        EraPrint.p('\n')
        PyCmd.clr_cmd()
        inputName_func()
    pass
Example #23
0
def inputSelfName_func():
    flowReturn = CreatorPlayerPanel.inputSelfNamePanel()
    if flowReturn == 0:
        PyCmd.clr_cmd()
        inputSexConfirm_func()
    elif flowReturn == 1:
        PyCmd.clr_cmd()
        CreatorPlayerPanel.startInputSelfName()
        PyCmd.clr_cmd()
        inputSelfName_func()
    elif flowReturn == 2:
        EraPrint.p('\n')
        PyCmd.clr_cmd()
        inputNickName_func()
    pass
Example #24
0
def attributeGenerationBranch_func():
    flowReturn = CreatorPlayerPanel.attributeGenerationBranchPanel()
    if flowReturn == 0:
        PyCmd.clr_cmd()
        detailedSetting_func1()
    elif flowReturn == 1:
        PyCmd.clr_cmd()
        SeePlayerAttr.acknowledgmentAttribute_func()
    elif flowReturn == 2:
        PyCmd.clr_cmd()
        inputSexConfirm_func()
Example #25
0
def inputName_func():
    CacheContorl.playObject['objectId'] = playerId
    flowReturn = CreatorPlayerPanel.inputNamePanel()
    if flowReturn == 0:
        PyCmd.clr_cmd()
        inputNickName_func()
    elif flowReturn == 1:
        PyCmd.clr_cmd()
        CreatorPlayerPanel.startInputNamePanel()
        PyCmd.clr_cmd()
        inputName_func()
    elif flowReturn == 2:
        CacheContorl.wframeMouse['wFrameRePrint'] = 1
        EraPrint.pnextscreen()
        import Design.StartFlow as mainflow
        mainflow.main_func()
    pass
Example #26
0
def inputSexConfirm_func():
    flowReturn = CreatorPlayerPanel.inputSexPanel()
    sexId = CacheContorl.playObject['object'][playerId]['Sex']
    if flowReturn == 0:
        AttrCalculation.setSexCache(sexId)
        if sexId == TextLoading.getTextData(TextLoading.roleId, 'Sex')[2]:
            CacheContorl.temporaryObject['Features'][
                'Sex'] = TextLoading.getTextData(TextLoading.roleId,
                                                 'Features')['Sex'][0]
        elif sexId == TextLoading.getTextData(TextLoading.roleId, 'Sex')[3]:
            CacheContorl.temporaryObject['Features'][
                'Sex'] = TextLoading.getTextData(TextLoading.roleId,
                                                 'Features')['Sex'][1]
        PyCmd.clr_cmd()
        attributeGenerationBranch_func()
    elif flowReturn == 1:
        PyCmd.clr_cmd()
        inputSexChoice_func()
    elif flowReturn == 2:
        PyCmd.clr_cmd()
        inputNickName_func()
    pass
Example #27
0
def inputSexChoice_func():
    sex = TextLoading.getTextData(TextLoading.roleId, 'Sex')
    sexMax = len(sex)
    flowReturn = CreatorPlayerPanel.inputSexChoicePanel()
    if flowReturn in range(0, sexMax):
        sexAtr = sex[flowReturn]
        CacheContorl.temporaryObject['Sex'] = sexAtr
        CacheContorl.playObject['object'][
            playerId] = CacheContorl.temporaryObject.copy()
        PyCmd.clr_cmd()
        inputSexConfirm_func()
    elif flowReturn == 4:
        rand = random.randint(0, len(sex) - 1)
        sexAtr = sex[rand]
        CacheContorl.temporaryObject['Sex'] = sexAtr
        CacheContorl.playObject['object'][
            playerId] = CacheContorl.temporaryObject.copy()
        PyCmd.clr_cmd()
        inputSexConfirm_func()
    elif flowReturn == 5:
        EraPrint.p('\n')
        PyCmd.clr_cmd()
        inputSexConfirm_func()
Example #28
0
def loadgame_func():
    PyCmd.clr_cmd()
    SaveHandleFrame.loadSave_func('MainFlowPanel')
    pass
Example #29
0
def newgame_func():
    PyCmd.clr_cmd()
    CacheContorl.temporaryObject = CacheContorl.temporaryObjectBak.copy()
    CreatorPlayer.inputName_func()
    pass