Spongie's Open Jackets - B42.19 Fix (Discontinued)
О материале
«Spongie's Open Jackets - B42.19 Fix (Discontinued)» — материал мастерской Project Zomboid. Карты, транспорт, оружие и моды для выживания. Данные Steam, описание автора и ссылка для установки через подписку. Совместимость редакцией не проверена.
Описание автора
Fixes the console error spam and broken open-jacket layering from Spongie's Open Jackets on Project Zomboid Build 42.19.0.
Spongie's Open Jackets ships a body-location tweaker (SpongieCopy_BodyLocationsTweaker.lua) that removes the "this layer hides that layer" relationships so an open jacket reveals the sweater/shirt underneath. To reach those relationships it used the Lua reflection helpers getClassField / getClassFieldVal.
In 42.19.0 those helpers now throw "Not in debug" unless the game is launched with -debug, so the tweaker fails on load and spams:
-
expected 2 arguments, got 1 / Not in debug
-
attempted index: unhideModel of non-table: null
This patch overrides that single tweaker file with a reflection-free version. Instead of poking private fields, it snapshots the Human body-location group on OnGameBoot and rebuilds it without the hide relationships the mod wanted removed - so the open-jacket look works again and the errors are gone. Everything other clothing mods add to the group is preserved.
Requires Spongie's Open Jackets. Enable this patch AFTER Spongie's Open Jackets in the mod list. Safe to add to existing saves.
Workshop ID: 3749319024 Mod ID: SpongieOpenJacketsB42Fix
Как установить и запустить
Откройте оригинальную страницу в Steam Workshop, проверьте версию игры, зависимости и порядок загрузки в описании автора. Нажмите «Подписаться» и дождитесь загрузки Steam. Включите материал в меню модификаций или контента игры, если это требуется. Совместимость и запуск редакцией не проверены.