chore(pack): make config files opt-in and ship a PetProtect default

.packwizignore ignored config/ and defaultconfigs/ wholesale. They are now
ignored per-entry (config/*) with deliberately authored files re-included at
the bottom of the file, so one config can ship without any risk of pulling
every runtime-generated config into the index - which matters because this
repo doubles as a server directory.

Ships config/petprotect.json disabling BOTH pet damage and death protection.
PetProtect's isInvulnerableTo mixin gates on prevent_pet_damage alone, so
disabling prevent_pet_death by itself leaves pets invulnerable to nearly all
damage and Pet Cemetery's death -> collar -> respawn loop still never fires.
prevent_pet_attack remains true, so pets are not provoked into fights.

Without this file the two mods cancel each other: PetProtect's defaults keep
pets immortal, so Pet Cemetery is dead weight.

The config installs on clients as well as the server; that is harmless since
petprotect itself is side = "server", but packwiz has no per-file side flag
for non-metafile entries.
This commit is contained in:
logan committed 2026-10-06 18:27:42 -04:00
1 parent e371e51856
commit 387ee1ef9b
4 files changed
+27 -5

No files matched your search

+5 -1
View File
@@ -1,5 +1,9 @@
hash-format = "sha256"
[[files]]
file = "config/petprotect.json"
hash = "de9aefb0a05ee60c880c4c3d51e06d00f1a63b50b686ea740a70979323854637"
[[files]]
file = "mods/3dskinlayers.pw.toml"
hash = "b3b67f83faf9dcc4985b7a13fa8affb71062461d271f80cc0958652df9f3126b"
@@ -712,7 +716,7 @@ metafile = true
[[files]]
file = "mods/petprotect.pw.toml"
hash = "09a0d9dbcec314df123a10cd560d70126365c0f15c9316376035f7f773aa7703"
hash = "97363bf59db02a5975f62231de661903ae9d8f0f9a1562825c38ad195d07ed80"
metafile = true
[[files]]