コード例 #1
0
ファイル: zoneTemplateForm.py プロジェクト: taishan90/mud
def _editZoneName(clientId, zoneTemplateForm):
    getOneLine(
        clientId, lambda clientId, text: _editZoneNameCallback(
            clientId, zoneTemplateForm, text))
    pushPrompt(
        clientId, lambda clientId: endl + "{!{FU<input new name for {FY%s{FU>"
        % zoneTemplateForm.zoneTemplate.name)
コード例 #2
0
ファイル: mobTemplateForm.py プロジェクト: taishan90/mud
def _editMobShortName(clientId, mobTemplateForm):
    getOneLine(
        clientId, lambda clientId, text: _editMobShortNameCallback(
            clientId, mobTemplateForm, text))
    pushPrompt(
        clientId,
        lambda clientId: endl + "{!{FU<input new short name for {FY%s{FU>" %
        mobTemplateForm.mobTemplate.sname)
コード例 #3
0
ファイル: zoneTemplateForm.py プロジェクト: ryanberckmans/mud
def _editZoneName( clientId, zoneTemplateForm ):
    getOneLine( clientId, lambda clientId, text: _editZoneNameCallback( clientId, zoneTemplateForm, text ) )
    pushPrompt( clientId, lambda clientId: endl + "{!{FU<input new name for {FY%s{FU>" % zoneTemplateForm.zoneTemplate.name )
コード例 #4
0
ファイル: mobTemplateForm.py プロジェクト: ryanberckmans/mud
def _editMobShortName(clientId, mobTemplateForm):
    getOneLine(clientId, lambda clientId, text: _editMobShortNameCallback(clientId, mobTemplateForm, text))
    pushPrompt(
        clientId, lambda clientId: endl + "{!{FU<input new short name for {FY%s{FU>" % mobTemplateForm.mobTemplate.sname
    )
コード例 #5
0
def cmdText(clientId, remaining):
    getOneLine(clientId, textCallback)
    pushPrompt(clientId, lambda x: textPrompt)
コード例 #6
0
ファイル: text.py プロジェクト: ryanberckmans/mud
def cmdText( clientId, remaining ):
    getOneLine( clientId, textCallback )
    pushPrompt( clientId, lambda x: textPrompt )