跳转到内容

Module:StorySim:修订间差异

添加103字节 、​ 2023年12月22日 (星期五)
修复ilot思考时不变名字的问题
无编辑摘要
SSF讨论 | 贡献
(修复ilot思考时不变名字的问题)
第64行: 第64行:
    ['Dialogue'] = {-- Dialogue
    ['Dialogue'] = {-- Dialogue
      WriteLine = function(self,txt,name)
      WriteLine = function(self,txt,name)
       local isThinking = false;
       if name=='' then isThinking = true;name='ilot';end
        local n = self.curNode:tag('tr');
        local n = self.curNode:tag('tr');


第78行: 第80行:


        self.curCNode = n:tag('td'):wikitext(txt);
        self.curCNode = n:tag('td'):wikitext(txt);
        if name=='' then self.curCNode:addClass('thinking');end
        if isThinking then self.curCNode:addClass('thinking');end
        return self;
        return self;
      end;
      end;
WikiBuilder
321

个编辑