Complete own-item attribute lock selection and tooltip flow

This commit is contained in:
shen
2026-10-18 16:28:16 -07:00
parent 5decc93798
commit 95f1c30be2
13 changed files with 342 additions and 4 deletions
@@ -0,0 +1,18 @@
quest attr_lock begin
state start begin
when 50348.use or 50349.use begin
local uid = item.get_id()
say_title("属性锁定")
say("选择要锁定或解锁的普通属性序号。")
say("选好后,将这张符拖到未穿戴的装备上。")
say("锁定需要五条普通属性,最多锁定两组。")
local choice = select("第1条属性", "第2条属性", "第3条属性", "第4条属性", "第5条属性", "取消")
if choice == 6 then return end
if item.select_attr_lock(choice, uid) then
syschat("属性序号已保存,请将符拖到对应装备上。")
else
syschat("材料或角色状态已变化,请重新使用。")
end
end
end
end