【tintin++】长安男爵任务辅助
#class nanjue open;#var j_pattern {深色鞋子;浅色鞋子;深色衣服;浅色衣服;流浪汉;布衣;丝绸衣服;夹袄;靴子;布鞋;凉鞋;猴子;有点胖;有点发胖;偏瘦;竹竿;个子不太高;微微发福;高个子;矮个子;女;男;花白;白发苍苍;半只脚埋入棺材;老大不小;中年;青年;非常年轻;年轻人}
#var j_name {};
#var j_finded {};
#var j_gender 0;
#var j_height 0;
#var j_shape 0;
#var j_age 0;
#var j_says 0;
#var j_find 0;
#var f_color 0;
#var j_gg 0;
#var shoes_color 0;
#var cloth_color 0;
#var shoes_type 0;
#var cloth_type 0;
#var c_color 0;
#var s_color 0;
#var luren_list {};
#var luren_counter 1;
#list dark_color create 30 31 34 35;
#list light_color create 32 33 36 37;
#list silk_cloth create 丝织长衫 丝绸短襦 绸袍 丝织儒衫 轻罗纱 旗袍;
#list cloth_cloth create 坎肩 圆领衫 灰布衫 灰马褂 百褶裙 蓝马褂 短打劲装 天蓝锦袍;
#list ao_cloth create 鹤氅 长袄 棉袄 狼皮袄 短袄 比甲;
#list xue_shoes create 牛皮短靴 马靴 女式短靴 女式长靴 薄底快靴 七星剑靴;
#list cloth_shoes create 绣花鞋 锦鞋 凤鞋 布鞋 麻鞋 千层底布鞋;
#list liang_shoes create 木屐 草鞋 破鞋;
#action {你向%1问道:这位%2,不知最近有没有听说什么消息?\n%3说道:「%4」} {
#var j_name %1;
#if {"%2"=="公公"} {#showme <cfa>他是公公!;#var j_gg 1};
#var j_says %4;
#foreach $j_pattern j_find {
#regexp $j_says $j_find {
#showme <cfa>find $j_find;
#var j_finded $j_find
};
};
};
#action {LV%1\n%2\n%3{他|她}看起来约%5,} {
#showme %5;
#var j_age %5;
}
#action {这是一{个|位}%1的行人。} {
#switch {"%1"} {
#case {"身材异常魁梧高大"} {#var j_gender 女;#var j_height 高;#var j_shape 胖};
#case {"娇小玲珑"} {#var j_gender 女;#var j_height 矮;#var j_shape 瘦};
#case {"身材丰满矮小"} {#var j_gender 女;#var j_height 矮;#var j_shape 胖};
#case {"丰胸细腰,身材苗条挺拔"} {#var j_gender 女;#var j_height 高;#var j_shape 瘦};
#case {"宛如一根竹竿"} {#var j_gender 男;#var j_height 高;#var j_shape 瘦};
#case {"矮小粗胖"} {#var j_gender 男;#var j_height 矮;#var j_shape 胖};
#case {"高大魁梧"} {#var j_gender 男;#var j_height 高;#var j_shape 胖};
#case {"矮小灵活"} {#var j_gender 男;#var j_height 矮;#var j_shape 瘦};
};
#showme $j_gender,$j_height,$j_shape;
#if {"$j_gg"=="1"} {#var j_gender 公公;#var j_gg 0};
#nop #var $j_name {$j_name $j_gender $j_height $j_shape $j_age} ;
}
#action {~身穿一件\e[%1m%2\e[2;37;0m(%3\e[2;37;0m)} {
#showme %1 %2 %3;
#var c_color %1;
#replace c_color {1\\;} {};
#replace c_color {2\\;} {};
#showme <cfa>c_color:$c_color;
#if {@find_pt{light_color;$c_color}} {#showme <cfa>是浅色衣服;#var cloth_color 浅色衣服};
#else {#showme <cfa>是深色衣服;#var cloth_color 深色衣服};
#if {@find_pt{silk_cloth;%2}} {#showme <cfa>是丝绸衣服;#var cloth_type 丝绸衣服};
#if {@find_pt{cloth_cloth;%2}} {#showme <cfa>是布衣;#var cloth_type 布衣};
#if {@find_pt{ao_cloth;%2}} {#showme <cfa>是夹袄;#var cloth_type 夹袄};
#nop #var c_color {};
}
#action {~脚蹬一双\e[%1m%2\e[2;37;0m(%3\e[2;37;0m)} {
#showme %1 %2 %3;
#var s_color %1;
#replace s_color {1\\;} {};
#replace s_color {2\\;} {};
#showme <cfa>s_color:$s_color;
#if {@find_pt{light_color;$s_color}} {#showme <cfa>是浅色鞋子;#var shoes_color 浅色鞋子};
#else {#showme <cfa>是深色鞋子;#var shoes_color 深色鞋子};
#if {@find_pt{xue_shoes;%2}} {#showme <cfa>是靴子;#var shoes_type 靴子};
#if {@find_pt{cloth_shoes;%2}} {#showme <cfa>是布鞋;#var shoes_type 布鞋};
#if {@find_pt{liang_shoes;%2}} {#showme <cfa>是凉鞋;#var shoes_type 凉鞋};
#nop #var s_color {};
#var luren_list[$luren_counter] {$j_name $j_gender $j_height $j_shape $j_age $cloth_color $cloth_type $shoes_color $shoes_type :: $j_finded};
#math luren_counter $luren_counter+1;
#delay 0.5 {
#showme $j_name $j_gender $j_height $j_shape $j_age $cloth_color $cloth_type $shoes_color $shoes_type :: $j_finded;
#var j_finded {};
};
}
#nop #foreach $j_pattern j_find {#regexp $j_says $j_find {#showme <cfa>find $j_find}};
#function find_pt {#list %1 find %2 result};
#alias ttf {testify luren %1};
#alias lingshang {ask shaoyin about 领赏;#var luren_counter 1;#var luren_list {}};
#alias rcl {record cancel};
#alias rcd {record 1_%1};
#alias asks {ask shaoyin about 任务信息};
#alias ask1 {ask luren 1 about 消息;l luren 1;};
#alias ask2 {ask luren 2 about 消息;l luren 2;};
#alias ask3 {ask luren 3 about 消息;l luren 3;};
#alias ask4 {ask luren 4 about 消息;l luren 4;};
#alias ask5 {ask luren 5 about 消息;l luren 5;};
#alias ask6 {ask luren 6 about 消息;l luren 6;};
#alias askt {ask shaoyin about 通行令};
#alias jifen {ask shaoyin about 积分};
#alias showluren {#var luren_list};
#class nanjue close;苦逼少林人没声望,本着能自己搞定就尽量不求人的原则弄了个辅助,用法是接任务,把所有路人问一遍看一遍后showluren就能显示获取到的信息,然后就能愉快的开始推理了
关于什么是男爵任务以及如何领取奖励见https://www.pkuxkx.com/wiki/task/cajwrw
页:
[1]