Skip to content

Commit

Permalink
SQUASH: feat(pkuxkx): 为房间物品 ID 添加自动完成
Browse files Browse the repository at this point in the history
  • Loading branch information
dzpao committed Nov 20, 2023
1 parent cd4d77f commit cf57ab6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions mud/pkuxkx/plugins/basic/map/tab.tin
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,16 @@ event.HandleOnce {map/init} {map/tab} {map} {map.tab-completion.init};

#foreach {*gMapRoom[objs][]} {idx} {
#local obj {$gMapRoom[objs][$idx]};
#tab $obj[id];
#if { "$obj[id]" != "" } {
#tab $obj[id];
};
};

#local item {};
#foreach {$gMapRoom[items]} {item} {
#tab $item;
#if { "$item" != "" } {
#tab $item;
};
};

#class map.tab-completion close;
Expand Down

0 comments on commit cf57ab6

Please sign in to comment.