跳至內容

「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

次編輯