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)
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)
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 )
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 )
def cmdText(clientId, remaining): getOneLine(clientId, textCallback) pushPrompt(clientId, lambda x: textPrompt)
def cmdText( clientId, remaining ): getOneLine( clientId, textCallback ) pushPrompt( clientId, lambda x: textPrompt )