def mouseCheckPush(event): PyCmd.focusCmd() if CacheContorl.wframeMouse['mouseLeaveCmd'] == 0: MainFrame.send_input() CacheContorl.wframeMouse['mouseLeaveCmd'] = 1 else: pass
def seePlayerListPanel(maxPage): titleText = TextLoading.getTextData(TextLoading.stageWordId, '74') EraPrint.plt(titleText) inputS = [] pageId = int(CacheContorl.panelState['SeePlayerListPanel']) pageShow = int(GameConfig.playerlist_show) maxPage = int(maxPage) playerMax = CharacterHandle.getCharacterIndexMax() if pageId == maxPage: showPageStart = pageShow * (pageId) showPageOver = showPageStart + (playerMax - showPageStart) else: showPageOver = pageShow * pageId showPageStart = showPageOver - pageShow for i in range(showPageStart, showPageOver + 1): playerId = str(i) cmdId = i - showPageStart cmdIdText = CmdButtonQueue.idIndex(cmdId) cmdText = AttrText.getPlayerAbbreviationsInfo(playerId) cmdIdTextIndex = TextHandle.getTextIndex(cmdIdText) windowWidth = int(GameConfig.text_width) textWidth = windowWidth - cmdIdTextIndex cmdText = TextHandle.align(cmdText, 'center', textWidth=textWidth) cmdText = cmdIdText + ' ' + cmdText cmdId = str(cmdId) EraPrint.plittleline() PyCmd.pcmd(cmdText, cmdId, None) inputS.append(cmdId) EraPrint.p('\n') pageText = '(' + str(pageId) + '/' + str(maxPage) + ')' EraPrint.printPageLine(sample='-', string=pageText) EraPrint.p('\n') return inputS
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()
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()
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
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()
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')
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()
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
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
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
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()
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
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
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
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()
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()
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
def seePlayerItemPanel(playerId): EraPrint.plittleline() EraPrint.p(TextLoading.getTextData(TextLoading.stageWordId, '38')) panelState = CacheContorl.panelState['PlayerItemPanel'] if panelState == "0": PyCmd.pcmd(panelStateOffText, 'PlayerItemPanel') EraPrint.p('\n') return 'PlayerItemPanel' else: PyCmd.pcmd(panelStateOnText, 'PlayerItemPanel') EraPrint.p('\n') return 'PlayerItemPanel' pass
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
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()
def seePlayerEngravingPanel(playerId): EraPrint.plittleline() EraPrint.p(TextLoading.getTextData(TextLoading.stageWordId, '7')) panelState = CacheContorl.panelState['PlayerEngravingPanel'] if panelState == "0": PyCmd.pcmd(panelStateOffText, 'PlayerEngravingPanel') EraPrint.p('\n') playerData = AttrHandle.getAttrData(playerId) playerEngraving = playerData['Engraving'] playerEngravingText = AttrText.getEngravingText(playerEngraving) EraPrint.plist(playerEngravingText, 3, 'center') return 'PlayerEngravingPanel' else: PyCmd.pcmd(panelStateOnText, 'PlayerEngravingPanel') EraPrint.p('\n') return 'PlayerEngravingPanel'
def gameMainPanel(): EraPrint.pline() EraPrint.pl(TextHandle.align(GameConfig.game_name, 'center')) EraPrint.pl(TextHandle.align(GameConfig.author, 'right')) EraPrint.pl(TextHandle.align(GameConfig.verson, 'right')) EraPrint.pl(TextHandle.align(GameConfig.verson_time, 'right')) EraPrint.p('\n') EraPrint.pline() EraPrint.lcp(1 / 3, TextLoading.getTextData(TextLoading.messageId, '2')) time.sleep(1) EraPrint.p('\n') EraPrint.pline() time.sleep(1) PyCmd.focusCmd() menuInt = CmdButtonQueue.optionint(CmdButtonQueue.logomenu) return menuInt
def seePlayerFeaturesPanel(playerId): EraPrint.plittleline() EraPrint.p(TextLoading.getTextData(TextLoading.stageWordId, '6')) panelState = CacheContorl.panelState['PlayerFeaturesPanel'] if panelState == "0": PyCmd.pcmd(panelStateOffText, 'PlayerFeaturesPanel') EraPrint.p('\n') playerData = AttrHandle.getAttrData(playerId) playerFeatures = playerData['Features'] playerFeaturesStr = AttrText.getFeaturesStr(playerFeatures) EraPrint.p(playerFeaturesStr) return 'PlayerFeaturesPanel' else: PyCmd.pcmd(panelStateOnText, 'PlayerFeaturesPanel') EraPrint.p('\n') return 'PlayerFeaturesPanel' pass
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
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
def seePlayerExperiencePanel(playerId): EraPrint.plittleline() EraPrint.p(TextLoading.getTextData(TextLoading.stageWordId, '18')) panelState = CacheContorl.panelState['PlayerExperiencePanel'] if panelState == "0": PyCmd.pcmd(panelStateOffText, 'PlayerExperiencePanel') playerData = AttrHandle.getAttrData(playerId) EraPrint.p('\n') playerSexExperienceList = playerData['SexExperience'] playerSex = CacheContorl.playObject['object'][playerId]['Sex'] playerSexTextList = AttrText.getSexExperienceText( playerSexExperienceList, playerSex) EraPrint.plist(playerSexTextList, 4, 'center') return 'PlayerExperiencePanel' else: PyCmd.pcmd(panelStateOnText, 'PlayerExperiencePanel') EraPrint.p('\n') return 'PlayerExperiencePanel'
def seeScenePlayerListPanel(): inputS = [] sceneData = CacheContorl.sceneData.copy() seePlayerText = TextLoading.getTextData(TextLoading.messageId, '26') EraPrint.p(seePlayerText) EraPrint.p('\n') sceneId = CacheContorl.playObject['object']['0']['Position'] scenePlayerList = sceneData['ScenePlayerData'][sceneId] for playerId in scenePlayerList: if playerId == '0': pass else: playerName = CacheContorl.playObject['object'][str( playerId)]['Name'] PyCmd.pcmd(playerName, playerName, None) inputS.append(playerName) EraPrint.p(' ') EraPrint.plittleline() return inputS
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
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