tModLoader

tModLoader

[READ DESC] No Breaking Doors
46 Comments
ProstoNekit 29 Mar @ 2:34pm 
also for some reason it *does* work for me
ProstoNekit 29 Mar @ 2:34pm 
awesome mod, thank you :D
Someone 12 Mar @ 3:01am 
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  [author] 26 Aug, 2024 @ 5:51pm 
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 26 Aug, 2024 @ 4:34pm 
Is there no more solution for the mod?
professional clown 16 Jul, 2024 @ 10:40am 
ah, i see.
Snek  [author] 16 Jul, 2024 @ 9:44am 
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 16 Jul, 2024 @ 9:25am 
@Snek, but why? what would happen?
Snek  [author] 16 Jul, 2024 @ 8:01am 
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 16 Jul, 2024 @ 12:25am 
is it still not working yet?
baco12sd 17 Jan, 2024 @ 9:51am 
just place a singular dirt block blocking the door then this mod is useless
professional clown 23 Dec, 2023 @ 11:44pm 
your mod suddenly broke, fix it pls.
kennyalwaysdies1 22 Nov, 2023 @ 6:23pm 
@zapper this was before the description was updated, you moron.
zapper 21 Nov, 2023 @ 9:37pm 
@cs7 : Read the description genius
Snek  [author] 18 Nov, 2023 @ 10:38am 
@Noxim @cs7
I can only assume that this is because of a tModLoader bug: https://github.com/tModLoader/tModLoader/issues/3878
With just this mod and Dragon Lens: The mod works fully when entering the world: 20 Peons and 20 Butchers just slam into the door, and open it if I disable the config option. Then they can mysteriously break down the door a few minutes later.
I can't do much about this. I might be able to rewrite the system to change AI values instead of using IL edits, but I'd need to find time to annotate the fighter AI to make sure I'm not breaking anything else.
kennyalwaysdies1 17 Nov, 2023 @ 9:57pm 
mod doesn't even work...
Noxim 15 Nov, 2023 @ 3:20am 
update: it looks like regular zombies can still open doors even when the "stop opening doors" config is set to on
Noxim 15 Nov, 2023 @ 2:38am 
does this work for mobs other than goblin peons?
Entaden;D 26 Oct, 2023 @ 9:33pm 
I'm so happy that i can just think "man this sucks" and go to the workshop and find like three different mods that deal with it. mods are awesome.:steamthumbsup:
Snek  [author] 1 Oct, 2023 @ 12:11pm 
@ColdPizza @CreaonTC🏳️‍🌈 This should be fixed now.
Futhorka🏳️‍🌈 10 Sep, 2023 @ 4:21am 
Doesnt work fro some reason
Snek  [author] 9 Sep, 2023 @ 8:45am 
By default, no -- it just makes Goblin Peons open doors instead of breaking them. However, you can change this in the config to prevent enemies from opening doors at all.
bidiguilo 8 Sep, 2023 @ 8:53am 
does this work for zombies opening doors in blood moons?
ColdPizza 30 Aug, 2023 @ 6:21am 
the bard guys from Thorium
Snek  [author] 27 Aug, 2023 @ 11:55am 
All changes this mod makes target vanilla Fighter AI. If there's a modded enemy that breaks doors without using vanilla Fighter AI, this mod doesn't affect it.
What modded goblins are you talking about?
ColdPizza 27 Aug, 2023 @ 10:58am 
doesn't seem like it works with modded goblins.
Snek  [author] 7 Aug, 2023 @ 5:25am 
Ported to 1.4.4.
Jay 7 Aug, 2023 @ 3:26am 
1.4.4 plss :steambored:
Skudzy 6 Aug, 2023 @ 11:57pm 
Snek pleeeeeeease :D
Hoping you'll update this bad boy soon.
Juicy America 6 Aug, 2023 @ 10:46pm 
Will this mod be updated to 1.4.4? asking for a friend
Tye-Wynd 1 Aug, 2023 @ 2:45pm 
is there a version that just makes them open the door
Snek  [author] 30 Jul, 2023 @ 4:40am 
Not that I’m aware of.
test 30 Jul, 2023 @ 12:40am 
any hard incompatibilities
SuperColin2011 24 Jul, 2023 @ 2:03pm 
MICHAEL, DON'T LEAVE ME HERE
skibidicum 7 Jul, 2023 @ 7:06am 
How do i download it
Egg #SaveTF2 14 Jun, 2023 @ 12:29pm 
*Goblin trying to break down door* *insert monke trying to open door meme*
HUMAN 14 Jun, 2023 @ 8:18am 
Goblins From Goblin invasion: Open The Noor. Open The Noor. Open The Noor!
KTG 2 Jun, 2023 @ 8:30am 
You know it's very tiring to rebuild or craft new doors. Because we become lazy or busy with progression. This mod saves me from wasting my time. 10/10
Y75 the Scamber 26 May, 2023 @ 10:26am 
God I've waited for this to be updated, thank you!
The US Doctor 25 May, 2023 @ 10:54am 
reminds me of that one invasion Waffletime suffered through XD
pan_jan 25 May, 2023 @ 9:54am 
doesnt work
g0ldyosh 20 May, 2023 @ 10:33pm 
OMG finally it's on 1.4, thank you so much. This should've been ported sooner.
Kefrosc 20 May, 2023 @ 9:13am 
thank you so much holy
professional clown 19 May, 2023 @ 9:40pm 
finally.
This user has no known aliases 18 May, 2023 @ 12:52am 
LETS .FKCIJNGSFDGSG. GOO!
Altus 17 May, 2023 @ 5:07pm 
Instant favorite. Nice!