- 好友
- 0
- 在线时间
- 9 小时
- 最后登录
- 2023-5-14
扈从
- UID
- 2898778
- 第纳尔
- 493
- 精华
- 0
- 互助
- 4
- 荣誉
- 0
- 贡献
- 0
- 魅力
- 5
- 注册时间
- 2017-11-25
鲜花( 5) 鸡蛋( 0)
|
[anyone,"repair_requested_item_1", [
(troop_get_inventory_slot,":item_repair","trp_player",10),
(gt,":item_repair",-1),
(troop_get_inventory_slot_modifier,":item_modifier","trp_player",10),
(item_get_type,":item_repair_type",":item_repair"),
(is_between,":item_repair_type",itp_type_one_handed_wpn,itp_type_goods),#weapon
(is_between,"$g_talk_troop",weapon_merchants_begin,weapon_merchants_end),
(this_or_next|eq,":item_modifier",imodbit_crude),
(this_or_next|eq,":item_modifier",imodbit_cracked),
(this_or_next|eq,":item_modifier",imodbit_rusty),
(this_or_next|eq,":item_modifier",imodbit_bent),
(this_or_next|eq,":item_modifier",imodbit_battered),
(eq,":item_modifier",imodbit_chipped),#can be repaired
(str_store_item_name,s3,":item_repair"),
(call_script,"script_get_item_repaired_time_and_money",":item_repair",":item_modifier"),
],
"Let me see, your {s3} will require {reg0} denar and it will take {reg1} day.", "merchant_repair",[]],
|
|