diff --git a/src/actions/GmAction.lua b/src/actions/GmAction.lua index 34064c8..ab5fd77 100644 --- a/src/actions/GmAction.lua +++ b/src/actions/GmAction.lua @@ -502,6 +502,11 @@ function _M.guide(role, pms) end end end + for _, data in pairs(csvdb["guide_unlockCsv"]) do + if data.type == 0 or data.type == 3 then + str = str:setv(data.id,1) + end + end role:updateProperty({field = "funcGuide", value = str}) role:mylog("gm_action", {desc = "sguide", key1 = pms.sender}) -- libgit2 0.21.2