Project Zomboid

Project Zomboid

26 个评价
Enable Reset Lua Button
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
88.153 KB
5 月 25 日 上午 6:51
6 月 11 日 上午 5:15
4 项改动说明 ( 查看 )

订阅以下载
Enable Reset Lua Button

描述
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
19 条留言
Stefan 10 月 21 日 上午 7:39 
i was on b42, subscribed to it, im using another lua reload mod now
Afyrmo  [作者] 10 月 21 日 上午 6:39 
Hi, @John Helldiver A few quick checks:
- Make sure you’re subscribed to the mod on Steam Workshop. If you subscribed while PZ was open, restart the game (and Steam if needed) so it downloads.
- On the title screen (main screen) go to MODS and enable "Enable Reset Lua Button" there — enabling it per-save has no effect.
- In the Mods list, search for the exact name: Enable Reset Lua Button.
- Supported on Build 41–42. If you’re on an older beta branch, switch back to 41/42.
- If it still doesn’t appear, verify your game files: Steam Library → right-click Project Zomboid → Properties → Installed Files → Verify integrity of game files.
If it still doesn’t show, please share your OS, exact build number, and your console.txt from the Zomboid folder so I can take a look.
Stefan 10 月 21 日 上午 5:57 
cant see button, also not even popping up in mod list
Spades86 6 月 13 日 下午 9:24 
@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  [作者] 6 月 12 日 上午 3:05 
@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 6 月 11 日 下午 8:46 
for last version i cant see button in left bottom corner
(no mods except EnableResetLuaButton)
TwisTonFire 6 月 11 日 上午 6:48 
you are welcome!
Afyrmo  [作者] 6 月 11 日 上午 5:19 
@TwisTonFire, I uploaded a new version based on that patch. Thank you!
TwisTonFire 6 月 10 日 下午 2:32 
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 6 月 10 日 下午 2:22 
Afyrmo here the patch version, you can use it for your workshop mod:

{链接已删除}

Kind regards!