PePePePePeil Posted October 1, 2022 Share Posted October 1, 2022 I would like to make a mod (Lua) to check if a map is read or not. Could you please add the following method so that we can check the status of the map on the Lua side? zombie.worldMap.WorldMapVisited#isKnownInCell zombie.worldMap.WorldMapVisited#isKnownInSquare Link to comment Share on other sites More sharing options...
Tchernobill Posted October 1, 2022 Share Posted October 1, 2022 (edited) You probably already can do that: hook ISReadABook:perform() use self.character:getAlreadyReadBook() array and self.item:getFullType() At worse, make a static table of all Maps item to link maps items and the fact a zone is known. But we can probably identify them from category / display category or some Java types or whatever. Edited October 1, 2022 by Tchernobill PePePePePeil 1 Link to comment Share on other sites More sharing options...
PePePePePeil Posted October 2, 2022 Author Share Posted October 2, 2022 @Tchernobill Thank you very much. I checked "character:getAlreadyReadBook" and unfortunately the map is included in this list and the content. Also, I am still hoping to determine from the map information whether the map has been read or not, since it is common in the saved data. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now