Browse Source

SQUASH: feat(pkuxkx/map/path): 路径管理器

prompt 区域中指向同区域房间的路径只显示房间名,节省屏幕空间
dzp 1 year ago
parent
commit
788db70728
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mud/pkuxkx/plugins/basic/map/path.tin

+ 1 - 1
mud/pkuxkx/plugins/basic/map/path.tin

@@ -282,7 +282,7 @@ event.HandleOnce {map/init} {map/path} {map} {map.path.Init};
     #local count {@slist.Size{$path}};
     #if { $count > 0 } {
         #local path {@fp.Transform{{$path};\@str.Replace{VALUE;{%*-%*};{&2}}}};
-        #local path {@fp.Transform{{$path};\@mslp.Exec{{path.Walk ${here}-VALUE};<139>VALUE<299>}} };
+        #local path {@fp.Transform{{$path};\@mslp.Exec{{path.Walk ${here}-VALUE};<139>\@str.Replace{VALUE;{$area的};{}}<299>}} };
         path.hint $path;
     };
     #else {