tModLoader

tModLoader

126 个评价
[READ DESC] No Breaking Doors
   
奖励
收藏
已收藏
取消收藏
模组功能: 游戏调整
tModLoader版本: 1.4.3, 1.4.4
语言: 英语
文件大小
发表于
更新日期
58.051 KB
2023 年 5 月 17 日 上午 5:59
2023 年 10 月 1 日 下午 12:08
3 项改动说明 ( 查看 )

订阅以下载
[READ DESC] No Breaking Doors

描述
This mod currently doesn't work, at least not for long. I'm 99% sure it's because of a tModLoader bug[github.com], which I'm not smart enough to know how to fix. I'll try and work around the bug, but it might take a while. Thank you for your patience.

A simple mod that prevents Goblin Peons from breaking down doors. Also has a config option to prevent other enemies from opening your doors and Tall Gates.
引用自 tModLoader
Developed By Snek
46 条留言
ProstoNekit 3 月 29 日 下午 2:34 
also for some reason it *does* work for me
ProstoNekit 3 月 29 日 下午 2:34 
awesome mod, thank you :D
Someone 3 月 12 日 上午 3:01 
Seeing as this is broken in tML, I tried to port it into a TShock plugin I was making to stop mob griefing (plugins can use detours & IL edits the same as tML mods). It works fine there from my testing, and I didn't see it suddenly stop working over time.

You saved me hours of frustration trying to figure out how to stop Goblin Peons from griefing doors... I hope it was okay for me to reuse your mod's code. I don't like to claim things I didn't make as mine, even if they're for private use.
Snek  [作者] 2024 年 8 月 26 日 下午 5:51 
The underlying issue still isn't fixed, and as far as I can remember, the current implementation is the only one that would work 100% of the time. Any other ideas I had either wouldn't stop Peons from breaking doors or would mess with AI in unwanted ways.
AcroFox 2024 年 8 月 26 日 下午 4:34 
Is there no more solution for the mod?
professional clown 2024 年 7 月 16 日 上午 10:40 
ah, i see.
Snek  [作者] 2024 年 7 月 16 日 上午 9:44 
As far as I'm aware, what happens is exactly what's already happening on the current version of the mod: The changes get randomly undone while playing, potentially before you even get into the world. I don't know the specifics of *why* it happens other than that the method being edited is massive.
professional clown 2024 年 7 月 16 日 上午 9:25 
@Snek, but why? what would happen?
Snek  [作者] 2024 年 7 月 16 日 上午 8:01 
Nope. Turns out the exact method this mod changes (Terraria.NPC:AI_003_Fighters()) is one of the few that's unsafe to edit :).
https://github.com/tModLoader/tModLoader/issues/3878#issuecomment-2138478931
exodus 2024 年 7 月 16 日 上午 12:25 
is it still not working yet?