Project Zomboid

Project Zomboid

Not enough ratings
Enable Reset Lua Button
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
88.153 KB
25 May @ 6:51am
11 Jun @ 5:15am
4 Change Notes ( view )

Subscribe to download
Enable Reset Lua Button

Description
This mod enables the "Reset Lua" button on the main screen without using debug mode. The "Reset Lua" button allows to reload Lua files.

Although you can force to reset Lua when switching active mods, the "Reset Lua" Button on the main screen may be more convenient, for example, when subscribing to a mod without closing Project Zomboid.

It works in build 41 and build 42. It must be activated in the "Mods" section of the main screen. Whether it's active or not in a saved game won't affect anything.

Mod Compatibility:
This mod should not have incompatibilities with other mods, but if you found any, please let me know.




ESPAÑOL:

Este mod habilita el botón "Reset Lua" en la pantalla principal sin usar el modo de depuración. Dicho botón permite forzar la recarga de archivos Lua.

Aunque se puede forzar recargar Lua cuando se cambian los mods activos, resulta más cómodo poder usar el botón "Reset Lua", por ejemplo, al suscribirse o actualizar la suscripción a un mod sin haber cerrado Project Zomboid.

Funciona en build 41 y build 42. Debe activarse en el apartado "Mods" de la pantalla principal. Si está activo o no en una partida guardada no afectará a nada.

Compatibilidad del mod:
Este mod no debería tener ninguna incompatibilidad con otros mods, pero si encuentras alguna, por favor, házmelo saber.

Workshop ID: 3487511907
Mod ID: EnableResetLuaButton
16 Comments
Spades86 13 Jun @ 9:24pm 
@Afyrmo added you on steam to talk about this mod, I have some code stuff to share to improve it. Cheers, thank you for making this.
Afyrmo  [author] 12 Jun @ 3:05am 
@RunYouCleverBoy, the mod was updated recently. The previous version didn't show the button if the pz version was updated, to avoid issues in the main screen. But with the new version it's less likely to have issues. Try resuscribing and let me know if the problem persists.
RunYouCleverBoy 11 Jun @ 8:46pm 
for last version i cant see button in left bottom corner
(no mods except EnableResetLuaButton)
TwisTonFire 11 Jun @ 6:48am 
you are welcome!
Afyrmo  [author] 11 Jun @ 5:19am 
@TwisTonFire, I uploaded a new version based on that patch. Thank you!
TwisTonFire 10 Jun @ 2:32pm 
https://pastebin.com/2uKLdL8e
here you go - patch version for the reset lua button.
Build 42 - but you can convert it easily for Build 41.
TwisTonFire 10 Jun @ 2:22pm 
Afyrmo here the patch version, you can use it for your workshop mod:

{LINK REMOVED}

Kind regards!
gamberomadness 10 Jun @ 9:46am 
Heyy 'sup
last update kinda broke, would not load to start menu
disabling it solves the issue

https://pastebin.com/nAHAqVhR
Afyrmo  [author] 8 Jun @ 5:43am 
@TwisTonFire, I uploaded a new version for disabling the mod function when pz updates to avoid compatibility issues. But I couldn't find out a way to modify the main menu without overwriting the vanilla function for the main menu. It would be great if you could tell me how ;)
TwisTonFire 7 Jun @ 8:17am 
With the next patch, your mod will break the main menu. I’ve created a patch version for myself, which is a better solution than overwriting the entire main menu Lua file—especially for future updates.
Kind regards!