Skip to content

Commit

Permalink
SQUASH: feat(ui/walk): 用小键盘走路
Browse files Browse the repository at this point in the history
  • Loading branch information
dzpao committed Apr 19, 2024
1 parent 8128ed8 commit ec99635
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion mud/pkuxkx/plugins/shortcut.tin
Original file line number Diff line number Diff line change
Expand Up @@ -280,21 +280,29 @@ VAR 服务器重启时间 gServerRebootTime {0};
#alias {get-all} {
#local idc {};
#local idx {};
#local nop {1};
#foreach {*gMapRoom[objs][]} {idx} {
#local id {$gMapRoom[objs][$idx][id]};
math.Inc idc[$id];
#if { "$id" == "{corpse|skeleton}" } {
get gold from $id $idc[$id];
get silver from $id $idc[$id];
get gem from $id $idc[$id];
#local nop {0};
};
#elseif { "$id" == "{cash|gold|silver}" } {
get $id;
#local nop {0};
};
#elseif { "$id" == "({tian|ze|huo|lei|feng|shui|shan|di} {jin|mu|bing|jing|sui|ri|yue|gu|yu|jiao|jia})" } {
#elseif { "$id" == "{tian|ze|huo|lei|feng|shui|shan|di} {jin|mu|bing|jing|sui|ri|yue|gu|yu|jiao|jia}" } {
get $id;
#local nop {0};
};
};

#if { $nop } {
warnLog 没发现什么值钱的东西。;
};
};

VAR {要寻找的 NPC 的特征,表格} {gFocusNPC} {};
Expand All @@ -313,6 +321,7 @@ VAR {要寻找的 NPC 的特征,表格} {gFocusNPC} {};
};

#if { "$gFocusNPC" != "" && "$obj" == "" } {
warnLog 你想要杀谁?;
#return;
};

Expand Down

0 comments on commit ec99635

Please sign in to comment.