Project Zomboid

Project Zomboid

Mobile Reader
24 comentarii
避胜客 7 dec. 2024 la 1:56 
随时随地阅读或打开地图!行走吗?酷。开车?哦,是的。再也没有法律了。这是世界末日!

[ ko-fi.com ]

车间编号:2872643350
Mod ID: MobileReader
Burryaga  [autor] 24 nov. 2024 la 12:56 
It's conceivable that someone could make you start reading again after you open your map, but the act of opening it in this game is a Timed Action, and reading is also a Timed Action, and you can only do one Timed Action at a time.
Zero Enna 24 nov. 2024 la 11:34 
I gotcha lol I just hate being stuck on the floor reading and unable to start planning my days with the map at the same time lol. Thanks for the quick reply and great mod by the way.
Burryaga  [autor] 24 nov. 2024 la 11:20 
I see that I have used ambiguous language above. No one has ever interpreted it as you did, but I can see why you interpreted it that way. I did not mean to imply that you can read while opening a map; I only meant to say that you can open a map while walking. Viewing the map is a form of reading, Not all read-while-walking mods let you open your map while your character is in motion, because it is a fundamentally different function of the game, and handled differently than other forms of reading, so I am only emphasizing that you can do that form of reading while you walk, too (specifically while opening it). Of course, once the map is open, the game no longer takes movement input, so ordinary movement after it's open is not supported by this mod, but this mod stops minor movement during the opening of the map from cancelling the map-opening function (which always annoyed me personally).
Zero Enna 24 nov. 2024 la 10:15 
How do you use your map while reading? Every time I try, it stops reading the book.
Burryaga  [autor] 31 oct. 2024 la 12:43 
Sorry, you cannot. However, the mod is easily patchable if you want to make an expansion.
dbzloverjam 30 oct. 2024 la 16:56 
can you pretty a hotkey to read automatically like with read while walking?
Burryaga  [autor] 27 febr. 2024 la 11:57 
Also, fwiw, True Music Jukebox is like the culmination of all the time I've spent modding this game, so you'll probably find better best Zomboid practices there than any of my early mods.
Burryaga  [autor] 27 febr. 2024 la 11:42 
Well thank you kindly for taking the time to tell me! Regardless of whether it worked, I like to keep my code clean, and that was most definitely unclean! ❤️
frelling 27 febr. 2024 la 8:57 
@Burryaga I came across this by chance. Having inspected @toomanynights Dig Worms mod and mentioning his code well-implemented, he praised you for assisting him. Curiosity pushed me to see what type of mods you created.

A while back I had added a feature similar to Cat's Reading into a personal mod pack. I would have subscribed to Cat's Reading if it was not for its implementation. To re-declare an entire object verbatim, simply to change a few values was just bad code. That made me curious about Mobile Reader's implementation.

Needless to say, I found it well-implemented, except for that "hidden" bug. That's Lua for you; it let's you do anything and mostly get away with it :)
Burryaga  [autor] 27 febr. 2024 la 3:05 
Well, I fixed it frelling. Still no idea how that never threw an error and worked.

FYI to whom it may concern: Last patch I made MR a local module because it really has no need to be global. If you actually reference it for some reason in one of your mods, you still can; you'll just need to add

local MR = require("MobileReader")

at the top of your file.
Burryaga  [autor] 27 febr. 2024 la 2:35 
WOW! Can't believe this mod has been so popular and worked so well for so long without this ever throwing an error or being noticed by someone else!

Thank you, frelling. I'll push the fix sometime today.
frelling 26 febr. 2024 la 18:43 
On line 21, the call MR.originalReadABook() is missing 'self' as the first argument. This returns a funky object having 'character' as its metatable, 'o.character' is the passed 'item', and 'o.item' is the passed 'time'. Fortunately, the 'time' argument is never referenced, otherwise an exception would have been thrown given that it is 'nil'. Even so, I am surprised that something upstream does not raise an issue.
Burryaga  [autor] 22 dec. 2023 la 11:32 
Recently helped upgrade True Music Jukebox with full support for multiplayer and improved menus. I'm thinking everyone who knows my mods will appreciate this one, so I decided it warrants a bit of comment spam. Hope y'all enjoy.
Burryaga  [autor] 28 mai 2023 la 4:19 
(Yes, Escape works on keyboard, B works on gamepad, and sprinting works on both if you have the stamina!)
diamond booger 27 mai 2023 la 21:06 
I realized I can press ESC to interrupt the action lol woops, thanks for the mod
diamond booger 27 mai 2023 la 21:04 
so how do you interrupt the reading? i've been using the melee shove but is there another way?
Paracelsus 22 febr. 2023 la 19:42 
very cool.
Burryaga  [autor] 7 ian. 2023 la 15:26 
@FreshPeanutz Yep!
FreshPeanutz 7 ian. 2023 la 9:08 
does it work in MP? Not dedicated server just coop with friends.
Burryaga  [autor] 2 ian. 2023 la 5:02 
@Monkey, @Smoker, @草 Glad y'all are enjoying the mod! Thanks for being among the first to try it.
Monkey Magic 27 nov. 2022 la 22:41 
There are a bunch of these popping up, this one doesn't require additional mod tools though, so yeah. Does exactly what it says on the tin!
Smoker 22 oct. 2022 la 16:08 
It works! Thanks!
10 oct. 2022 la 0:57 
you can read while drive? sounds interesting TY