예제 #1
0
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
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
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
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 )