Skip to content

Commit

Permalink
SQUASH: refactor(xtintin): API 重命名,将 xtt.SendAtOnce 改为 xtt.SendBatch
Browse files Browse the repository at this point in the history
  • Loading branch information
dzpao committed Jan 24, 2024
1 parent 431ad73 commit 83efebe
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions mud/pkuxkx/plugins/quest/tang.tin
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ load-lib speedo;
#foreach {困难;挑战;普通;简单} {level} {
#if { "${tang-job-list[$level]}" != "" } {
#var {tang-job-log[任务难度]} {$level};
xtt.Send record ${tang-job-list[$level][1][ID]};
xtt.Send {record $tang-job-list[$level][1][ID]};
#list {tang-job-list[$level]} delete {1};
#return;
};
Expand Down Expand Up @@ -123,7 +123,7 @@ load-lib speedo;
ask jingzhao shaoyin about 任务信息;
};
#else {
xtt.Send record $id;
xtt.Send {record $id};
};
};

Expand Down Expand Up @@ -157,7 +157,7 @@ load-lib speedo;
#if { ${tang-inquiry-exit-index} != 0 } {
#local back {@dir.Reverse{${tang-inquiry-exits[${tang-inquiry-exit-index}]}}};
#echo 回去吧。;
xtt.Send $back;
xtt.Send {$back};
};
#math tang-inquiry-exit-index {${tang-inquiry-exit-index} + 1};
#local exit {${tang-inquiry-exits[${tang-inquiry-exit-index}]}};
Expand All @@ -168,7 +168,7 @@ load-lib speedo;
};
#else {
#echo 下一个出口;
xtt.Send $exit;
xtt.Send {$exit};
#delay 1 {tang.look 1; tang.ask 1};
};
};
Expand Down Expand Up @@ -234,7 +234,7 @@ load-lib speedo;
#class tang.look close;

look luren $id;
xtt.Send response R:look-end;
xtt.Send {response R:look-end};
};

#alias {tang.ask} {
Expand Down

0 comments on commit 83efebe

Please sign in to comment.