Project Zomboid

Project Zomboid

Survivors 2 in 1【B41.65~】
Neko 21 Mar, 2022 @ 11:26am
ISBarricadeAction.lua
Hey OP,

As I have mentioned in the comment section I wanted to ellaborate a little bit on what I exactly did. Surprisingly all I had to do to fix the barricading issue was delete the file ISBarricadeAction.lua lol...

I knew that file was causing the issue because it kept coming up in the error logs for me and when I double checked with https://www.diffchecker.com using the vanilla version of that file I found out that the code seemed to do nothing the mod really needs? Like there was no new code included or changed that even touched the npc system.

Here you can view the exact differences: https://www.diffchecker.com/Jka1IsbY

In general nothing of the changed code looks like it even touches the npc behaviour or the whole system in general so those changes seem unneccessary?

Could it be possible, that the file is outdated and copied from an older PZ version? Because even some base items got declared the wrong way. For example it should be "Base.Nails" instead of just "Nail"..

I'm not too sure about it so maybe you could ellaborate on why exactly the code was changed and what it does. For me the issue was solved by simply deleting the file.

By the way, I don't believe anymore that this is an mod conflict as I checked all my mods and none of them touches this file so there can be no conflict here... I really think its just outdated and unneccessary code used